disable tag queing for the MICROP 4421-07 drive. It's an old 2gig drive.

convert MICROP to a static string
This commit is contained in:
John-Mark Gurney 1999-07-11 06:10:47 +00:00
parent 66da783384
commit 5acba6ec2a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48750

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.63 1999/05/31 11:23:53 phk Exp $
* $Id: cam_xpt.c,v 1.64 1999/06/20 18:19:44 mjacob Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
@ -216,6 +216,7 @@ static const char sony[] = "SONY";
static const char west_digital[] = "WDIGTL";
static const char samsung[] = "SAMSUNG";
static const char seagate[] = "SEAGATE";
static const char microp[] = "MICROP";
static struct xpt_quirk_entry xpt_quirk_table[] =
{
@ -234,6 +235,11 @@ static struct xpt_quirk_entry xpt_quirk_table[] =
{ T_DIRECT, SIP_MEDIA_FIXED, quantum, "XP32275*", "*" },
/*quirks*/0, /*mintags*/24, /*maxtags*/32
},
{
/* Broken tagged queuing drive */
{ T_DIRECT, SIP_MEDIA_FIXED, microp, "4421-07*", "*" },
/*quirks*/0, /*mintags*/0, /*maxtags*/0
},
{
/* Broken tagged queuing drive */
{ T_DIRECT, SIP_MEDIA_FIXED, "HP", "C372*", "*" },
@ -241,7 +247,7 @@ static struct xpt_quirk_entry xpt_quirk_table[] =
},
{
/* Broken tagged queuing drive */
{ T_DIRECT, SIP_MEDIA_FIXED, "MICROP", "3391*", "x43h" },
{ T_DIRECT, SIP_MEDIA_FIXED, microp, "3391*", "x43h" },
/*quirks*/0, /*mintags*/0, /*maxtags*/0
},
{