Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/dev Bring this up-to-date with the changes t...



details:   https://anonhg.NetBSD.org/src/rev/6610ea536dee
branches:  trunk
changeset: 748776:6610ea536dee
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Thu Nov 05 05:39:41 2009 +0000

description:
Bring this up-to-date with the changes to dbcool_softc.

diffstat:

 sys/arch/macppc/dev/dbcool_ki2c.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r e709c849ce18 -r 6610ea536dee sys/arch/macppc/dev/dbcool_ki2c.c
--- a/sys/arch/macppc/dev/dbcool_ki2c.c Thu Nov 05 05:37:30 2009 +0000
+++ b/sys/arch/macppc/dev/dbcool_ki2c.c Thu Nov 05 05:39:41 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dbcool_ki2c.c,v 1.5 2009/11/02 21:38:07 christos Exp $ */
+/*     $NetBSD: dbcool_ki2c.c,v 1.6 2009/11/05 05:39:41 dyoung Exp $ */
 
 /*-
  * Copyright (C) 2005 Michael Lorenz
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dbcool_ki2c.c,v 1.5 2009/11/02 21:38:07 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dbcool_ki2c.c,v 1.6 2009/11/05 05:39:41 dyoung Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -96,13 +96,13 @@
 
        ver = sc->sc_dc.dc_readreg(&sc->sc_dc, DBCOOL_REVISION_REG);
 
-       if (sc->sc_chip->flags & DBCFLAG_4BIT_VER)
+       if (sc->sc_dc.dc_chip->flags & DBCFLAG_4BIT_VER)
                aprint_normal_dev(self, "%s dBCool(tm) Controller "
-                       "(rev 0x%02x, stepping 0x%02x)\n", sc->sc_chip->name,
+                       "(rev 0x%02x, stepping 0x%02x)\n", sc->sc_dc.dc_chip->name,
                        ver >> 4, ver & 0x0f);
        else
                aprint_normal_dev(self, "%s dBCool(tm) Controller "
-                       "(rev 0x%04x)\n", sc->sc_chip->name, ver);
+                       "(rev 0x%04x)\n", sc->sc_dc.dc_chip->name, ver);
 
        dbcool_setup(self);
 



Home | Main Index | Thread Index | Old Index