Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/scsipi Add SCSI_IGNORE_NOT_READY to the flags for CD...
details: https://anonhg.NetBSD.org/src/rev/2827a1dc1510
branches: trunk
changeset: 471706:2827a1dc1510
user: bouyer <bouyer%NetBSD.org@localhost>
date: Thu Apr 08 16:12:31 1999 +0000
description:
Add SCSI_IGNORE_NOT_READY to the flags for CDIOCCLOSE: some devices will
attempt to spin up, and report an error if there's no CD. Fixes port-i386/7345.
diffstat:
sys/dev/scsipi/cd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 793173393a12 -r 2827a1dc1510 sys/dev/scsipi/cd.c
--- a/sys/dev/scsipi/cd.c Thu Apr 08 15:53:31 1999 +0000
+++ b/sys/dev/scsipi/cd.c Thu Apr 08 16:12:31 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cd.c,v 1.125 1999/04/05 19:19:34 mycroft Exp $ */
+/* $NetBSD: cd.c,v 1.126 1999/04/08 16:12:31 bouyer Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -975,7 +975,7 @@
return (scsipi_start(cd->sc_link, SSS_STOP, 0));
case CDIOCCLOSE:
return (scsipi_start(cd->sc_link, SSS_START|SSS_LOEJ,
- SCSI_IGNORE_MEDIA_CHANGE));
+ SCSI_IGNORE_NOT_READY | SCSI_IGNORE_MEDIA_CHANGE));
case DIOCEJECT:
if (*(int *)addr == 0) {
/*
Home |
Main Index |
Thread Index |
Old Index