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
..
2002-11-14 05:08:22 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-11-27 17:30:41 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-09-20 18:15:40 +00:00
2002-11-14 23:54:55 +00:00
2002-11-25 20:00:13 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-11-11 10:28:44 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-11-06 22:58:55 +00:00
2002-10-16 17:07:41 +00:00
2002-11-14 23:54:55 +00:00
2002-10-18 12:06:01 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-09-23 18:54:32 +00:00
2002-11-07 22:21:38 +00:00
2002-11-14 23:54:55 +00:00
2002-11-28 01:13:58 +00:00
2002-11-14 23:54:55 +00:00
2002-11-28 01:09:29 +00:00
2002-11-28 01:00:40 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-03-23 15:36:13 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-09-21 21:43:49 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-11-02 04:18:10 +00:00
2002-11-14 23:54:55 +00:00
2002-11-28 01:15:01 +00:00
2002-12-14 01:56:26 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00
2002-11-14 23:54:55 +00:00