Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2002 10:56:55 -0800 (PST)
From:      Matt Dillon <dillon@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/usb umass.c
Message-ID:  <200212201856.gBKIut7s074695@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
dillon      2002/12/20 10:56:55 PST

  Modified files:
    sys/dev/usb          umass.c 
  Log:
  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
  
  Revision  Changes    Path
  1.68      +26 -6     src/sys/dev/usb/umass.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212201856.gBKIut7s074695>