jdolecek
bb23eba3d8
MCA DMA hooked via bus_dma, so remove one
...
add entry regarding AHA-1640 (the driver needs testing)
2001-11-23 22:57:34 +00:00
jdolecek
07312f0fbb
Convert over to use the new MCA DMA facilities, which encapsulate
...
the MCA DMA controller access. This also means we gain >16MB RAM support.
While here, overhaul the driver to saner state, especially:
* simplify and clean the attach code a lot, and support the 'drive'
locator
* pass proper dev_t to readdisklabel() - formerly, the passed value was
completely broken (used incorrect major and wrong minor), but worked
by accident
* worker thread is now spawned per controller, rather than per-drive;
i/o cannot be done concurrently by different drivers, only one
i/o can be pending at any time
* simplify the command queue code, just sleep appropriately when
!poll case, g/c 'async' code formerly needed, move the bio code
from ed_mca.c to edc_mca.c:edc_bio()
* put all string arrays used by edc_dump_status_block() within #ifdef EDC_DEBUG,
and use numbers instead if it's not defined; this cuts object size by 5KB
* other misc cleanups
2001-11-23 22:53:09 +00:00
jdolecek
90fac765da
add 'drive' locator to mca edc
2001-11-23 22:35:46 +00:00
enami
71651851a4
Match against EPSON GT-9700F.
2001-11-23 10:31:54 +00:00
enami
674f6e4d18
Regen.
2001-11-23 10:30:49 +00:00
enami
9930efdacf
Add product id of EPSON GT-9700F.
2001-11-23 10:29:30 +00:00
enami
fe972558c0
Use __func__ instead of __FUNCTION__.
2001-11-23 10:20:47 +00:00
augustss
cdc819cd8a
Improve xfer abort sequence.
...
Fix another bug in qTD chain allocation.
2001-11-23 01:16:27 +00:00
augustss
6d8419a6cc
Handle Zip quirks differently.
...
Ugh! This driver need major overhaul.
2001-11-23 01:15:28 +00:00
augustss
6f95b070ca
Update mass storage protocol numbers.
2001-11-23 01:14:45 +00:00
simonb
1b1e4bd3d1
Remove hardcoded values for HZ (under different names!) from mcclock.c
...
and clock_machdep.h, so that now HZ can be any supported frequency of
the mc146818a/ds1287a RTCs.
Tested at 256Hz and 2048Hz.
2001-11-23 01:04:11 +00:00
augustss
37c8189778
Correct a comment.
2001-11-22 21:59:33 +00:00
jdolecek
d5c1ba9ed2
add a comment clarifying the DMA support, g/c the commented
...
out isa_dmacascade() call
some minor intendation changes, while here
2001-11-22 20:25:58 +00:00
yamt
5bf4d5554b
use little-endian crc on multicast hash for admtek chips.
2001-11-22 05:03:04 +00:00
augustss
7467533f5a
Improve dump routine slightly.
2001-11-22 04:31:01 +00:00
augustss
6e3a855c27
Fix a bug in qTD chain allocation.
...
Fix a qTD leak.
Handle out of memory conditions better.
My USB 2.0 CD-RW now mounts nicely and I can access files.
Performance is still lacking (it's at about 2Mbyte/s).
2001-11-22 04:20:49 +00:00
augustss
b5e0d97bf7
Add some DIAGNOSTIC tests.
2001-11-22 00:57:14 +00:00
augustss
37f2beed3e
Close multiplxees BEFORE removing the event variable they are
...
using (an interrupt at the wrong point caused disaster).
2001-11-22 00:54:23 +00:00
wiz
1fd7eeefcd
"than" instead of "then".
2001-11-21 19:14:19 +00:00
wiz
1f1e26bd6d
Presence looks better with a 'c' instead of an 's'.
2001-11-21 19:01:31 +00:00
wiz
55e6492076
Explicitly write explicitly without a second e.
2001-11-21 17:33:26 +00:00
augustss
bc136d1c2e
Make it compile without debug.
2001-11-21 16:22:58 +00:00
augustss
9dae283057
Add another "feature".
2001-11-21 16:12:56 +00:00
augustss
b2dc7b3fd3
Follow a safer protocol when updating the QH.
...
The EHCI driver isn't really working properly, but now the SCSI driver
correctly identifies my CD-RW drive! :-)
2001-11-21 16:05:13 +00:00
augustss
2c4813fa9d
Use NULL not 0.
2001-11-21 15:48:37 +00:00
augustss
df1a49923c
Fix indentation and typos.
2001-11-21 15:37:41 +00:00
augustss
5539d5afe6
Implement (incorrect?) data toggle clear method.
...
Implement allocation of qTD chains.
2001-11-21 14:00:12 +00:00
augustss
6bba920516
Wrap dump routine prototypes in #ifdef USB_DEBUG
2001-11-21 13:44:47 +00:00
augustss
ca0b46691f
Mask correct interrupt after error interrupt.
2001-11-21 13:43:38 +00:00
augustss
02f41ec3e6
Mask the correct interrupt after a door bell interrupt.
2001-11-21 13:42:19 +00:00
augustss
0adc2bbba2
Implement bulk transfers.
2001-11-21 13:04:50 +00:00
augustss
2d72c2726c
Add some interrupt processing.
2001-11-21 12:28:23 +00:00
augustss
4d4da7e06a
Fix typo in comment.
2001-11-21 12:25:55 +00:00
enami
eca8404326
Don't use __func__ as variable. It prevents compilation.
...
Use __FUNCTION__ instead.
2001-11-21 09:08:38 +00:00
augustss
1029005107
Pay more attention to if the HC is being unplugged.
2001-11-21 08:18:39 +00:00
itojun
bf755aea42
make it compilable without OHCI_DEBUG
2001-11-21 05:52:50 +00:00
augustss
c907a8fbbd
Add missing }
2001-11-21 02:47:07 +00:00
augustss
4f7b354305
Set up control xfers.
...
Handle xfer timeouts.
Better debug messages.
2001-11-21 02:44:30 +00:00
augustss
28a6a57942
Use a task to perform the timeout abort so we have a process context when
...
sleeping.
2001-11-21 02:41:18 +00:00
augustss
5506bb0f06
Some more debug stuff.
2001-11-21 02:39:31 +00:00
augustss
2478d1b320
Cast some args to bitmask_snprintf().
2001-11-21 02:38:35 +00:00
augustss
b171d0908b
Create a special kernel thread to run the usb short lived tasks (instead
...
of using the device discovery threads).
2001-11-20 23:53:26 +00:00
augustss
9716a5f26d
Don't bother with interrupts when being disconnected.
2001-11-20 21:12:46 +00:00
augustss
a8de831b24
Support port indicator light.
2001-11-20 16:25:35 +00:00
augustss
2f560c9410
Sanity check max packet lengths.
2001-11-20 16:09:01 +00:00
augustss
7679101a11
Add a comment.
2001-11-20 16:08:37 +00:00
augustss
e5353fd3b5
Use longer reset for root hubs (as told in the spec).
2001-11-20 16:08:10 +00:00
lukem
0fa231134c
- replace "defopt" with "defparam" for options which must take a value,
...
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00
augustss
8366f16a80
Don't wait for door bell interrupt when controller has been disconnected.
2001-11-20 14:28:44 +00:00
augustss
86e6ea35eb
Update for new speed handling.
2001-11-20 13:50:07 +00:00