Deleted Added
full compact
udbp.c (243857) udbp.c (246128)
1/*-
2 * Copyright (c) 1996-2000 Whistle Communications, Inc.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 * POSSIBILITY OF SUCH DAMAGE.
28 *
29 */
30
31#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1996-2000 Whistle Communications, Inc.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 * POSSIBILITY OF SUCH DAMAGE.
28 *
29 */
30
31#include <sys/cdefs.h>
32__FBSDID("$FreeBSD: head/sys/dev/usb/misc/udbp.c 243857 2012-12-04 09:32:43Z glebius $");
32__FBSDID("$FreeBSD: head/sys/dev/usb/misc/udbp.c 246128 2013-01-30 18:01:20Z sbz $");
33
34/* Driver for arbitrary double bulk pipe devices.
35 * The driver assumes that there will be the same driver on the other side.
36 *
37 * XXX Some more information on what the framing of the IP packets looks like.
38 *
39 * To take full advantage of bulk transmission, packets should be chosen
40 * between 1k and 5k in size (1k to make sure the sending side starts

--- 202 unchanged lines hidden (view full) ---

243
244static devclass_t udbp_devclass;
245
246static device_method_t udbp_methods[] = {
247 /* Device interface */
248 DEVMETHOD(device_probe, udbp_probe),
249 DEVMETHOD(device_attach, udbp_attach),
250 DEVMETHOD(device_detach, udbp_detach),
33
34/* Driver for arbitrary double bulk pipe devices.
35 * The driver assumes that there will be the same driver on the other side.
36 *
37 * XXX Some more information on what the framing of the IP packets looks like.
38 *
39 * To take full advantage of bulk transmission, packets should be chosen
40 * between 1k and 5k in size (1k to make sure the sending side starts

--- 202 unchanged lines hidden (view full) ---

243
244static devclass_t udbp_devclass;
245
246static device_method_t udbp_methods[] = {
247 /* Device interface */
248 DEVMETHOD(device_probe, udbp_probe),
249 DEVMETHOD(device_attach, udbp_attach),
250 DEVMETHOD(device_detach, udbp_detach),
251 {0, 0}
251
252 DEVMETHOD_END
252};
253
254static driver_t udbp_driver = {
255 .name = "udbp",
256 .methods = udbp_methods,
257 .size = sizeof(struct udbp_softc),
258};
259

--- 598 unchanged lines hidden ---
253};
254
255static driver_t udbp_driver = {
256 .name = "udbp",
257 .methods = udbp_methods,
258 .size = sizeof(struct udbp_softc),
259};
260

--- 598 unchanged lines hidden ---