xref: /netbsd-src/sys/arch/bebox/conf/files.bebox (revision 481fca6e59249d8ffcf24fef7cfbe7b131bfb080)
1#	$NetBSD: files.bebox,v 1.20 2000/04/23 16:47:47 thorpej Exp $
2#
3# First try for bebox specific configuration info
4#
5maxpartitions 16
6
7maxusers 2 8 64
8
9file	arch/bebox/bebox/autoconf.c
10file	arch/bebox/bebox/bus_dma.c
11file	arch/bebox/bebox/clock.c
12file	arch/bebox/bebox/conf.c
13file	arch/bebox/bebox/disksubr.c		disk
14file	arch/bebox/bebox/extintr.c
15file	arch/bebox/bebox/machdep.c
16
17# General files
18file	dev/cons.c
19
20#
21# Machine-independent SCSI drivers
22#
23include "dev/scsipi/files.scsipi"
24major	{sd = 4}
25major	{cd = 6}
26
27#
28# Machine-independent ATA drivers
29#
30
31include "dev/ata/files.ata"
32major	{wd = 0}
33
34#
35# Memory Disk for install floppy
36#
37file arch/bebox/bebox/md_root.c   memory_disk_hooks
38major   {md = 17}
39
40#
41# RAIDframe
42#
43major	{raid = 18}
44
45#
46# System bus types
47#
48define mainbus { }
49device	mainbus: isabus, pcibus, mainbus
50attach	mainbus at root
51file	arch/bebox/bebox/mainbus.c	mainbus
52
53#
54# PCI-only drivers
55# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
56# XXX devices to 'pci'.
57#
58include "dev/pci/files.pci"
59file	arch/bebox/pci/pci_machdep.c	pci
60
61# PCI-Host bridge chipsets
62device	pchb: pcibus
63attach	pchb at pci
64file	arch/bebox/pci/pchb.c		pchb
65
66# PCI-ISA bridges
67device	pcib: isabus
68attach	pcib at pci
69file	arch/bebox/pci/pcib.c		pcib
70
71#
72# ISA and mixed ISA+PCI drivers
73#
74
75include "dev/isa/files.isa"
76major	{mcd = 7}
77#major	{scd = 15}
78
79file	arch/bebox/isa/isa_machdep.c	isa
80file	arch/bebox/isa/isadma_machdep.c	isa
81
82# PC clock
83file	arch/bebox/isa/isaclock.c		isa
84
85# attribute used to represent the "keyboard controller"
86# XXX should be a real device
87define pckbcport { [irq = -1], [port = -1] }
88
89# PC console support a la "pccons"
90device	pc: tty, pckbcport
91attach	pc at isa
92device	pcconskbd
93attach	pcconskbd at pckbc
94file	arch/bebox/isa/pccons.c		pc | pcconskbd needs-flag
95
96# PC Mice; Logitech-style, Microsoft-style, and PS/2-style
97device	lms
98attach	lms at isa
99file	arch/bebox/isa/lms.c		lms needs-flag
100device	mms
101attach	mms at isa
102file	arch/bebox/isa/mms.c		mms needs-flag
103device	opms
104attach	opms at pckbcport with pms_hack
105attach	opms at pckbc with pms_pckbc
106file	arch/bebox/isa/pms.c		pms | pms_hack | pms_pckbc needs-flag
107
108include	"dev/wscons/files.wscons"
109
110device	pfb: wsemuldisplaydev, wsrasteremulops
111attach	pfb at pci
112file	arch/bebox/pci/pfb.c		pfb needs-flag
113
114include "dev/pckbc/files.pckbc"
115
116# Floppy disk controller
117device	fdc {drive = -1}: isadma
118file	dev/isa/fd.c			fdc needs-flag
119
120attach	fdc at isa with fdc_isa
121file	dev/isa/fdc_isa.c		fdc_isa
122
123device	fd: disk
124attach	fd at fdc
125major	{fd = 2}
126
127# Game adapter (joystick)
128device	joy
129file	arch/bebox/isa/joy.c		joy needs-flag
130
131attach	joy at isa with joy_isa
132file	arch/bebox/isa/joy_isa.c		joy_isa
133
134# ISA Plug 'n Play support
135file	arch/bebox/isa/isapnp_machdep.c		isapnp
136