xref: /netbsd-src/sys/arch/sbmips/conf/files.sbmips (revision b1c86f5f087524e68db12794ee9c3e3da1ab17a0)
1# $NetBSD: files.sbmips,v 1.14 2008/02/20 21:43:35 drochner Exp $
2
3maxpartitions 8
4
5maxusers 1 8 64
6
7file arch/sbmips/sbmips/autoconf.c
8file arch/sbmips/sbmips/machdep.c
9file arch/sbmips/sbmips/console.c
10file arch/sbmips/sbmips/disksubr.c
11file arch/sbmips/sbmips/systemsw.c
12file dev/cons.c
13
14file arch/sbmips/sbmips/sb1250_icu.c
15
16file arch/mips/cfe/cfe_api.c
17file arch/mips/mips/softintr.c
18file arch/mips/mips/mips3_clock.c
19
20###
21### MI device inclusion
22###
23
24# Machine-independent I2O drivers.
25include "dev/i2o/files.i2o"
26
27# Machine-independent SCSI drivers
28include "dev/scsipi/files.scsipi"
29
30# Machine-independent ATA drivers
31include "dev/ata/files.ata"
32
33# Memory Disk
34file	dev/md_root.c			memory_disk_hooks
35
36# ISA Bus support
37include "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
38include "dev/isa/files.isa"
39# XXXCGD machdep isa files
40
41# PC Keyboard Controller support
42include "dev/pckbport/files.pckbport"
43
44# XXXCGD lots of junk isa devices, e.g. fd
45
46# ISA Plug 'n Play devices
47file	arch/alpha/isa/isapnp_machdep.c	isapnp
48
49# PCI Bus support
50# include "dev/pci/files.pci" XXX SEE ABOVE
51#file	arch/sbmips/dev/pci/pci_machdep.c	pci
52# XXXCGD macdep pci files
53
54# XXXX pcic here because it needs to be late.  The catch: pcic needs
55# to be late, so devices which attach to it are attached late.  But it
56# needs to be before its isa and pci attachments.  This answer is
57# non-optimal, but I don't have a better answer right now.
58
59# PCIC pcmcia contoller
60# XXX this needs to be done very late, so it's done here.  This feels
61# like a kludge, but it might be for the best.
62
63defparam PCIC_ISA_ALLOC_IOBASE
64defparam PCIC_ISA_ALLOC_IOSIZE
65defparam PCIC_ISA_INTR_ALLOC_MASK
66
67device	pcic: pcmciabus
68file	dev/ic/i82365.c			pcic
69
70# PCIC pcmcia controller on ISA bus.
71attach	pcic at isa with pcic_isa
72file	dev/isa/i82365_isa.c		pcic_isa
73
74# PCIC pcmcia controller on PCI bus.
75attach	pcic at pci with pcic_pci
76file	dev/pci/i82365_pci.c		pcic_pci
77
78# PCIC pcmcia controller on PnP board
79attach pcic at isapnp with pcic_isapnp
80file	dev/isapnp/i82365_isapnp.c	pcic_isapnp
81
82# Code common to ISA and ISAPnP attachments
83file	dev/isa/i82365_isasubr.c	pcic_isa | pcic_isapnp | pcic_pci
84
85
86# this wants to be probed as late as possible.
87#
88# Machine-independent PCMCIA drivers
89#
90#XXXCGD can't yet becaue needs fdc include "dev/pcmcia/files.pcmcia"
91#
92# Machine-independent USB device support
93#
94include "dev/usb/files.usb"
95
96###
97### SBMIPS DEVICES
98###
99
100# Ze Big Bus: main system bus
101device	zbbus {[busid = -1]}
102attach	zbbus at root
103file	arch/sbmips/sbmips/zbbus.c		zbbus
104
105# CPUs
106device	cpu
107attach	cpu at zbbus
108file	arch/sbmips/sbmips/cpu.c		cpu
109
110include "arch/evbmips/conf/majors.evbmips"
111