Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/scsipi Now that we do real use of CDIOCCLOSE, we can...
details: https://anonhg.NetBSD.org/src/rev/44efb598e101
branches: trunk
changeset: 471674:44efb598e101
user: bouyer <bouyer%NetBSD.org@localhost>
date: Wed Apr 07 12:47:27 1999 +0000
description:
Now that we do real use of CDIOCCLOSE, we can have SSS_START|SSS_LOEJ
in scsipi_start(). Adjust test so that timeout will let enouth time to
the drive to spin up.
diffstat:
sys/dev/scsipi/scsipi_base.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 6da040b79bbb -r 44efb598e101 sys/dev/scsipi/scsipi_base.c
--- a/sys/dev/scsipi/scsipi_base.c Wed Apr 07 11:21:49 1999 +0000
+++ b/sys/dev/scsipi/scsipi_base.c Wed Apr 07 12:47:27 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scsipi_base.c,v 1.20 1999/02/02 13:01:36 bouyer Exp $ */
+/* $NetBSD: scsipi_base.c,v 1.21 1999/04/07 12:47:27 bouyer Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -511,7 +511,7 @@
scsipi_cmd.how = type;
return (scsipi_command(sc_link,
(struct scsipi_generic *) &scsipi_cmd, sizeof(scsipi_cmd),
- 0, 0, 2, type == SSS_START ? 30000 : 10000, NULL, flags));
+ 0, 0, 2, (type & SSS_START) ? 30000 : 10000, NULL, flags));
}
/*
Home |
Main Index |
Thread Index |
Old Index