udbp (4)
Leading comments
Copyright (c) 1999 Nick Hibma <n_hibma@FreeBSD.org>. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the...
NAME
udbp - USB Double Bulk Pipe driverSYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file:device udbp
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf5:
udbp_load="YES"
DESCRIPTION
The driver provides support for host-to-host cables that contain at least two bulk pipes (one for each direction), for example the EzLink cable and the NetChip 1080 chip.It requires netgraph(4) to be available. This can be done either by adding options NETGRAPH to your kernel configuration file, or alternatively loading netgraph(4) as a module, either from /boot/loader.conf or from the command line, before the module.
EXAMPLES
options NETGRAPH
device udbp
Add the driver to the kernel.
kldload netgraph
kldload udbp
Load the netgraph(4) module and then the driver.
ngctl mkpeer udbp0: iface data inet
ifconfig ng0 10.0.0.1 10.0.0.2
Create a new network interface node and connect its inet hook to the data hook of the node. ifconfig(8) configures the resulting network interface ng0 with a local IP address of 10.0.0.1 and a remote IP address of 10.0.0.2. On the remote host, the two IP addresses should of course be reversed.
SEE ALSO
netgraph(4), ng_iface4, ohci(4), uhci(4), usb(4), ngctl(8)HISTORY
The driver first appeared in Fx 5.0 .AUTHORS
An -nosplit The driver was written by An Doug Ambrisko Aq ambrisko@whistle.com , An Julian Elischer Aq julian@FreeBSD.org and An Nick Hibma Aq n_hibma@FreeBSD.org .This manual page was written by An Nick Hibma Aq n_hibma@FreeBSD.org .