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