Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/prep/dev Revert previous, now that wdc.c properly i...



details:   https://anonhg.NetBSD.org/src/rev/e6d8306e6c9a
branches:  trunk
changeset: 583512:e6d8306e6c9a
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed Aug 10 11:19:31 2005 +0000

description:
Revert previous, now that wdc.c properly initialize wdc->reset for wdcprobe().

diffstat:

 sys/arch/prep/dev/wdc_obio.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r fd363c052f17 -r e6d8306e6c9a sys/arch/prep/dev/wdc_obio.c
--- a/sys/arch/prep/dev/wdc_obio.c      Wed Aug 10 11:16:53 2005 +0000
+++ b/sys/arch/prep/dev/wdc_obio.c      Wed Aug 10 11:19:31 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdc_obio.c,v 1.19 2005/08/09 16:42:05 nonaka Exp $     */
+/*     $NetBSD: wdc_obio.c,v 1.20 2005/08/10 11:19:31 bouyer Exp $     */
 
 /*-
  * Copyright (c) 1998, 2003 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc_obio.c,v 1.19 2005/08/09 16:42:05 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc_obio.c,v 1.20 2005/08/10 11:19:31 bouyer Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -107,7 +107,6 @@
            WDC_OBIO_AUXREG_NPORTS, 0, &wdr.ctl_ioh))
                goto outunmap;
 
-       wdc.reset = wdc_do_reset;
        result = wdcprobe(&ch);
        if (result) {
                oa->oa_iosize = WDC_OBIO_REG_NPORTS;



Home | Main Index | Thread Index | Old Index