files.sibyte revision 1.5.124.2 1 ###
2 ### SBMIPS DEVICES
3 ###
4
5 # System Control/Debug
6 device sbscd {[offset = -1], [intr[2] = {-1,-1}]}
7 attach sbscd at zbbus
8 file arch/mips/sibyte/dev/sbscd.c sbscd
9
10 # On-board I/O (slow I/O bridge)
11 device sbobio {[offset = -1], [intr[2] = {-1,-1}]}
12 attach sbobio at zbbus
13 file arch/mips/sibyte/dev/sbobio.c sbobio
14
15 # Generic bus, hang off of sbobio
16 device sbgbus {[chipsel = -1], [offset = 0], [intr[2] = {-1,-1}]}
17 attach sbgbus at sbobio
18 file arch/mips/sibyte/dev/sbgbus.c sbgbus
19
20 # I/O Bridge Zero attachment to ZBbus
21 device sbbrz: pcibus
22 attach sbbrz at zbbus
23 file arch/mips/sibyte/pci/sbbrz.c sbbrz
24 file arch/mips/sibyte/pci/sbbrz_pci.c sbbrz
25 file arch/mips/sibyte/pci/sbbrz_bus_io.c sbbrz
26 file arch/mips/sibyte/pci/sbbrz_bus_mem.c sbbrz
27
28 # Instantiated SB-1250 PCI Host bridge
29 device sbpcihb
30 attach sbpcihb at pci
31 file arch/mips/sibyte/pci/sbpcihb.c sbpcihb
32
33 # sbscd children
34
35 device sbtimer
36 attach sbtimer at sbscd
37 file arch/mips/sibyte/dev/sbtimer.c sbtimer
38
39 device sbwdog: sysmon_wdog
40 attach sbwdog at sbscd
41 file arch/mips/sibyte/dev/sbwdog.c sbwdog
42
43 # sbobio children
44
45 # SB1250 MAC (XXX: maybe add mii_bitbang?)
46 device sbmac: arp, ether, ifnet, mii, mii_bitbang
47 attach sbmac at sbobio
48 file arch/mips/sibyte/dev/sbmac.c sbmac
49
50 # SB1250 built-in (asynchronous) serial ports
51 device sbscn: tty
52 attach sbscn at sbobio
53 file arch/mips/sibyte/dev/sbscn.c sbscn needs-flag
54
55 # XXX XXX
56 # need to think about SMBus more, just hack something together
57 # temporariliy so we can use the RTC.
58
59 # SB1250 SMBus
60 device smbus {[chan = -1], [dev = -1]}
61 attach smbus at sbobio
62 file arch/mips/sibyte/dev/sbsmbus.c smbus
63
64 # XXX XXX
65 # XXX also, this should be in sbmips/conf/files.sbmips
66 # Bogus RTC attachment
67 device xirtc
68 attach xirtc at smbus
69
70 device m41t81rtc
71 attach m41t81rtc at smbus
72
73 file arch/sbmips/sbmips/rtc.c xirtc | m41t81rtc
74