Andrew Thompson
975199a5ac
MFC r198774
...
Check unit number and provide string name for consdev.
Submitted by: HPS
2009-12-09 22:31:45 +00:00
Andrew Thompson
e792954dba
MFC r197570
...
Add experimental support for usb serial console and polled mode during DDB.
2009-10-29 23:23:34 +00:00
Ed Schouten
f551adb0a9
Don't pick up Giant inside ucom(4).
...
Giant was only used here to lock down a bit mask of allocated unit
numbers. Change the code to use its own mutex.
Reviewed by: hselasky
Approved by: re (kib)
2009-06-28 20:52:11 +00:00
Andrew Thompson
ed6d949afd
- Make struct usb_xfer opaque so that drivers can not access the internals
...
- Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
2009-06-23 02:19:59 +00:00
Andrew Thompson
a593f6b8de
s/usb2_/usb_|usbd_/ on all function names for the USB stack.
2009-06-15 01:02:43 +00:00
Andrew Thompson
8437751d86
Remove usb2_cv_* and just use the kernel condvar implementation, it was needed
...
earlier since condition variables didnt work with Giant but this was fixed 10
months ago.
2009-06-15 00:33:18 +00:00
Andrew Thompson
e0a69b51ac
s/usb2_/usb_/ on all typedefs for the USB stack.
2009-05-29 18:46:57 +00:00
Ed Schouten
c5e30cc02b
Last minute TTY API change: remove mutex argument from tty_alloc().
...
I don't want people to override the mutex when allocating a TTY. It has
to be there, to keep drivers like syscons happy. So I'm creating a
tty_alloc_mutex() which can be used in those cases. tty_alloc_mutex()
should eventually be removed.
The advantage of this approach, is that we can just remove a function,
without breaking the regular API in the future.
2009-05-29 06:41:23 +00:00
Andrew Thompson
760bc48e7e
s/usb2_/usb_/ on all C structs for the USB stack.
2009-05-28 17:36:36 +00:00
Andrew Thompson
2b85e080e3
Do not forcefully close the write transfer when closing the tty, it needs to
...
run to completion and drain the tty queue.
2009-05-26 17:06:36 +00:00
Andrew Thompson
9360ae4073
Rename the usb sysctl tree from hw.usb2.* back to hw.usb.*.
...
Submitted by: Hans Petter Selasky
2009-05-21 01:48:42 +00:00
Andrew Thompson
afa07055be
MFp4 //depot/projects/usb@160052
...
Wait until line configuration is complete before starting data transfers.
Submitted by: Hans Petter Selasky
2009-04-05 18:22:03 +00:00
Andrew Thompson
02ac645488
Move the new USB stack into its new home.
2009-02-23 18:31:00 +00:00