diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2008-07-26 18:55:32 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2008-07-26 18:55:32 +0000 |
commit | d81968badfd2181c48d0f3aa0dce792220fdf47f (patch) | |
tree | 42fa0b55af1d95a3d9c3f9f296d1a684417b3410 /sys | |
parent | 4184945f083ab5cbdaeb1ca6936af974255e935f (diff) |
Silence scsi_inquire_vpd() so devices that don't understand the necessary
INQUIRY options don't spam dmesg during probe. Seen by miod@ and kettenis@
for SCSI CD's.
ok miod@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/scsi/scsi_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c index efba28543c9..3bb110c6e1f 100644 --- a/sys/scsi/scsi_base.c +++ b/sys/scsi/scsi_base.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_base.c,v 1.130 2008/07/05 16:07:01 krw Exp $ */ +/* $OpenBSD: scsi_base.c,v 1.131 2008/07/26 18:55:31 krw Exp $ */ /* $NetBSD: scsi_base.c,v 1.43 1997/04/02 02:29:36 mycroft Exp $ */ /* @@ -360,7 +360,7 @@ scsi_inquire_vpd(struct scsi_link *sc_link, void *buf, u_int buflen, error = scsi_scsi_cmd(sc_link, (struct scsi_generic *)&scsi_cmd, sizeof(scsi_cmd), buf, buflen, 2, 10000, NULL, - SCSI_DATA_IN | flags); + SCSI_DATA_IN | SCSI_SILENT | flags); return (error); } |