Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev Output "iic mux present" if this device...



details:   https://anonhg.NetBSD.org/src/rev/1774df7e2d16
branches:  trunk
changeset: 784615:1774df7e2d16
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sun Feb 03 17:46:28 2013 +0000

description:
Output "iic mux present" if this device has multiple IIC buses (0 and 1).
The device has multiple buses if the second (bus select) register is present.

diffstat:

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

diffs (26 lines):

diff -r 2de318fe744c -r 1774df7e2d16 sys/arch/sparc64/dev/pcfiic_ebus.c
--- a/sys/arch/sparc64/dev/pcfiic_ebus.c        Sun Feb 03 17:41:02 2013 +0000
+++ b/sys/arch/sparc64/dev/pcfiic_ebus.c        Sun Feb 03 17:46:28 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcfiic_ebus.c,v 1.3 2012/03/18 05:26:58 mrg Exp $      */
+/*     $NetBSD: pcfiic_ebus.c,v 1.4 2013/02/03 17:46:28 jdc Exp $      */
 /*     $OpenBSD: pcfiic_ebus.c,v 1.13 2008/06/08 03:07:40 deraadt Exp $ */
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcfiic_ebus.c,v 1.3 2012/03/18 05:26:58 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcfiic_ebus.c,v 1.4 2013/02/03 17:46:28 jdc Exp $");
 
 /*
  * Device specific driver for the EBus i2c devices found on some sun4u
@@ -146,6 +146,7 @@
                        return;
                }
                sc->sc_master = 1;
+               printf(": iic mux present");
        }
 
        if (ea->ea_nintr >= 1)



Home | Main Index | Thread Index | Old Index