Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arc/arc cosmetics.



details:   https://anonhg.NetBSD.org/src/rev/923794806f13
branches:  trunk
changeset: 540305:923794806f13
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Mon Dec 09 13:38:30 2002 +0000

description:
cosmetics.

diffstat:

 sys/arch/arc/arc/c_nec_eisa.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r 3f2c82d4e22e -r 923794806f13 sys/arch/arc/arc/c_nec_eisa.c
--- a/sys/arch/arc/arc/c_nec_eisa.c     Mon Dec 09 13:36:26 2002 +0000
+++ b/sys/arch/arc/arc/c_nec_eisa.c     Mon Dec 09 13:38:30 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: c_nec_eisa.c,v 1.3 2002/12/07 13:09:46 tsutsui Exp $   */
+/*     $NetBSD: c_nec_eisa.c,v 1.4 2002/12/09 13:38:30 tsutsui Exp $   */
 
 /*-
  * Copyright (C) 2000 Shuichiro URATA.  All rights reserved.
@@ -61,6 +61,7 @@
 int
 isabr_nec_eisa_intr_status()
 {
+
        return (in32(RD94_SYS_INTSTAT2) & (ICU_LEN - 1));
 }
 
@@ -81,6 +82,7 @@
 jazzio_nec_eisa_set_iointr_mask(mask)
        int mask;
 {
+
        out16(RD94_SYS_LB_IE2, mask);
 }
 
@@ -90,10 +92,10 @@
 void
 c_nec_eisa_init()
 {
+
        /*
         * Initialize I/O address offset
         */
-
        arc_bus_space_init(&jazzio_bus, "jazzio",
            RD94_P_LOCAL_IO_BASE, RD94_V_LOCAL_IO_BASE,
            RD94_V_LOCAL_IO_BASE, RD94_S_LOCAL_IO_BASE);
@@ -109,7 +111,7 @@
         */
        arc_enter_wired(RD94_V_LOCAL_IO_BASE, RD94_P_LOCAL_IO_BASE, 0,
            MIPS3_PG_SIZE_256K);
-       arc_enter_wired(RD94_V_PCI_IO, RD94_P_PCI_IO, RD94_P_PCI_MEM,
+       arc_enter_wired(RD94_V_EISA_IO, RD94_P_EISA_IO, RD94_P_EISA_MEM,
            MIPS3_PG_SIZE_16M);
 
        /*



Home | Main Index | Thread Index | Old Index