diff options
author | gibbs <gibbs@FreeBSD.org> | 1998-09-22 04:53:23 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1998-09-22 04:53:23 +0000 |
commit | 1221790ff3c9e4d8796ffb8a65902317562749f7 (patch) | |
tree | 171627c6a0e3efe262669d95f783002f29a14aa9 /sys/cam/cam_xpt.c | |
parent | c50bd3ff4b3ab03e97d69d1280ea2132899b0362 (diff) | |
download | FreeBSD-src-1221790ff3c9e4d8796ffb8a65902317562749f7.zip FreeBSD-src-1221790ff3c9e4d8796ffb8a65902317562749f7.tar.gz |
cam.c:
Clear up trailing NULs in cam_strvis.
cam_xpt.c:
Nuke an experimental quirk entry for the Toshiba 3401. The real
problem with this device turned out to be a bug in the aic7xxx
driver that was fixed months ago.
Add a quirk entry to inhibit multiple lun scanning and serial number
probing of DPT RAID volumes. My DPT controller hangs up solid when
I do either of these things to a RAID 1 volume.
Diffstat (limited to 'sys/cam/cam_xpt.c')
-rw-r--r-- | sys/cam/cam_xpt.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index 5c10591..4da3d68 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.8 1998/09/20 05:03:34 gibbs Exp $ + * $Id: cam_xpt.c,v 1.9 1998/09/20 07:14:36 gibbs Exp $ */ #include <sys/param.h> #include <sys/systm.h> @@ -274,14 +274,6 @@ static struct xpt_quirk_entry xpt_quirk_table[] = /*quirks*/0, /*mintags*/0, /*maxtags*/32 }, { - /* Doesn't understand EVP Serial Requests */ - { - T_CDROM, SIP_MEDIA_REMOVABLE, - "TOSHIBA", "CD-ROM XM-3401TA", "1094" - }, - CAM_QUIRK_NOSERIAL, /*mintags*/0, /*maxtags*/0 - }, - { /* * Hack until multiple-luns are supported by * the target mode code. @@ -293,6 +285,14 @@ static struct xpt_quirk_entry xpt_quirk_table[] = CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0 }, { + /* I can't believe I need a quirk for DPT volumes. */ + { + T_ANY, SIP_MEDIA_FIXED|SIP_MEDIA_REMOVABLE, + "DPT", "*", "*" + }, + CAM_QUIRK_NOSERIAL|CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/64 + }, + { /* Really only one LUN */ { T_ENCLOSURE, SIP_MEDIA_FIXED, "SUN", "SENA*", "*" |