Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips Make these compile again.



details:   https://anonhg.NetBSD.org/src/rev/782d047880b9
branches:  trunk
changeset: 759694:782d047880b9
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Dec 15 00:05:46 2010 +0000

description:
Make these compile again.

diffstat:

 sys/arch/mips/adm5120/adm5120_extio.c |  6 +++---
 sys/arch/mips/adm5120/adm5120_obio.c  |  6 +++---
 sys/arch/mips/atheros/arbus.c         |  6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (81 lines):

diff -r 2c0b7e0eaf8f -r 782d047880b9 sys/arch/mips/adm5120/adm5120_extio.c
--- a/sys/arch/mips/adm5120/adm5120_extio.c     Wed Dec 15 00:04:51 2010 +0000
+++ b/sys/arch/mips/adm5120/adm5120_extio.c     Wed Dec 15 00:05:46 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: adm5120_extio.c,v 1.2 2008/10/24 22:16:26 dyoung Exp $ */
+/* $NetBSD: adm5120_extio.c,v 1.3 2010/12/15 00:05:47 matt Exp $ */
 
 /*-
  * Copyright (c) 2007 David Young.  All rights reserved.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adm5120_extio.c,v 1.2 2008/10/24 22:16:26 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adm5120_extio.c,v 1.3 2010/12/15 00:05:47 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -408,7 +408,7 @@
        if (ea->ea_cfio != EXTIOCF_CFIO_DEFAULT)
                aprint_normal(" cfio");
        if (ea->ea_addr != EXTIOCF_ADDR_DEFAULT)
-               aprint_normal(" addr 0x%lx", ea->ea_addr);
+               aprint_normal(" addr 0x%" PRIxBUSADDR, ea->ea_addr);
        if (ea->ea_gpio_mask != EXTIOCF_GPIO_MASK_DEFAULT)
                aprint_normal(" gpio_mask 0x%02x", ea->ea_gpio_mask);
 
diff -r 2c0b7e0eaf8f -r 782d047880b9 sys/arch/mips/adm5120/adm5120_obio.c
--- a/sys/arch/mips/adm5120/adm5120_obio.c      Wed Dec 15 00:04:51 2010 +0000
+++ b/sys/arch/mips/adm5120/adm5120_obio.c      Wed Dec 15 00:05:46 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: adm5120_obio.c,v 1.1 2007/03/20 08:52:03 dyoung Exp $ */
+/* $NetBSD: adm5120_obio.c,v 1.2 2010/12/15 00:05:47 matt Exp $ */
 
 /*-
  * Copyright (c) 2007 Ruslan Ermilov and Vsevolod Lobko.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adm5120_obio.c,v 1.1 2007/03/20 08:52:03 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adm5120_obio.c,v 1.2 2010/12/15 00:05:47 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -186,7 +186,7 @@
        if (pnp != NULL)
                aprint_normal("%s at %s", oa->oba_name, pnp);
        if (oa->oba_addr != OBIOCF_ADDR_DEFAULT)
-               aprint_normal(" addr 0x%lx", oa->oba_addr);
+               aprint_normal(" addr 0x%" PRIxBUSADDR, oa->oba_addr);
        if (oa->oba_gpio_mask != OBIOCF_GPIO_MASK_DEFAULT)
                aprint_normal(" gpio_mask 0x%02x", oa->oba_gpio_mask);
 
diff -r 2c0b7e0eaf8f -r 782d047880b9 sys/arch/mips/atheros/arbus.c
--- a/sys/arch/mips/atheros/arbus.c     Wed Dec 15 00:04:51 2010 +0000
+++ b/sys/arch/mips/atheros/arbus.c     Wed Dec 15 00:05:46 2010 +0000
@@ -1,4 +1,4 @@
-/* $Id: arbus.c,v 1.10 2006/09/04 05:17:26 gdamore Exp $ */
+/* $Id: arbus.c,v 1.11 2010/12/15 00:05:46 matt Exp $ */
 /*
  * Copyright (c) 2006 Urbana-Champaign Independent Media Center.
  * Copyright (c) 2006 Garrett D'Amore.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arbus.c,v 1.10 2006/09/04 05:17:26 gdamore Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arbus.c,v 1.11 2010/12/15 00:05:46 matt Exp $");
 
 #include "locators.h"
 #include <sys/param.h>
@@ -150,7 +150,7 @@
                aprint_normal("%s at %s", aa->aa_name, pnp);
 
        if (aa->aa_addr)
-               aprint_normal(" addr 0x%lx", aa->aa_addr);
+               aprint_normal(" addr 0x%" PRIxBUSADDR, aa->aa_addr);
 
        if (aa->aa_cirq >= 0)
                aprint_normal(" cpu irq %d", aa->aa_cirq);



Home | Main Index | Thread Index | Old Index