Commit Graph

69 Commits

Author SHA1 Message Date
augustss 9859bd8412 Increasre the reset recovery time. 2002-09-22 23:20:50 +00:00
augustss f7f7bb1ee4 Update class codes. 2002-08-22 10:15:12 +00:00
augustss b8a7c4ede8 Add Bluetooth related classes etc. 2002-08-22 10:08:34 +00:00
augustss 86650920c9 Get rid of trailing white space. 2002-07-11 21:14:24 +00:00
augustss ae9f835cf2 A small fix for FreeBSD. 2002-02-26 10:27:49 +00:00
augustss ab875c9c5c Some minor fixes from FreeBSD. 2002-02-26 02:00:16 +00:00
augustss 306aa99ff8 Some portability improvement.
Add define for usb.h version.
2002-02-25 00:46:37 +00:00
christos 6728d906e9 Prefix structure members to protect them against clashes with eg. c++ keywords.
Suggested by Alfred Perlstein, from FreeBSD, ok'd by augustss
2002-02-20 20:30:12 +00:00
augustss 371722006a Add a missing subclass definition. 2002-01-01 14:23:37 +00:00
augustss 496dc72437 Add some definitions from the USB OTG (On The Go) spec. 2001-12-29 15:44:11 +00:00
augustss 22fd9bbb5f Add IrDA related defines. 2001-12-06 17:00:26 +00:00
augustss 6f95b070ca Update mass storage protocol numbers. 2001-11-23 01:14:45 +00:00
augustss 9dae283057 Add another "feature". 2001-11-21 16:12:56 +00:00
augustss e5353fd3b5 Use longer reset for root hubs (as told in the spec). 2001-11-20 16:08:10 +00:00
augustss 482dbdf4e3 More USB 2.0 definitions. 2001-11-20 13:46:09 +00:00
augustss 1f6462461a Make it possible to report device speeds with ioctl(USB_DEVICEINFO). 2001-11-17 01:49:53 +00:00
augustss 4469f30685 Add some USB 2 related definitions. 2001-11-06 12:29:48 +00:00
nathanw 9f36932334 Add the constant for the IEEE 1284-mode protocol for the printer
class, as given in revision 1.1 of the USB printer class spec.
2001-07-23 15:17:50 +00:00
augustss 34bb7b9a35 Don't try to access a device that is being disconnected when generating
the detach event.  Fixes (I hope) PR 11713 from itohy@netbsd.org (ITOH Yasufumi).
2000-12-13 04:05:14 +00:00
augustss fff66007d9 Reorder a little. 2000-06-01 15:43:32 +00:00
augustss 53f83c5533 Use attribute packed for on-the-wire data structures. 2000-05-30 10:10:17 +00:00
augustss 30c20f930f Change my email address. 2000-04-27 15:26:44 +00:00
augustss b12ed6c03b Make it possible to move a device to its unconfigured state by
using config #0.
2000-04-23 00:46:59 +00:00
augustss 4379f92630 Make sure to read the full hub descriptor (including the deprecated field). 2000-04-21 18:57:40 +00:00
augustss 878deae672 Add a define for some slack port power up time. 2000-04-21 16:01:31 +00:00
augustss 358b947b7b Correct a typo. 2000-04-03 13:40:05 +00:00
augustss 81c03592ef Rename bulk only protocol (following FreeBSD). 2000-03-24 22:16:42 +00:00
augustss c6eb2d324c Add ioctl USB_SET_REPORT for uhid. This will allow manipulating the
feature items.
2000-03-19 22:23:28 +00:00
augustss 7d05674ba7 Distinguish between device and interface classes.
(I finally found a document that said that they were different.)
2000-02-29 21:37:00 +00:00
augustss 481e8339dc Change the USB event mechanism to include more information about devices
and drivers.  Partly from FreeBSD.
2000-02-02 07:33:59 +00:00
augustss 3386c68b46 Cosmetic changes and some small improvements. From FreeBSD and Nick Hibma. 1999-11-18 23:32:25 +00:00
augustss a5b6bed471 Add a macro to extract the isoc type. 1999-10-20 21:02:39 +00:00
augustss cefd751ca7 Remove FreeBSD tags that got in there by accident.
Add #include <sys/time.h> to usb.h.
1999-10-13 18:52:54 +00:00
augustss 03a522d3c1 Merge in a large batch of changes from Nick Hibma <hibma@skylink.it> so
the USB stack compiles on FreeBSD again.
1999-10-13 08:10:55 +00:00
augustss df435c83b2 Add an event mechanism so that a userland process can watch devices come
and go.
1999-10-12 11:54:56 +00:00
augustss 97a24aa488 Make defines follow the standard. 1999-09-16 21:53:58 +00:00
augustss 98b6524413 * Move DMA buffer allocation to HC independent code.
* Remove (almost) unused definitions USBD_XFER_OUT and USBD_XFER_IN.
1999-09-11 08:19:26 +00:00
augustss 6e6d511cf0 Add USUBCLASS_MIDISTREAM definition, per request from MAEKAWA Masahide
<bishop@rr.iij4u.or.jp>.
1999-09-06 17:16:47 +00:00
augustss f3421bec94 Change the way the direction is extracted from the endpoint descriptor.
No functional changes to the drivers.  From Nick Hibma, FreeBSD.
1999-09-04 22:26:11 +00:00
augustss 7a3bd0ab27 Add some missing request codes. 1999-08-29 22:45:41 +00:00
augustss f747201099 Move more of the transfer completion processing to HC independent code.
Fix some problems with transfer abort & timeout.
1999-08-22 20:12:39 +00:00
augustss 462e2614ff Add some mass storage definitions. 1999-08-19 19:50:42 +00:00
augustss 1107c3f6ea Back out last change. The ugliness of the Audio Class should not have
to pollute the general USB definitions.
1999-08-18 07:55:19 +00:00
augustss 7fb139742d Update the endpoint descriptor struct with the two oddball entries
that only the Audio Class has.
1999-08-18 07:45:56 +00:00
augustss 3016e1ebe0 Make some small changes to make it compile on OpenBSD. 1999-08-17 16:06:20 +00:00
augustss 9a0281ff87 Some new ioctl()s for the umodem driver. 1999-08-16 20:27:55 +00:00
augustss b177c7a397 Totally redo the way device detach is done. It now uses a kernel event
thread and the config detach method.
Squish a number of space leaks on detach.
1999-06-30 06:44:22 +00:00
augustss 3fd5344a95 Add suspend/resume handling to the UHCI driver.
Currently it only works if the BIOS saves enough state of the controller.
Once I find a machine with a dumber BIOS I'll try to improve that.
1999-06-26 08:30:17 +00:00
thorpej 29184c350f Add a few more Communication Interface Class subclasses (including Ethernet
and *shudder* ATM).
1999-05-18 23:42:56 +00:00
augustss 041a8536ac s/revision/release/ 1999-05-16 12:05:10 +00:00