files.bebox revision 1.11
1#	$NetBSD: files.bebox,v 1.11 1998/05/28 08:44:59 sakamoto 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
20major	{vnd = 14}
21
22#
23# Machine-independent SCSI drivers
24#
25include "dev/scsipi/files.scsipi"
26major	{sd = 4}
27major	{st = 5}
28major	{cd = 6}
29
30#
31# Machine-independent ATA drivers
32#
33
34include "dev/ata/files.ata"
35major	{wd = 0}
36
37#
38# Memory Disk for install floppy
39#
40file arch/bebox/bebox/md_root.c   memory_disk_hooks 
41major   {md = 17}
42
43#
44# System bus types
45#
46define mainbus { }
47device	mainbus: isabus, pcibus, mainbus
48attach	mainbus at root
49file	arch/bebox/bebox/mainbus.c	mainbus
50
51#
52# PCI-only drivers
53# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
54# XXX devices to 'pci'.
55#
56include "../../../dev/pci/files.pci"
57file	arch/bebox/pci/pci_machdep.c	pci
58
59# PCI-Host bridge chipsets
60device	pchb: pcibus
61attach	pchb at pci
62file	arch/bebox/pci/pchb.c		pchb
63
64# PCI-ISA bridges
65device	pcib: isabus
66attach	pcib at pci
67file	arch/bebox/pci/pcib.c		pcib
68
69#
70# ISA and mixed ISA+PCI drivers
71#
72
73include "dev/isa/files.isa"
74major	{mcd = 7}
75#major	{scd = 15}
76major	{wt = 3}
77
78file	arch/bebox/isa/isa_machdep.c	isa
79file	arch/bebox/isa/isadma_machdep.c	isa
80
81# PC clock
82file	arch/bebox/isa/isaclock.c		isa
83
84# attribute used to represent the "keyboard controller"
85# XXX should be a real device
86define pckbcport { [irq = -1], [port = -1] }
87
88# PC console support a la "pccons"
89device	pc: tty, pckbcport
90attach	pc at isa
91device	pcconskbd
92attach	pcconskbd at pckbc
93file	arch/bebox/isa/pccons.c		pc | pcconskbd needs-flag
94
95# PC console support a la "pcvt"
96device	vt: tty, pckbcport
97attach	vt at isa
98file	arch/bebox/isa/pcvt/pcvt_drv.c	vt needs-flag
99file	arch/bebox/isa/pcvt/pcvt_ext.c	vt needs-flag
100file	arch/bebox/isa/pcvt/pcvt_kbd.c	vt needs-flag
101file	arch/bebox/isa/pcvt/pcvt_out.c	vt needs-flag
102file	arch/bebox/isa/pcvt/pcvt_sup.c	vt needs-flag
103file	arch/bebox/isa/pcvt/pcvt_vtf.c	vt needs-flag
104
105# PC Mice; Logitech-style, Microsoft-style, and PS/2-style
106device	lms
107attach	lms at isa
108file	arch/bebox/isa/lms.c		lms needs-flag
109device	mms
110attach	mms at isa
111file	arch/bebox/isa/mms.c		mms needs-flag
112device	pms
113attach	pms at pckbcport with pms_hack
114attach	pms at pckbc with pms_pckbc
115file	arch/bebox/isa/pms.c		pms | pms_hack | pms_pckbc needs-flag
116
117include	"dev/wscons/files.wscons"
118
119include "dev/pckbc/files.pckbc"
120
121# Floppy disk controller
122device	fdc {drive = -1}
123attach	fdc at isa
124device	fd: disk, isadma
125attach	fd at fdc
126file	arch/bebox/isa/fd.c		fdc needs-flag
127major	{fd = 2}
128
129# Game adapter (joystick)
130device	joy
131file	arch/bebox/isa/joy.c		joy needs-flag
132
133attach	joy at isa with joy_isa
134file	arch/bebox/isa/joy_isa.c		joy_isa
135