Commit Graph

8 Commits

Author SHA1 Message Date
cube
3624455eba Split device_t and softc for all USB device drivers, and related cosmetic
changes.

Matthias Drochner kindly reviewed this patch, and tested ums, ubt, uaudio
and ral.  I tested umass myself.
2008-05-24 16:40:58 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
cegger
395c8c3fd3 use aprint_*_dev and device_xname 2008-04-05 16:35:35 +00:00
dyoung
0b1dce29ae Use device_t and its accessor functions.
Register _childdetached methods with drivers that attach children.
Wait to set child references to NULL there, instead of doing that
in the detach method.

Replace many uses of USB_DECLARE_DRIVER() with CFATTACH_DECL2().
2008-02-18 05:24:24 +00:00
plunky
ed67784932 remove #include <usbhid.h> as its not needed 2007-10-25 19:32:15 +00:00
nathanw
2b39a52d95 Set portno in ucom_attach_args, to UCOM_UNK_PORTNO. The port number is
unused in this driver's callbacks, so this is an aesthetic rather than
functional change ("ucom0 at uslsa0" rather than "ucom0 at uslsa0
portno -848524548").
2007-06-13 17:14:25 +00:00
xtraeme
a092715e1b Add missing __KERNEL_RCSID() and missing $NetBSD$ tag. 2007-05-21 02:13:11 +00:00
dogcow
2d38890bb5 From PR kern/33496 - add uslsa(4), a CP210x USB-RS232 ucom driver.
After minor hacks, it compiles without problems; however, it's not been tested
with an actual device.
2007-05-20 05:08:17 +00:00