Quirk all Pioneer changers as changers up front, instead of waiting for the

second LUN to show up.

mjacob's change (which is correct) in rev 1.21 of cam_periph.c to elminiate
infinite retries of the SCSI busy status bit seems to have broken probing
of Pioneer changers that aren't already quirked.

The right way to fix this is probably to change things around so we can
guarantee 100% sequential probing of LUN-based changers even if they aren't
quirked.  This should fix things for now, though.
This commit is contained in:
ken 1999-12-11 23:00:44 +00:00
parent eae0424087
commit bfbc9d277a

View File

@ -142,8 +142,6 @@ struct cd_quirk_entry {
cd_quirks quirks;
};
static const char pioneer[] = "PIONEER";
/*
* These quirk entries aren't strictly necessary. Basically, what they do
* is tell cdregister() up front that a device is a changer. Otherwise, it
@ -159,11 +157,7 @@ static struct cd_quirk_entry cd_quirk_table[] =
/*quirks*/ CD_Q_CHANGER
},
{
{ T_CDROM, SIP_MEDIA_REMOVABLE, pioneer, "CD-ROM DRM-604X",
"*"}, /* quirks */ CD_Q_CHANGER
},
{
{ T_CDROM, SIP_MEDIA_REMOVABLE, pioneer, "CD-ROM DRM-6324X",
{ T_CDROM, SIP_MEDIA_REMOVABLE, "PIONEER", "CD-ROM DRM*",
"*"}, /* quirks */ CD_Q_CHANGER
},
{