Andrew Thompson
9e6b53136e
Use macros to strip off USB_VENDOR_ and USB_PRODUCT_ from some id tables to make
...
them more compact and readable.
2009-12-26 19:03:28 +00:00
Andrew Thompson
767cb2e29d
Remove overuse of exclamation marks in kernel printfs, there mere fact a
...
message has been printed is enough to get someones attention. Also remove the
line number for DPRINTF/DPRINTFN, it already prints the funtion name and a
unique message.
2009-11-26 00:43:17 +00:00
Andrew Thompson
655dc9d00a
Add experimental support for usb serial console and polled mode during DDB.
...
Submitted by: Hans Petter Selasky
2009-09-28 08:13:50 +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
a8675cae2b
Make variables static where appropriate.
...
Found by: cscout
2009-06-13 04:56:45 +00:00
Andrew Thompson
e0a69b51ac
s/usb2_/usb_/ on all typedefs for the USB stack.
2009-05-29 18:46:57 +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
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
f29a072444
- rename usb2_mode to usb_mode [1]
...
- change variable types to use the enum
Submitted by: Hans Petter Selasky [1]
2009-05-21 00:04:17 +00:00
Andrew Thompson
4eae601ebd
MFp4 //depot/projects/usb@159909
...
- make usb2_power_mask_t 16-bit
- remove "usb2_config_sub" structure from "usb2_config". To compensate for this
"usb2_config" has a new field called "usb_mode" which select for which mode
the current xfer entry is active. Options are: a) Device mode only b) Host
mode only (default-by-zero) c) Both modes. This change was scripted using
the following sed script: "s/\.mh\././g".
- the standard packet size table in "usb_transfer.c" is now a function, hence
the code for the function uses less memory than the table itself.
Submitted by: Hans Petter Selasky
2009-04-05 18:20:38 +00:00
Andrew Thompson
296ade6016
MFp4 //depot/projects/usb @159375,159376,159377
...
Further remove dependancy towards Giant.
Submitted by: Hans Petter Selasky
2009-03-20 18:56:27 +00:00
Andrew Thompson
dc4b1d1662
Add Mobile Action MA-620 Infrared Adapter.
...
PR: usb/125072
Submitted by: Alexander Logvinov
MFC after: 1 week
2009-03-04 03:47:57 +00:00
Andrew Thompson
9aef556d71
Rename the ushub device class back to uhub as it was in the old usb stack,
...
moused(8) looks for "uhub/ums" to decide if needs to load the module.
Reported by: Garrett Cooper
2009-03-02 05:37:05 +00:00
Andrew Thompson
deefe58337
Move the serial drivers from Giant to using their own mutexs.
...
Tested with: u3g, ubser, uplcom
2009-03-02 02:44:10 +00:00
Andrew Thompson
02ac645488
Move the new USB stack into its new home.
2009-02-23 18:31:00 +00:00