From 5acba6ec2a298ef28b4b296b86c69c4b420b778d Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Sun, 11 Jul 1999 06:10:47 +0000 Subject: [PATCH] disable tag queing for the MICROP 4421-07 drive. It's an old 2gig drive. convert MICROP to a static string --- sys/cam/cam_xpt.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index a8893eb9fe9a..a0a434668ef9 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -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 #include @@ -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 }, {