From 86f6312a893eece949fc3be825696e859a51141b Mon Sep 17 00:00:00 2001 From: "Kenneth D. Merry" Date: Sat, 1 Jul 2000 23:45:47 +0000 Subject: MFC, rev 1.86: Disable multi-lun probing on Hitachi DK31* drives. PR: misc/18793 Submitted by: Paul Haddad Tested for RELENG_4 by: markm, nectar, will --- 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 -- cgit v1.3