Commit Graph

663 Commits

Author SHA1 Message Date
augustss
fc72e72d7d Change (almost) all static to Static. The symbol `Static' can then be defined
to `' or `static' depending on if you want to debug or not.
2000-03-27 12:33:53 +00:00
augustss
2341e5679e Don't mess with QH in bulk abort for the moment. 2000-03-27 09:41:36 +00:00
augustss
8e7f7d2d69 Keep free block statistics. 2000-03-27 08:27:03 +00:00
augustss
9e5b3b729c Remove some debug nonsense. 2000-03-27 08:01:09 +00:00
augustss
9ffe849791 Make it compile without DIAGNOSTIC. 2000-03-27 07:39:48 +00:00
augustss
a52e96b1eb Fix typo. Found by Aaron Campbell <aaron@cs.dal.ca>. 2000-03-26 21:42:54 +00:00
augustss
a9643a2075 Regen & adjust name. 2000-03-26 15:08:43 +00:00
augustss
59310c8294 Adjust the name of the Kawasaki Ethernet adapter. 2000-03-26 15:08:02 +00:00
augustss
5018b862c1 Remove one, add one. 2000-03-25 18:12:20 +00:00
augustss
3fded57690 Rename and move around callout handles to make it more sane.
Add some DIAGNOSTIC.
Fix buglet in isoc abort on UHCI.
2000-03-25 18:02:32 +00:00
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