Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/scsipi Don't be silent if there is no media present.



details:   https://anonhg.NetBSD.org/src/rev/eb344187cdee
branches:  trunk
changeset: 551881:eb344187cdee
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Sat Sep 13 15:49:04 2003 +0000

description:
Don't be silent if there is no media present.

diffstat:

 sys/dev/scsipi/cd.c |  6 +++---
 sys/dev/scsipi/sd.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 5a5c500fd490 -r eb344187cdee sys/dev/scsipi/cd.c
--- a/sys/dev/scsipi/cd.c       Sat Sep 13 15:32:40 2003 +0000
+++ b/sys/dev/scsipi/cd.c       Sat Sep 13 15:49:04 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cd.c,v 1.195 2003/09/13 14:44:50 mycroft Exp $ */
+/*     $NetBSD: cd.c,v 1.196 2003/09/13 15:49:04 mycroft Exp $ */
 
 /*-
  * Copyright (c) 1998, 2001, 2003 The NetBSD Foundation, Inc.
@@ -54,7 +54,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.195 2003/09/13 14:44:50 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.196 2003/09/13 15:49:04 mycroft Exp $");
 
 #include "rnd.h"
 
@@ -441,7 +441,7 @@
                /* Check that it is still responding and ok. */
                error = scsipi_test_unit_ready(periph,
                    XS_CTL_IGNORE_ILLEGAL_REQUEST | XS_CTL_IGNORE_MEDIA_CHANGE |
-                   XS_CTL_SILENT_NODEV | silent);
+                   silent);
 
                /*
                 * Start the pack spinning if necessary. Always allow the
diff -r 5a5c500fd490 -r eb344187cdee sys/dev/scsipi/sd.c
--- a/sys/dev/scsipi/sd.c       Sat Sep 13 15:32:40 2003 +0000
+++ b/sys/dev/scsipi/sd.c       Sat Sep 13 15:49:04 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sd.c,v 1.207 2003/09/13 14:44:50 mycroft Exp $ */
+/*     $NetBSD: sd.c,v 1.208 2003/09/13 15:49:05 mycroft Exp $ */
 
 /*-
  * Copyright (c) 1998, 2003 The NetBSD Foundation, Inc.
@@ -54,7 +54,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.207 2003/09/13 14:44:50 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.208 2003/09/13 15:49:05 mycroft Exp $");
 
 #include "opt_scsi.h"
 #include "opt_bufq.h"
@@ -421,7 +421,7 @@
                /* Check that it is still responding and ok. */
                error = scsipi_test_unit_ready(periph,
                    XS_CTL_IGNORE_ILLEGAL_REQUEST | XS_CTL_IGNORE_MEDIA_CHANGE |
-                   XS_CTL_SILENT_NODEV | silent);
+                   silent);
 
                /*
                 * Start the pack spinning if necessary. Always allow the



Home | Main Index | Thread Index | Old Index