From a6cb9949a731955ca4a27553ae714ca42fa187ee Mon Sep 17 00:00:00 2001 From: "Kenneth D. Merry" Date: Sun, 4 Jun 2000 03:17:37 +0000 Subject: [PATCH] Disable multi-lun probing on Hitachi DK31* drives. PR: misc/18793 Submitted by: Paul Haddad --- sys/cam/cam_xpt.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index 53ff2883a6ab..fa00cc203822 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -428,6 +428,18 @@ static struct xpt_quirk_entry xpt_quirk_table[] = }, CAM_QUIRK_NOSERIAL|CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0 }, + { + /* + * These Hitachi drives don't like multi-lun probing. + * The PR submitter has a DK319H, but says that the Linux + * kernel has a similar work-around for the DK312 and DK314, + * so all DK31* drives are quirked here. + * PR: misc/18793 + * Submitted by: Paul Haddad + */ + { T_DIRECT, SIP_MEDIA_FIXED, "HITACHI", "DK31*", "*" }, + CAM_QUIRK_NOLUNS, /*mintags*/2, /*maxtags*/255 + }, { /* * This old revision of the TDC3600 is also SCSI-1, and