augustss
276b009425
Introduce a field, busquirks, in the umass quirk table that is passed
...
directly to the quirk field for the bus.
2001-12-29 13:46:23 +00:00
augustss
c33e730dd9
Get rid of the transfer_speed nonsense to calculate the timeout.
...
We get passed a timeout from the upper layer which is what matters.
2001-12-24 19:24:33 +00:00
augustss
ab7b323efa
Add a preliminary version of a driver for In-System Designs non-standard
...
ATA-over-BulkOnly protocol. The ISD chip can be found, e.g., in the
Archos MP3 player.
The driver still lacks real error handling.
2001-12-24 13:43:24 +00:00
augustss
56b5867371
Make the separation between wire protocol (umass.c) and command protocol
...
(umass_scsipi.c) more distinct.
It is now possible to add new command protocols with a minimum of change.
The umassbus.[ch] files have been renamed umass_scsipi.[ch] since this
reflects their purpose better.
2001-12-24 13:25:52 +00:00
gehenna
7cd101a6ca
Introduce the new umass quirk table.
...
Discussed with augustss.
2001-12-17 12:16:14 +00:00
augustss
c70fc55cba
Add a hack for ScanLogic SL11R IDE adapter. From FreeBSD.
2001-12-15 00:26:14 +00:00
gehenna
f144837e0e
Stylistic changes
2001-12-14 08:58:49 +00:00
gehenna
2d27ad7c73
Define a new structure to store wire specific control methods.
...
The basic BBB/CBI functions are stored as members of constant structure.
When attached device, softc holds one of that constant structures.
2001-12-14 08:46:19 +00:00
gehenna
49bba69842
Use device handle and interface number which are stored in softc.
2001-12-14 06:21:56 +00:00
gehenna
53f34def69
Change style to store endpoint addresses and pipes.
2001-12-14 05:58:13 +00:00
augustss
22735e5d44
Move usbd_clear_endpoint_toggle() prototype to usbdi.h.
2001-12-12 15:23:58 +00:00
gehenna
968318a989
Use vendor/product variables
2001-12-12 14:24:53 +00:00
gehenna
0f983137af
Don't change wire protocol state in umass generic function
2001-12-12 13:23:20 +00:00
gehenna
54e3c1962e
bcopy -> memcpy
2001-12-12 13:17:03 +00:00
augustss
a6ba091eef
Add a quirk for Olympus C-1. From FreeBSD (by iedowse)
2001-11-25 19:15:46 +00:00
augustss
596224e54f
Pay attention to the timeout value passed down by the scsipi layer.
2001-11-25 19:05:22 +00:00
augustss
6d8419a6cc
Handle Zip quirks differently.
...
Ugh! This driver need major overhaul.
2001-11-23 01:15:28 +00:00
augustss
cec12bf775
Remove trailing `b' in some numbers for lengths. It just makes them look
...
like hex.
2001-11-13 08:01:40 +00:00
lukem
667807e40c
add RCSIDs
2001-11-13 06:24:53 +00:00
augustss
e0ec4407e6
Better debug messages.
2001-10-25 22:43:24 +00:00
augustss
147c9186b5
Remove overly paranoid test (and not in the spec either). From OpenBSD.
2001-06-04 06:01:40 +00:00
enami
360780f37e
s/\<PROTO_ATAPI/C&/
2001-04-26 03:59:32 +00:00
augustss
af2e19db8f
Remove stuff I didn't mean to commit yet.
2001-04-19 00:50:22 +00:00
augustss
72a04bd497
Add HP 3400.
2001-04-19 00:47:49 +00:00
augustss
264c404593
Clean up formatting a little.
...
Split protocol variable into wire and command protocols.
2001-04-17 00:50:13 +00:00
augustss
b5c707b2b6
Make it link with debug flag.
2001-04-13 12:51:43 +00:00
augustss
bcdfccea3c
Split the umass driver into the part that handles the X-over-USB protocol
...
(umass.c) and the part that handles scsibus/atapibus (umassbus.c).
This way the must port specific stuff can be removed from umass.c.
2001-04-13 12:24:10 +00:00
augustss
d265e74a94
Make the ZiO! MMC adapter work.
2001-04-01 19:04:52 +00:00
augustss
2abf6b66a5
Change handling of the UFI protocol so it goes through atapibus instead
...
of scsibus. This removes a whole bunch of specioal cases for UFI.
All this great simplification comes from Brett McCoy <bmccoy@genuity.net>.
2001-04-01 14:41:39 +00:00
fvdl
2e3722d635
Remove a debugging printf.
2001-03-23 14:11:39 +00:00
cgd
98af50970f
"#else if" is not a valid CPP directive. Use "#elif".
2001-02-24 00:03:46 +00:00
tsutsui
71d4eb1937
Fix INSYSTEM_USBCALBLE quirk entry:
...
- Make sure to pass iface properly to usbd_set_interface().
- Call usbd_set_interface before calling usbd_get_interface_descriptor().
It seems no one have tested this device. Anyway, my In-System ISD110
USB-IDE adapter does not work in this way..
2001-02-08 13:24:05 +00:00
augustss
cbda952879
Make sure driver attach/detach events are generated in a consistent manner.
2001-01-23 14:04:13 +00:00
augustss
d8f68f3949
Add a quirk for devices that cannot handle full length INQUIRY.
...
From FreeBSD.
2001-01-21 18:56:38 +00:00
augustss
94094c44ab
Change debugging output a little.
...
Don't the for the wrong id when UMASS_DEBUG is set.
2001-01-06 12:14:39 +00:00
augustss
79f0bd6e1f
Update many URLs.
2000-12-29 01:24:55 +00:00
matt
9efc721402
Don't use atapi_print since if there are no wdc's, it won't be present.
2000-12-18 19:57:47 +00:00
augustss
e5de940d42
Add a DIAGNOSTIC message.
2000-12-08 02:33:44 +00:00
augustss
f3030960da
Add quirks for a Fuji camera.
2000-11-04 15:54:36 +00:00
augustss
623aae812b
Only probe for drive 0. Fix es problem reported by Nathan Williams
...
<nathanw@MIT.EDU>.
2000-10-03 04:33:03 +00:00
augustss
f2a2c14d9a
Recognize Sony memory sticks (from FreeBSD).
...
Add timing info in the debug output.
2000-09-23 21:03:00 +00:00
augustss
2d8b50667e
From FreeBSD: add code for Insystem USB cable.
2000-08-17 23:16:16 +00:00
augustss
807228a4d8
Make attach message correct for non-umass devices.
...
Handle RBC (a SCSI subset).
2000-08-12 14:52:44 +00:00
augustss
555fde1163
Fix reversed test in umass_activate(). Probably fixes PR 10520.
2000-07-06 07:11:18 +00:00
augustss
ed9486e158
Bring the coding style into the 80s, i.e., get rid of __P and use
...
ANSI prototypes and declarations.
2000-06-01 14:28:57 +00:00
augustss
6731216c72
Rename a define.
2000-05-31 16:13:31 +00:00
augustss
d86618eb5a
Implement the scsipi_getgeom method and guess the geometry of floppies
...
based on the number of sectors.
2000-05-31 09:17:13 +00:00
augustss
ea5a174495
Massage the SCSI commands when using the UFI protocol in a better way.
...
Now the Y-E Data Flashbuster floppy seems to work.
Thanks to Y-E Data for giving one to the project when I couldn't find
one easily.
2000-05-30 01:12:51 +00:00
augustss
23bcab075a
Don't request sense after INQUIRY. From FreeBSD & OpenBSD.
2000-04-28 21:34:05 +00:00
augustss
7859835446
Add another #if NATAPIBUS > 0 in case there is no atapibus attached.
2000-04-06 13:52:04 +00:00