Generalize the quirk entry that disables multi-lun probing for Sony CDROM

drives.  It seems that quite a few (possibly all?) of their drives respond
to inquiries on multiple luns.  Hopefully we can detect problems like this
in the probe phase at some point.  For now, this is a pretty functional
solution.
This commit is contained in:
ken 1998-11-04 19:56:24 +00:00
parent c5f22a4fdf
commit 769b8f06d3

View File

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cam_xpt.c,v 1.24 1998/10/15 19:08:52 ken Exp $
* $Id: cam_xpt.c,v 1.25 1998/10/22 22:16:48 ken Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
@ -339,12 +339,11 @@ static struct xpt_quirk_entry xpt_quirk_table[] =
},
{
/*
* This drive doesn't like multiple LUN probing.
* Verified by: Jean-Marc Zucconi <jmz@FreeBSD.ORG>
* Many Sony CDROM drives don't like multi-LUN probing.
*/
{
T_CDROM, SIP_MEDIA_REMOVABLE, sony,
"CD-ROM CDU-80*", "*"
"CD-ROM CDU*", "*"
},
CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0
},