Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/dev Align adresses better



details:   https://anonhg.NetBSD.org/src/rev/3f5ad78cf561
branches:  trunk
changeset: 473942:3f5ad78cf561
user:      is <is%NetBSD.org@localhost>
date:      Tue Jun 22 21:12:00 1999 +0000

description:
Align adresses better

diffstat:

 sys/arch/amiga/dev/com_supio.c |  4 ++--
 sys/arch/amiga/dev/lpt_supio.c |  4 ++--
 sys/arch/amiga/dev/zbus.c      |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 588cc5d4e608 -r 3f5ad78cf561 sys/arch/amiga/dev/com_supio.c
--- a/sys/arch/amiga/dev/com_supio.c    Tue Jun 22 20:27:21 1999 +0000
+++ b/sys/arch/amiga/dev/com_supio.c    Tue Jun 22 21:12:00 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: com_supio.c,v 1.12 1998/09/16 21:30:58 is Exp $        */
+/*     $NetBSD: com_supio.c,v 1.13 1999/06/22 21:12:00 is Exp $        */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -154,7 +154,7 @@
         */
        iobase = csc->sc_iobase = supa->supio_iobase;
        iot = csc->sc_iot = supa->supio_iot;
-       printf(" port 0x%x ipl %d", iobase, supa->supio_ipl);
+       printf(" port 0x%04x ipl %d", iobase, supa->supio_ipl);
 
        if (bus_space_map(iot, iobase, COM_NPORTS, 0, &csc->sc_ioh))
                panic("comattach: io mapping failed");
diff -r 588cc5d4e608 -r 3f5ad78cf561 sys/arch/amiga/dev/lpt_supio.c
--- a/sys/arch/amiga/dev/lpt_supio.c    Tue Jun 22 20:27:21 1999 +0000
+++ b/sys/arch/amiga/dev/lpt_supio.c    Tue Jun 22 21:12:00 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lpt_supio.c,v 1.5 1999/02/16 23:34:12 is Exp $ */
+/*     $NetBSD: lpt_supio.c,v 1.6 1999/06/22 21:12:00 is Exp $ */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -121,7 +121,7 @@
         if (bus_space_map(iot, iobase, LPT_NPORTS, 0, &lsc->sc_ioh))
                panic("lpt_supio_attach: io mapping failed");
 
-       printf(" port 0x%x ipl %d\n", iobase, supa->supio_ipl);
+       printf(" port 0x%04x ipl %d\n", iobase, supa->supio_ipl);
        lpt_attach_subr(lsc);
 
        sc->sc_isr.isr_intr = lpt_supio_intr;
diff -r 588cc5d4e608 -r 3f5ad78cf561 sys/arch/amiga/dev/zbus.c
--- a/sys/arch/amiga/dev/zbus.c Tue Jun 22 20:27:21 1999 +0000
+++ b/sys/arch/amiga/dev/zbus.c Tue Jun 22 21:12:00 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zbus.c,v 1.39 1999/03/31 02:47:38 mhitch Exp $ */
+/*     $NetBSD: zbus.c,v 1.40 1999/06/22 21:12:00 is Exp $     */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -332,7 +332,7 @@
                if (zap->manid == -1)
                        rv = UNSUPP;
        }
-       printf(" pa %p man/pro %d/%d", zap->pa, zap->manid, zap->prodid);
+       printf(" pa %8p man/pro %d/%d", zap->pa, zap->manid, zap->prodid);
        return(rv);
 }
 



Home | Main Index | Thread Index | Old Index