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
augustss
36b5d25ca8
Make protocol message more accurate.
2000-04-04 20:16:47 +00:00
augustss
d063047593
Enable QIC157 command set. Untested.
2000-04-03 12:31:34 +00:00
augustss
dc3ce0b35e
Enable UFI protocol. Still untested in NetBSD. Used by, e.g., Y-E Data
...
floppies.
2000-04-03 12:12:38 +00:00
enami
6442efb498
Make this file compiles under some condition:
...
- #if 0'ed out the umass_reset for now.
- some atapibus specific code is conditionalized by NATAPIBUS.
2000-04-03 03:56:49 +00:00
augustss
e126f0d1b3
New and shiny version of the umass driver. This is a port of the new
...
FreeBSD umass driver by Nick Hibma <n_hibma@freebsd.org> and
MAEKAWA Masahide <bishop@rr.iij4u.or.jp>.
Improvements:
uses asynchronous USB requests
supports more transport protocols (Bulk-only and CBI)
supports more command sets (SCSI and ATAPI)
Tested with Zip100 and Imation Superdisk.
2000-04-02 23:46:53 +00:00
augustss
96806cb7ea
Fix a buglet.
2000-03-29 18:30:46 +00:00
augustss
81c03592ef
Rename bulk only protocol (following FreeBSD).
2000-03-24 22:16:42 +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
augustss
4b93911b25
Generate usb events on attach and detach.
2000-02-02 13:18:45 +00:00
augustss
cdaec29859
A few more purely stylistic changes that I missed in the last round.
1999-11-17 23:00:49 +00:00
augustss
0d2fabdf26
A number of stylistic changes to increase readability (many suggested
...
by Nick Hibma):
use NULL not 0
declare all local definitions static
rename s/usbd_request/usbd_xfer/ s/reqh/xfer/
rename s/r/err/
use implicit test for no err
KNF
1999-11-12 00:34:57 +00:00
augustss
03a522d3c1
Merge in a large batch of changes from Nick Hibma <hibma@skylink.it> so
...
the USB stack compiles on FreeBSD again.
1999-10-13 08:10:55 +00:00
thorpej
6d0137c519
Update for SCSIPI changes.
1999-09-30 23:13:41 +00:00
augustss
97a24aa488
Make defines follow the standard.
1999-09-16 21:53:58 +00:00
augustss
c4d6d6b991
Put a reference counter in the softc. Without this the driver might access
...
data that has been freed because the detach() routine returns to early.
1999-09-13 21:35:08 +00:00
thorpej
febf7ffb86
Display more verbose information about the command protocol and wire
...
protocol used by the device, e.g.:
umass0 at uhub0 port 1 configuration 1 interface 0
umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2
umass0: SCSI over Bulk-Only (iclass 8/6/80)
1999-09-12 02:40:59 +00:00
thorpej
f696794a34
Hot-unplug works now.
1999-09-11 21:45:28 +00:00
thorpej
f7c20484b6
- If a command fails, assume the device returned CHECK CONDITION status,
...
and issue a REQUEST SENSE. This fixes the media change problems I was
having w/ my USB ZIP drive.
- Clean up some debugging code.
- Implement more hot-unplug stuff.
1999-09-11 20:52:07 +00:00
augustss
6b9aae738e
Update doc URLs and fix a typo in umass_bulk_get_max_lun().
1999-09-09 17:12:03 +00:00
augustss
2aadcb5f47
Change the internal API to allow DMA buffers to be pre-allocated by
...
the device driver instead of happening automagically in the HC driver.
This affects both the HC-USBD interface as well as the USBD-device
interface.
This change will allow DMA buffers to be reused e.g. in isochronous
traffic.
Add isochronous support to the UHCI driver (not for OHCI yet).
1999-09-09 12:26:43 +00:00