files.prep revision 1.6
1# $NetBSD: files.prep,v 1.6 2000/06/08 13:16:23 nonaka Exp $ 2# 3# prep-specific configuration info 4# 5maxpartitions 8 6 7maxusers 2 8 64 8 9file arch/prep/prep/autoconf.c 10file arch/prep/prep/bus_dma.c 11file arch/prep/prep/bus_space.c 12file arch/prep/prep/clock.c 13file arch/prep/prep/conf.c 14file arch/prep/prep/disksubr.c disk 15file arch/prep/prep/extintr.c 16file arch/prep/prep/machdep.c 17file dev/clock_subr.c 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/prep/prep/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: pcibus, mainbus 50attach mainbus at root 51file arch/prep/prep/mainbus.c mainbus 52 53device cpu 54attach cpu at mainbus 55file arch/prep/prep/cpu.c cpu 56 57# 58# PCI-only drivers 59# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 60# XXX devices to 'pci'. 61# 62include "dev/pci/files.pci" 63file arch/prep/pci/pci_machdep.c pci 64 65# PCI-Host bridge chipsets 66device pchb: pcibus 67attach pchb at pci 68file arch/prep/pci/pchb.c pchb 69 70# PCI-ISA bridges 71device pcib: isabus 72attach pcib at pci 73file arch/prep/pci/pcib.c pcib 74 75# 76# ISA and mixed ISA+PCI drivers 77# 78 79include "dev/isa/files.isa" 80major {mcd = 7} 81file arch/prep/isa/isa_machdep.c isa 82file arch/prep/isa/isadma_machdep.c isa 83 84# 85# clock 86# 87# mc146818 and compat. 88device mcclock 89attach mcclock at isa with mcclock_isa 90file arch/prep/prep/mcclock.c mcclock 91file arch/prep/isa/mcclock_isa.c mcclock_isa 92 93# attribute used to represent the "keyboard controller" 94# XXX should be a real device 95define pckbcport { [irq = -1], [port = -1] } 96 97# PC console support a la "pccons" 98device pc: tty, pckbcport 99attach pc at isa 100device pcconskbd 101attach pcconskbd at pckbc 102file arch/prep/isa/pccons.c pc | pcconskbd needs-flag 103 104include "dev/wscons/files.wscons" 105 106include "dev/pckbc/files.pckbc" 107 108# ISA speaker generates keyboard beep 109device isabeep 110attach isabeep at pcppi 111file arch/prep/isa/isabeep.c 112 113# Floppy disk controller 114device fdc {drive = -1} 115attach fdc at isa 116device fd: disk, isadma 117attach fd at fdc 118file arch/prep/isa/fd.c fdc needs-flag 119major {fd = 2} 120 121# Game adapter (joystick) 122device joy 123file arch/prep/isa/joy.c joy needs-flag 124 125attach joy at isa with joy_isa 126file arch/prep/isa/joy_isa.c joy_isa 127 128# network devices MII bus 129include "dev/mii/files.mii" 130 131# USB drivers 132include "dev/usb/files.usb" 133 134# Linux binary compatibility (COMPAT_LINUX) 135#include "compat/linux/files.linux" 136#include "compat/linux/arch/powerpc/files.linux_powerpc" 137 138# OSS audio driver compatibility 139include "compat/ossaudio/files.ossaudio" 140