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