Commit Graph

642 Commits

Author SHA1 Message Date
augustss a01d316027 General code cleanup. 2000-03-24 13:08:28 +00:00
augustss 1c6f9cbdf4 Fix a comment. 2000-03-24 13:03:21 +00:00
augustss 2e85384321 Some more debug when selecting sample rate. 2000-03-24 13:02:00 +00:00
thorpej 6a6358ed5c Shake out some bugs from the callout changes. 2000-03-23 18:59:10 +00:00
thorpej fc96443d15 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 07:01:25 +00:00
augustss 0ef19aad57 Regen. 2000-03-20 01:31:29 +00:00
augustss 06bb856348 Some new devices. From FreeBSD. 2000-03-20 01:31:10 +00:00
augustss ebd6f5f498 Add another item. 2000-03-20 00:42:21 +00:00
augustss 9a34877094 Clean up code a little. 2000-03-20 00:41:55 +00:00
augustss eb6e78ce98 Make sure all packets (except the last) have the maximum packet size even
when using multiple TDs.
2000-03-20 00:37:00 +00:00
augustss 89de970942 Switch method for determing if we are cold booting. The driver now works
with OHCI adapters.
2000-03-20 00:27:11 +00:00
augustss 94afb61b8b Remove some items! 2000-03-19 22:28:02 +00:00
augustss 9762d78a52 Make control transfer of over 8K possible by using a chain of TDs. 2000-03-19 22:24:57 +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 670d533d54 Keep the bit position even when the report descriptor says POP. 2000-03-17 18:09:17 +00:00
augustss cdc4484e47 Regen. 2000-03-16 21:51:45 +00:00
augustss 94f5fe4392 Add Altec ADA70 speakers and have them recognized despite announcing an
old rev of the USB audio spec.
2000-03-16 21:51:23 +00:00
uch 34329d9139 regen. 2000-03-16 18:28:11 +00:00
uch 348fff03fb add I/O DATA USB-ET/TX USB ethernet adapter. 2000-03-16 18:27:21 +00:00
tsutsui 6e0e3d609f Replace LE() macro with le32toh()/le32toh(). 2000-03-16 12:40:51 +00:00
augustss c99c03da4d Make the USB event queue longer. Mine overflows before the (user-land)
event handler has started.  But then I have about 25 devices connected. :)
2000-03-16 00:46:38 +00:00
augustss 1a9f0619fd Fix thinko in the handling of FORCE_SHORT_XFER so that it actually
transfers a 0 length package instead on munging the whole transfer.
The aue driver works now.
2000-03-16 00:41:50 +00:00
augustss 499e5cba01 Fix some uninitialized variables. From Krister Walfridsson <cato@df.lth.se> 2000-03-15 22:40:30 +00:00
augustss 1e1f1f3b3b Make sure the USB event thread discovers all devices first time it call
usb_discover().
It should now be possible to have the root NFS mounted over a USB Ethernet
adapter.
2000-03-14 23:13:12 +00:00
soren 95054da1a1 Fix doubled 'the's in comments. 2000-03-13 23:52:25 +00:00
augustss e2850da406 Regen. 2000-03-13 21:17:32 +00:00
augustss 9f0c40cff1 Add Palm serial adapter. 2000-03-13 17:14:27 +00:00
nathanw a7f01b4816 Fix DMAADDR():
Return the mapped address of the block, not the kernel address.
A uhci device now finds devices on my pc164.
2000-03-12 23:10:29 +00:00
augustss b8b53d87db Avoid accessing the device if it is dying. 2000-03-12 21:57:50 +00:00
augustss e0d3ede01c Get the status right when a polled transfer times out. 2000-03-08 15:34:10 +00:00
augustss 07574c3239 Add a debug message. 2000-03-08 15:33:38 +00:00
augustss 45f32a77f5 Clean up code a little and add some more debug messages. 2000-03-08 15:33:24 +00:00
thorpej a6f861574a No longer necessary to futz with ifp->if_baudrate here. 2000-03-06 21:02:00 +00:00
augustss 41aade98ba Generate better error codes on bulk write. 2000-03-06 20:59:17 +00:00
augustss 119a2a3a80 Remove irrelevant comment. 2000-03-06 20:58:39 +00:00
augustss e0cb11e30e Use macros from usb.h instead masking out bit explicitely. 2000-03-06 20:58:18 +00:00
augustss 2dda67d4a2 Fix typo in argument to ratecheck(). 2000-03-02 15:49:29 +00:00
augustss d6c4ac7ff2 Use ratecheck() to limit error messages on disconnect.
Break out some common functionality.
2000-03-02 12:37:50 +00:00
augustss 3218dd992d Protect the use of bpf_mtap so bpf isn't needed.
aue: Limit the number of error messages at disconnect by using ratecheck().
2000-03-01 19:00:51 +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
hubertf a6a5be8ccf This driver also handles the 3COM 3COM HomeConnect Ethernet USB Adapter
(3C460), rev 1.00/2.05
2000-02-29 19:08:09 +00:00
hubertf b95fbdaeb7 Regen 2000-02-29 19:07:33 +00:00
hubertf eff003f7ce add product ID for 3COM 3COM HomeConnect Ethernet USB Adapter (3C460),
rev 1.00/2.05
2000-02-29 19:06:40 +00:00
augustss 10d9610df8 Make this driver actually work in NetBSD. From Castor Fu <castor@geocast.com> 2000-02-27 22:15:24 +00:00
augustss 739151c214 Regen. 2000-02-27 20:44:22 +00:00
augustss 741c59a303 Add the QuickShot Strikepad game-pad. 2000-02-27 20:43:53 +00:00
augustss 9651e60835 Fix typos in my last commit that caused the driver to panic.
Change some (unrelated) debug messages.
2000-02-22 22:59:49 +00:00
augustss 009856b631 Save and restore a couple ofregisters in the power hook in case BIOS doesn't. 2000-02-22 16:03:42 +00:00
augustss 9056664327 Prepare a little for having USB interrupt processing done outside the hard
interrupt level (in a thread or a softintr).
No real soft processing done yet.
2000-02-22 11:30:54 +00:00
augustss 6cc37002ad Fix (mostly harmless) typo. 2000-02-22 11:25:06 +00:00