files.sibyte revision 1.5.124.1 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: pcibus
30 attach sbpcihb at pci
31 file arch/mips/sibyte/pci/sbpcihb.c sbpcihb
32
33 # SB-1250 LDT Host bridge (acts like ppb)
34 device sbldthb: pcibus
35 attach sbldthb at pci
36 file arch/mips/sibyte/pci/sbldthb.c sbldthb
37
38 # sbscd children
39
40 device sbtimer
41 attach sbtimer at sbscd
42 file arch/mips/sibyte/dev/sbtimer.c sbtimer
43
44 device sbwdog: sysmon_wdog
45 attach sbwdog at sbscd
46 file arch/mips/sibyte/dev/sbwdog.c sbwdog
47
48 # sbobio children
49
50 # SB1250 MAC (XXX: maybe add mii_bitbang?)
51 device sbmac: arp, ether, ifnet, mii, mii_bitbang
52 attach sbmac at sbobio
53 file arch/mips/sibyte/dev/sbmac.c sbmac
54
55 # SB1250 built-in (asynchronous) serial ports
56 device sbscn: tty
57 attach sbscn at sbobio
58 file arch/mips/sibyte/dev/sbscn.c sbscn needs-flag
59
60 # XXX XXX
61 # need to think about SMBus more, just hack something together
62 # temporariliy so we can use the RTC.
63
64 # SB1250 SMBus
65 device smbus {[chan = -1], [dev = -1]}
66 attach smbus at sbobio
67 file arch/mips/sibyte/dev/sbsmbus.c smbus
68
69 # XXX XXX
70 # XXX also, this should be in sbmips/conf/files.sbmips
71 # Bogus RTC attachment
72 device xirtc
73 attach xirtc at smbus
74
75 device m41t81rtc
76 attach m41t81rtc at smbus
77
78 file arch/sbmips/sbmips/rtc.c xirtc | m41t81rtc
79