files.prep revision 1.1
1# $NetBSD: files.prep,v 1.1 2000/02/29 15:21:25 nonaka Exp $ 2# 3# prep-specific configuration info 4# 5maxpartitions 16 6 7maxusers 2 8 64 8 9file arch/prep/prep/autoconf.c 10file arch/prep/prep/bus_dma.c 11file arch/prep/prep/clock.c 12file arch/prep/prep/conf.c 13file arch/prep/prep/disksubr.c disk 14file arch/prep/prep/extintr.c 15file arch/prep/prep/machdep.c 16file dev/clock_subr.c 17file dev/cons.c 18 19# 20# Machine-independent SCSI drivers 21# 22include "dev/scsipi/files.scsipi" 23major {sd = 4} 24major {cd = 6} 25 26# 27# Machine-independent ATA drivers 28# 29 30include "dev/ata/files.ata" 31major {wd = 0} 32 33# 34# Memory Disk for install floppy 35# 36file arch/prep/prep/md_root.c memory_disk_hooks 37major {md = 17} 38 39# 40# System bus types 41# 42define mainbus {} 43device mainbus: pcibus, mainbus 44attach mainbus at root 45file arch/prep/prep/mainbus.c mainbus 46 47device cpu 48attach cpu at mainbus 49file arch/prep/prep/cpu.c cpu 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/prep/pci/pci_machdep.c pci 58 59# PCI-Host bridge chipsets 60device pchb: pcibus 61attach pchb at pci 62file arch/prep/pci/pchb.c pchb 63 64# PCI-ISA bridges 65device pcib: isabus 66attach pcib at pci 67file arch/prep/pci/pcib.c pcib 68 69# 70# ISA and mixed ISA+PCI drivers 71# 72 73include "dev/isa/files.isa" 74major {mcd = 7} 75file arch/prep/isa/isa_machdep.c isa 76file arch/prep/isa/isadma_machdep.c isa 77 78# 79# clock 80# 81# mc146818 and compat. 82device mcclock 83attach mcclock at isa with mcclock_isa 84file arch/prep/prep/mcclock.c mcclock 85file arch/prep/isa/mcclock_isa.c mcclock_isa 86 87# attribute used to represent the "keyboard controller" 88# XXX should be a real device 89define pckbcport { [irq = -1], [port = -1] } 90 91# PC console support a la "pccons" 92device pc: tty, pckbcport 93attach pc at isa 94device pcconskbd 95attach pcconskbd at pckbc 96file arch/prep/isa/pccons.c pc | pcconskbd needs-flag 97 98include "dev/wscons/files.wscons" 99 100include "dev/pckbc/files.pckbc" 101 102# ISA speaker generates keyboard beep 103device isabeep 104attach isabeep at pcppi 105file arch/prep/isa/isabeep.c 106 107# Floppy disk controller 108device fdc {drive = -1} 109attach fdc at isa 110device fd: disk, isadma 111attach fd at fdc 112file arch/prep/isa/fd.c fdc needs-flag 113major {fd = 2} 114 115# Game adapter (joystick) 116device joy 117file arch/prep/isa/joy.c joy needs-flag 118 119attach joy at isa with joy_isa 120file arch/prep/isa/joy_isa.c joy_isa 121 122# network devices MII bus 123include "dev/mii/files.mii" 124 125# 126# Linux binary compatibility (COMPAT_LINUX) 127# 128#include "compat/linux/files.linux" 129#include "compat/linux/arch/powerpc/files.linux_powerpc" 130 131# 132# OSS audio driver compatibility 133# 134#include "compat/ossaudio/files.ossaudio" 135