Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/dev/ic Pull up revision 1.78 (2nd part, via patch, ...



details:   https://anonhg.NetBSD.org/src/rev/ca8324ffb097
branches:  netbsd-1-4
changeset: 470184:ca8324ffb097
user:      he <he%NetBSD.org@localhost>
date:      Sun Jan 23 12:30:20 2000 +0000

description:
Pull up revision 1.78 (2nd part, via patch, requested by bouyer):
  Issue a blank IDENTIFY before the real one, for drives which
  reject the first IDENTIFY after a reset.

diffstat:

 sys/dev/ic/wdc.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 9bddf08e2ebd -r ca8324ffb097 sys/dev/ic/wdc.c
--- a/sys/dev/ic/wdc.c  Sun Jan 23 12:27:44 2000 +0000
+++ b/sys/dev/ic/wdc.c  Sun Jan 23 12:30:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdc.c,v 1.66.2.6 2000/01/23 12:27:44 he Exp $ */
+/*     $NetBSD: wdc.c,v 1.66.2.7 2000/01/23 12:30:20 he Exp $ */
 
 
 /*
@@ -314,6 +314,7 @@
                        continue;
 
                /* Issue a IDENTIFY command, to try to detect slave ghost */
+               ata_get_params(&chp->ch_drive[i], AT_POLL, &params);
                if (ata_get_params(&chp->ch_drive[i], AT_POLL, &params) ==
                    CMD_OK) {
                        /* If IDENTIFY succeded, this is not an OLD ctrl */



Home | Main Index | Thread Index | Old Index