Mon Dec 14 07:23:08 2009 UTC ()
- replace single bus space with two (big & little endian) bus spaces for obio
- configure RMI XLx USB Interface driver rmixl_usbi
- attach ohci at rmixl_usbi
- attach ehci at rmixl_usbi


(cliff)
diff -r1.1.2.6 -r1.1.2.7 src/sys/arch/mips/conf/files.rmixl

cvs diff -r1.1.2.6 -r1.1.2.7 src/sys/arch/mips/conf/files.rmixl (expand / switch to unified diff)

--- src/sys/arch/mips/conf/files.rmixl 2009/11/15 22:58:15 1.1.2.6
+++ src/sys/arch/mips/conf/files.rmixl 2009/12/14 07:23:07 1.1.2.7
@@ -1,29 +1,44 @@ @@ -1,29 +1,44 @@
1# $NetBSD: files.rmixl,v 1.1.2.6 2009/11/15 22:58:15 cliff Exp $ 1# $NetBSD: files.rmixl,v 1.1.2.7 2009/12/14 07:23:07 cliff Exp $
2# 2#
3# Configuration info for RMI XLP, XLR, XLS 3# Configuration info for RMI XLP, XLR, XLS
4# 4#
5 5
6file arch/mips/rmi/rmixl_intr.c 6file arch/mips/rmi/rmixl_intr.c
7file arch/mips/rmi/rmixl_subr.S 7file arch/mips/rmi/rmixl_subr.S
8 8
9# OBIO: offsets are from System Bridge Controller base 9# OBIO: offsets are from System Bridge Controller base
10define obio { [addr=-1], [size=0], [intr=-1], [mult=1] } 10define obio { [addr=-1], [size=0], [intr=-1], [mult=1] }
11device obio: obio 11device obio: obio
12attach obio at mainbus 12attach obio at mainbus
13file arch/mips/rmi/rmixl_obio.c obio needs-count 13file arch/mips/rmi/rmixl_obio.c obio needs-count
14file arch/mips/rmi/rmixl_obio_space.c obio 14file arch/mips/rmi/rmixl_obio_eb_space.c obio
 15file arch/mips/rmi/rmixl_obio_el_space.c obio
15file arch/mips/rmi/rmixl_pcie_cfg_space.c pci 16file arch/mips/rmi/rmixl_pcie_cfg_space.c pci
16file arch/mips/rmi/rmixl_pcie_ecfg_space.c pci 17file arch/mips/rmi/rmixl_pcie_ecfg_space.c pci
17file arch/mips/rmi/rmixl_pcie_io_space.c pci 18file arch/mips/rmi/rmixl_pcie_io_space.c pci
18file arch/mips/rmi/rmixl_pcie_mem_space.c pci 19file arch/mips/rmi/rmixl_pcie_mem_space.c pci
19 20
20# NS16550 compatible serial ports 21# NS16550 compatible serial ports
21attach com at obio with rmixl_com 22attach com at obio with rmixl_com
22file arch/mips/rmi/rmixl_com.c rmixl_com 23file arch/mips/rmi/rmixl_com.c rmixl_com
23defparam opt_com.h CONSADDR CONSFREQ CONSPEED CONMODE 24defparam opt_com.h CONSADDR CONSFREQ CONSPEED CONMODE
24 25
25# PCI 26# PCI
26device rmixl_pcie: pcibus 27device rmixl_pcie: pcibus
27attach rmixl_pcie at obio 28attach rmixl_pcie at obio
28file arch/mips/rmi/rmixl_pcie.c rmixl_pcie 29file arch/mips/rmi/rmixl_pcie.c rmixl_pcie
29 30
 31# On-chip USB interface
 32define rmixl_usbi { [addr=-1], [size=-1], [intr=-1] }
 33device rmixl_usbi: rmixl_usbi
 34attach rmixl_usbi at obio
 35file arch/mips/rmi/rmixl_usbi.c rmixl_usbi
 36
 37# On-chip OHCI USB controller
 38attach ohci at rmixl_usbi with rmixl_ohci
 39file arch/mips/rmi/rmixl_ohci.c ohci
 40
 41# On-chip EHCI USB controller
 42attach ehci at rmixl_usbi with rmixl_ehci
 43file arch/mips/rmi/rmixl_ehci.c ehci
 44