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