Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mvme68k/dev Put some delays around the SCSI bus res...
details: https://anonhg.NetBSD.org/src/rev/62b7b7ac39e7
branches: trunk
changeset: 471751:62b7b7ac39e7
user: scw <scw%NetBSD.org@localhost>
date: Sat Apr 10 11:14:16 1999 +0000
description:
Put some delays around the SCSI bus reset code.
diffstat:
sys/arch/mvme68k/dev/siop.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r bce096c2e6de -r 62b7b7ac39e7 sys/arch/mvme68k/dev/siop.c
--- a/sys/arch/mvme68k/dev/siop.c Sat Apr 10 04:41:52 1999 +0000
+++ b/sys/arch/mvme68k/dev/siop.c Sat Apr 10 11:14:16 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: siop.c,v 1.1 1999/02/20 00:12:00 scw Exp $ */
+/* $NetBSD: siop.c,v 1.2 1999/04/10 11:14:16 scw Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@@ -618,14 +618,18 @@
*/
rp->siop_istat |= SIOP_ISTAT_ABRT; /* abort current script */
rp->siop_istat |= SIOP_ISTAT_RST; /* reset chip */
+ delay(1);
rp->siop_istat &= ~SIOP_ISTAT_RST;
+ delay(100);
+
/*
* Reset SCSI bus (do we really want this?)
*/
rp->siop_sien = 0;
rp->siop_scntl1 |= SIOP_SCNTL1_RST;
- delay(1);
+ delay(10);
rp->siop_scntl1 &= ~SIOP_SCNTL1_RST;
+ delay(5000);
/*
* Set up various chip parameters
Home |
Main Index |
Thread Index |
Old Index