Subject: CVS commit: src/sys/arch
To: None <source-changes@netbsd.org>
From: Ichiro Fukuhara <ichiro@netbsd.org>
List: source-changes
Date: 02/17/2003 22:51:54
Module Name:	src
Committed By:	ichiro
Date:		Mon Feb 17 20:51:54 UTC 2003

Modified Files:
	src/sys/arch/arm/ixp12x0: files.ixp12x0 ixp12x0.c ixp12x0_clk.c
	    ixp12x0_clkreg.h ixp12x0_com.c ixp12x0_comreg.h ixp12x0_intr.c
	    ixp12x0_io.c ixp12x0_pci.c ixp12x0_pci_dma.c ixp12x0_pcireg.h
	    ixp12x0reg.h ixp12x0var.h
	src/sys/arch/evbarm/conf: files.evbarm
	src/sys/arch/evbarm/ixm1200: ixm1200_pci.c ixp12x0_mainbus.c
	    nappi_nppb.c nappi_nr.c

Log Message:
files.ixp12x0
no need device ixpcom in evbarm/conf/files.evbarm move it to
arm/ixp12x0/files.ixp12x0

ixp12x0_com.c:
some fix around address handling
1. Do not call bus_space_map() in ixpcominit().  Calling bus_space_map()
   is not safe here, because bus_space_map() calls uvm_km_valloc() but
   uvm is not yet initialized.
2. Use dv_unit to determine console instead comparering iobase.
   Now you can attach ixpcom0 with physical address like this:
        ixpcom*         at ixpsip? addr 0x90000000 size 0x4000
Statically mapped address (0xf0000000) is still usable.

ixp12x0_clk:
1. access PLL_CFG register via bus_space
2. Make the delay() working correctly.  (bug fix)
3. Start the timer device without interrupt on attach time.
   Now delay() called before cpu_initclocks() works fine.

ixp12x0_pci:
1.Mapping PCI type0/1 configuration space to the upper address.
2."PCI I/O Cycle Access" mapping to same virtual address(VA==PA)
   but size of this mapping increase to 1MByte because fails
   cause couldnt set L2 table.
3.use bus_space address handling in ixp12x0_pci.c.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/arch/arm/ixp12x0/files.ixp12x0 \
    src/sys/arch/arm/ixp12x0/ixp12x0_pci.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/arm/ixp12x0/ixp12x0.c \
    src/sys/arch/arm/ixp12x0/ixp12x0_clk.c \
    src/sys/arch/arm/ixp12x0/ixp12x0_io.c
cvs rdiff -r1.1 -r1.2 src/sys/arch/arm/ixp12x0/ixp12x0_clkreg.h \
    src/sys/arch/arm/ixp12x0/ixp12x0_pcireg.h
cvs rdiff -r1.9 -r1.10 src/sys/arch/arm/ixp12x0/ixp12x0_com.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/arm/ixp12x0/ixp12x0_comreg.h \
    src/sys/arch/arm/ixp12x0/ixp12x0_intr.c \
    src/sys/arch/arm/ixp12x0/ixp12x0_pci_dma.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/arm/ixp12x0/ixp12x0reg.h \
    src/sys/arch/arm/ixp12x0/ixp12x0var.h
cvs rdiff -r1.16 -r1.17 src/sys/arch/evbarm/conf/files.evbarm
cvs rdiff -r1.2 -r1.3 src/sys/arch/evbarm/ixm1200/ixm1200_pci.c
cvs rdiff -r1.3 -r1.4 src/sys/arch/evbarm/ixm1200/ixp12x0_mainbus.c \
    src/sys/arch/evbarm/ixm1200/nappi_nr.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/evbarm/ixm1200/nappi_nppb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.