Source-Changes-HG archive

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

[src/netbsd-2]: src/sys/dev/ic Pull up patch (requested by bouyer in ticket #...



details:   https://anonhg.NetBSD.org/src/rev/1ddbaaeb590f
branches:  netbsd-2
changeset: 563957:1ddbaaeb590f
user:      riz <riz%NetBSD.org@localhost>
date:      Sat Aug 13 23:35:26 2005 +0000

description:
Pull up patch (requested by bouyer in ticket #5561):

CHAN_TO_WDC() doesn't exist on netbsd-2; correct this pullup (as
requested by bouyer).

diffstat:

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

diffs (27 lines):

diff -r fac72a0fed2f -r 1ddbaaeb590f sys/dev/ic/wdc.c
--- a/sys/dev/ic/wdc.c  Sat Aug 13 23:27:22 2005 +0000
+++ b/sys/dev/ic/wdc.c  Sat Aug 13 23:35:26 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdc.c,v 1.172.2.7.2.6 2005/08/13 23:27:22 riz Exp $ */
+/*     $NetBSD: wdc.c,v 1.172.2.7.2.7 2005/08/13 23:35:26 riz Exp $ */
 
 /*
  * Copyright (c) 1998, 2001, 2003 Manuel Bouyer.  All rights reserved.
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.172.2.7.2.6 2005/08/13 23:27:22 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.172.2.7.2.7 2005/08/13 23:35:26 riz Exp $");
 
 #ifndef WDCDEBUG
 #define WDCDEBUG
@@ -484,7 +484,7 @@
 int
 wdcprobe(struct wdc_channel *chp)
 {
-       struct wdc_softc *wdc = CHAN_TO_WDC(chp);
+       struct wdc_softc *wdc = chp->ch_wdc;
        /* default reset method */
        if (wdc->reset == NULL)
                wdc->reset = wdc_do_reset;



Home | Main Index | Thread Index | Old Index