freebsd-src/sys/dev/usb
Matthew Dillon cc7bab9032 Modify the fake cylinders calculation so it is >= the size of the device,
not < the size of the device.  This avoids geom complaints.

Fix a serious bug in the handling of the RS_NO_CLEAR_UA quirk.  When we
go and insert the test-unit-ready command the umass_cam_quirk_cb() function
sets the status as if the READ_CAPACITY command suceeded when, in fact, it
did not.  This leads to the CAM layer trying to use garbage in the return
buffer and panicing the system (or doing other bad things).

Add a quirk entry for MSYSTEMS DISK-ON-KEY, which is sold under the Sony
brand as a solid state disk-on-key usb device.  This device requires
several quirks to work properly.

Note that the disk-on-key device will not work properly until CAM also
gets a quirk entry for it, which has been submitted to the CAM maintainer,
and you may have to temporarily uncomment the DELAY() as well.  -current
does not properly wait for devices to power up so you may also have
to temporarily uncomment the DELAY(300000) to make your device work.
A solution must be found to that issue.

MFC after:	3 days
X-MFC note:	the quirk support must MFCd before this patch can be
2002-12-20 18:56:55 +00:00
..
devlist2h.awk constify 2002-04-01 19:22:04 +00:00
dsbr100io.h Support for USB fm radio. 2002-03-04 03:51:21 +00:00
FILES Support for USB fm radio. 2002-03-04 03:51:21 +00:00
hid.c Replace the FOO_DEBUG definitions with USB_DEBUG, and switch the 2002-07-31 14:34:36 +00:00
hid.h Use ANSI prototypes and declarations. 2002-04-01 19:01:09 +00:00
if_aue.c network interface driver changes: 2002-11-14 23:54:55 +00:00
if_auereg.h network interface driver changes: 2002-11-14 23:54:55 +00:00
if_cue.c network interface driver changes: 2002-11-14 23:54:55 +00:00
if_cuereg.h network interface driver changes: 2002-11-14 23:54:55 +00:00
if_kue.c network interface driver changes: 2002-11-14 23:54:55 +00:00
if_kuereg.h network interface driver changes: 2002-11-14 23:54:55 +00:00
kue_fw.h
Makefile.usbdevs
ohci.c Fix two bugs in the DMA chaining code for OHCI. The first bug is that 2002-12-20 18:47:39 +00:00
ohci_pci.c Use uhci_pci_match to return the device description and rework the 2002-08-18 11:52:47 +00:00
ohcireg.h Merge from NetBSD: 2002-04-01 13:21:43 +00:00
ohcivar.h In rev 1.51 of usb_port.h I switched over to using the USB_USE_SOFTINTR 2002-09-30 17:50:18 +00:00
rio500_usb.h
ubsa.c Whitespace fixes per style(9) 2002-10-19 21:58:11 +00:00
ucom.c Fix a typo in a console message. 2002-11-17 13:33:55 +00:00
ucomvar.h Replace the FOO_DEBUG definitions with USB_DEBUG, and switch the 2002-07-31 14:34:36 +00:00
udbp.c Use the hw.usb sysctl tree instead of debug.usb. 2002-08-08 12:05:51 +00:00
udbp.h Should have been part of recent commit: 2002-06-01 07:18:32 +00:00
ufm.c There's no need for a locally defined usb_proc_t when we've got 2002-11-06 14:29:27 +00:00
uftdi.c The uftdi driver runs with multiple instances. 2002-12-12 19:03:43 +00:00
uftdireg.h Add the uftdi ucom driver which supports the following adapters: 2002-08-11 23:32:33 +00:00
ugen.c Cast a ptrdiff_t value to an int to quiet a warning since we don't support 2002-11-07 21:34:21 +00:00
ugraphire_rdesc.h MFNetBSD: uhid.c (1.42 & 1.43), ugraphire_rdesc.h (1.1) 2002-04-07 17:04:01 +00:00
uhci.c In rev 1.51 of usb_port.h I switched over to using the USB_USE_SOFTINTR 2002-09-30 17:50:18 +00:00
uhci_pci.c Add a device description for Intel 82801CA/CAM (ICH3) USB controller 2002-08-28 20:24:49 +00:00
uhcireg.h MFNetBSD: uhcireg.h (1.15), uhcivar.h (1.33) 2002-04-07 18:06:34 +00:00
uhcivar.h In rev 1.51 of usb_port.h I switched over to using the USB_USE_SOFTINTR 2002-09-30 17:50:18 +00:00
uhid.c Use the hw.usb sysctl tree instead of debug.usb. 2002-08-08 12:05:51 +00:00
uhub.c Use the hw.usb sysctl tree instead of debug.usb. 2002-08-08 12:05:51 +00:00
ukbd.c Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
ulpt.c Ignore IEEE1284 descriptors when looking for bidirectional mode. We don't 2002-12-16 14:22:59 +00:00
umass.c Modify the fake cylinders calculation so it is >= the size of the device, 2002-12-20 18:56:55 +00:00
umodem.c Use the hw.usb sysctl tree instead of debug.usb. 2002-08-08 12:05:51 +00:00
ums.c Use the hw.usb sysctl tree instead of debug.usb. 2002-08-08 12:05:51 +00:00
uplcom.c Apply some fixups in the driver_t's. 2002-11-17 14:22:37 +00:00
urio.c Use the hw.usb sysctl tree instead of debug.usb. 2002-08-08 12:05:51 +00:00
usb.c Deprecate the USB_SETDEBUG IOCTL as debug levels can now be set 2002-09-15 22:35:58 +00:00
usb.h Packed structures are defined differently in older gcc's, like the one 2002-11-06 21:37:21 +00:00
usb_ethersubr.c network interface driver changes: 2002-11-14 23:54:55 +00:00
usb_ethersubr.h Remove __P. 2002-03-20 02:08:01 +00:00
usb_if.m
usb_mem.h NetBSD have adopted our usage of the DMAADDR macro: 2002-05-28 20:51:43 +00:00
usb_port.h Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
usb_quirks.c Fix a typo in the definition of HP1220C and add a quick entry for 2002-04-06 13:28:02 +00:00
usb_quirks.h Pull in the most recent version of usb_quirks.h and propagate the necessary 2001-07-05 10:12:59 +00:00
usb_subr.c Set the ivars _after_ checking that the bdev was correctly created instead 2002-06-17 20:52:26 +00:00
usbcdc.h
usbdevs Add entries for: 2002-10-08 03:00:37 +00:00
usbdevs.h Regen after usbdevs rev. 1.102. 2002-10-08 03:04:14 +00:00
usbdevs_data.h Regen after usbdevs rev. 1.102. 2002-10-08 03:04:14 +00:00
usbdi.c MFNetBSD: ohci.c (1.124), uhci.c (1.159), usbdi.c (1.100) 2002-05-26 22:00:06 +00:00
usbdi.h MFNetBSD: ugen.c (1.57), ulpt.c (1.48), usb.c (1.67), usbdi.c (1.96), 2002-05-06 18:23:36 +00:00
usbdi_util.c Replace (ab)uses of "NULL" where "0" is really meant. 2002-08-22 21:24:01 +00:00
usbdi_util.h MFNetBSD: uhid.c (1.45), ums.c (1.49), usbdi_util.c (1.35), usbdi_util.h (1.23) 2002-04-07 17:13:00 +00:00
usbdivar.h Synchronise the code style with NetBSD. (No functional changes). 2002-04-07 13:37:46 +00:00
usbhid.h Sync usb.h with NetBSD, apart from usb_device_info.speed, which 2002-01-02 20:16:53 +00:00
uscanner.c Use the hw.usb sysctl tree instead of debug.usb. 2002-08-08 12:05:51 +00:00
uvisor.c Add Palm M515. 2002-08-11 21:11:14 +00:00
uvscom.c Apply some fixups in the driver_t's. 2002-11-17 14:22:37 +00:00