Commit Graph

653 Commits

Author SHA1 Message Date
augustss
b7eeb17414 Change the test for cold boot slightly to avoid a long busy wait with UHCI. 2000-03-25 17:59:34 +00:00
augustss
34bd644399 The Wacom CT0405U delivers strings, but they are wrong. Don't use them. 2000-03-25 17:30:00 +00:00
augustss
9893633d57 Improve uhci_dump_ii(). 2000-03-25 07:23:12 +00:00
augustss
df370f0e48 More DIAGNOSTIC.
Initialize a callout handle I forgot.
2000-03-25 07:13:05 +00:00
augustss
cefdf1aee3 Add more DIAGNOSTIC when aborting isoc. 2000-03-25 00:11:21 +00:00
augustss
6aeaa39b1b GC an unsued field and add some DIAGNOSTIC in xfer. 2000-03-25 00:10:19 +00:00
augustss
df8025fec8 Two major changes:
Make each xfer have its own intr_info.  This is necessary if we want
to queue multiple xfers on an endpoint.  This should get rid of the
(mostly harmless) DIAGNOSTICs about intr_infos (not) being done.

  Change (again!) how xfers are aborted.  Aborting a TD is a nightmare
on the braindead UHCI controller.  (Unless you stop the HC, thereby
losing isoc traffic.)  Hopefully I got it right this time.
2000-03-24 22:57:58 +00:00
augustss
67113875f3 Rearrange to indicate what should be done before 1.5 2000-03-24 22:17:56 +00:00
augustss
81c03592ef Rename bulk only protocol (following FreeBSD). 2000-03-24 22:16:42 +00:00
augustss
c06b1c683d Remove unused macros. 2000-03-24 22:13:23 +00:00
augustss
0069eba19b Some cleanup and renaming of the callouts used in USB drivers. 2000-03-24 22:03:28 +00:00
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