Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/xscale Add a comment explaining that we expect ...



details:   https://anonhg.NetBSD.org/src/rev/c2f46aa338e2
branches:  trunk
changeset: 517344:c2f46aa338e2
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Nov 10 23:14:51 2001 +0000

description:
Add a comment explaining that we expect the memory controller
registers to already be subregion'd off, and actually init
the PCI DMA tag.

diffstat:

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

diffs (28 lines):

diff -r 5957c09cf476 -r c2f46aa338e2 sys/arch/arm/xscale/i80312.c
--- a/sys/arch/arm/xscale/i80312.c      Sat Nov 10 23:14:08 2001 +0000
+++ b/sys/arch/arm/xscale/i80312.c      Sat Nov 10 23:14:51 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i80312.c,v 1.2 2001/11/09 17:44:43 thorpej Exp $       */
+/*     $NetBSD: i80312.c,v 1.3 2001/11/10 23:14:51 thorpej Exp $       */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -84,6 +84,8 @@
                panic("%s: unable to subregion ATU registers\n",
                    sc->sc_dev.dv_xname);
 
+       /* We expect the Memory Controller to be already sliced off. */
+
        /*
         * Disable the private space decode.
         */
@@ -240,9 +242,7 @@
         */
        i80312_io_bs_init(&sc->sc_pci_iot, sc);
        i80312_mem_bs_init(&sc->sc_pci_memt, sc);
-#if 0
        i80312_pci_dma_init(&sc->sc_pci_dmat, sc);
-#endif
        i80312_pci_init(&sc->sc_pci_chipset, sc);
 
        /*



Home | Main Index | Thread Index | Old Index