Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/sunxi Make debug code compile again



details:   https://anonhg.NetBSD.org/src/rev/2a3b6a9be3f9
branches:  trunk
changeset: 836373:2a3b6a9be3f9
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Oct 14 14:09:53 2018 +0000

description:
Make debug code compile again

diffstat:

 sys/arch/arm/sunxi/sunxi_emac.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0cdd3fb76e02 -r 2a3b6a9be3f9 sys/arch/arm/sunxi/sunxi_emac.c
--- a/sys/arch/arm/sunxi/sunxi_emac.c   Sun Oct 14 13:36:32 2018 +0000
+++ b/sys/arch/arm/sunxi/sunxi_emac.c   Sun Oct 14 14:09:53 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_emac.c,v 1.17 2018/07/19 19:52:00 jmcneill Exp $ */
+/* $NetBSD: sunxi_emac.c,v 1.18 2018/10/14 14:09:53 martin Exp $ */
 
 /*-
  * Copyright (c) 2016-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -33,7 +33,7 @@
 #include "opt_net_mpsafe.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_emac.c,v 1.17 2018/07/19 19:52:00 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_emac.c,v 1.18 2018/10/14 14:09:53 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -1123,7 +1123,7 @@
        u_int n;
 
        for (n = 0; n < __arraycount(regs); n++)
-               device_printf(dev, "  %-20s %08x\n", regs[n].name,
+               device_printf(sc->dev, "  %-20s %08x\n", regs[n].name,
                    RD4(sc, regs[n].reg));
 }
 #endif



Home | Main Index | Thread Index | Old Index