files.hpcmips revision 1.17
145bc899bSmrg# $NetBSD: files.hpcmips,v 1.17 2000/01/12 14:56:23 uch Exp $ 245bc899bSmrg 3a0c41156Smrg# maxpartitions must be first item in files.${ARCH}. 445bc899bSmrgmaxpartitions 8 5a0c41156Smrg 645bc899bSmrgmaxusers 2 8 64 7c97b1c41Smrg 8c97b1c41Smrg# 9c97b1c41Smrg# Machine-independent SCSI drivers 1045bc899bSmrg# 1145bc899bSmrg 12c97b1c41Smrginclude "dev/scsipi/files.scsipi" 13c97b1c41Smrgmajor {sd = 3} 14c97b1c41Smrgmajor {st = 4} 15c97b1c41Smrgmajor {cd = 5} 1645bc899bSmrg 1745bc899bSmrg# 18a0c41156Smrg# Machine-independent ATA drivers 1950f2e948Smrg# 2045bc899bSmrg 2145bc899bSmrginclude "dev/ata/files.ata" 2245bc899bSmrgmajor {wd = 1} 23c97b1c41Smrg 24c97b1c41Smrg# 25c97b1c41Smrg# Bus-independent devices 2645bc899bSmrg# 2750f2e948Smrgdevice mainbus { } # no locators 2857ba8e8bSmrgattach mainbus at root 2945bc899bSmrg 3045bc899bSmrgdevice cpu # not optional 3145bc899bSmrgattach cpu at mainbus 3245bc899bSmrgfile arch/hpcmips/hpcmips/cpu.c cpu 3345bc899bSmrg 3445bc899bSmrg# CPU support option headers 35b40a6198Smrgdefopt VR41X1 36a0c41156Smrgdefopt TX39XX 37b40a6198Smrg 3845bc899bSmrg# 3945bc899bSmrg# CPU-dependent files 4045bc899bSmrg# 4145bc899bSmrgfile arch/hpcmips/vr/vr.c vr41x1 # NEC VR4000 series 4245bc899bSmrgfile arch/hpcmips/tx/tx39.c tx39xx # TOSHIBA TX3900 series 4345bc899bSmrg 4445bc899bSmrgfile arch/mips/mips/fp.S softfloat 4545bc899bSmrg 4645bc899bSmrgfile arch/hpcmips/hpcmips/autoconf.c 4745bc899bSmrgfile arch/hpcmips/hpcmips/conf.c 4845bc899bSmrgfile arch/hpcmips/hpcmips/machdep.c 4945bc899bSmrgfile arch/hpcmips/hpcmips/platid.c 5045bc899bSmrgfile arch/hpcmips/hpcmips/platid_mask.c 5145bc899bSmrgfile arch/hpcmips/hpcmips/mainbus.c 5245bc899bSmrgfile arch/hpcmips/hpcmips/bus_space.c 5345bc899bSmrg#file arch/hpcmips/hpcmips/bus_dma.c 5445bc899bSmrgfile arch/hpcmips/hpcmips/disksubr.c disk 5545bc899bSmrgfile arch/hpcmips/hpcmips/config_hook.c 56f2408745Smrg 5745bc899bSmrg# Console autoconfiguration code: selects between a framebuffers 5845bc899bSmrgfile dev/cons.c 5945bc899bSmrgfile arch/hpcmips/dev/bicons.c 60a0c41156Smrgfile arch/hpcmips/dev/bifont.c 6145bc899bSmrg 6245bc899bSmrg# Raster operations 6345bc899bSmrginclude "dev/rasops/files.rasops" 6445bc899bSmrginclude "dev/wsfont/files.wsfont" 6545bc899bSmrg 6645bc899bSmrg# 6745bc899bSmrg# Workstation Console 6845bc899bSmrg# 6945bc899bSmrginclude "dev/wscons/files.wscons" 70a0c41156Smrg#device fb: wsemuldisplaydev, wsrasteremulops 7145bc899bSmrgdevice fb: wsemuldisplaydev, rasops1, rasops2, rasops8, rasops15, rasops16 7245bc899bSmrgattach fb at mainbus 7345bc899bSmrgfile arch/hpcmips/dev/fb.c fb needs-flag 7445bc899bSmrg 7545bc899bSmrg# 7645bc899bSmrg# ISA bus support 7745bc899bSmrg# 7845bc899bSmrginclude "dev/isa/files.isa" 7945bc899bSmrg 8045bc899bSmrg# 8145bc899bSmrg# pseudo devices 8250f2e948Smrg# 8345bc899bSmrgdefpseudo biconsdev 8450f2e948Smrgfile arch/hpcmips/dev/biconsdev.c biconsdev needs-count 8545bc899bSmrgdefpseudo btnmgr 8650f2e948Smrgfile arch/hpcmips/dev/btnmgr.c btnmgr 8745bc899bSmrg 8845bc899bSmrg# 8945bc899bSmrg# Vr41x1 integrated peripherals 9045bc899bSmrg# 9145bc899bSmrgdevice vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1], [pwctl=-1] } 9245bc899bSmrgattach vrip at mainbus 9345bc899bSmrgfile arch/hpcmips/vr/vrip.c vrip needs-flag 9445bc899bSmrg 9545bc899bSmrgdevice vrrtc 9645bc899bSmrgattach vrrtc at vrip 97a0c41156Smrgfile arch/hpcmips/vr/rtc.c vrrtc 9850f2e948Smrg 9945bc899bSmrgdevice vrcmu 10045bc899bSmrgattach vrcmu at vrip 10145bc899bSmrgfile arch/hpcmips/vr/cmu.c vrcmu 10245bc899bSmrg 10345bc899bSmrgdevice vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]} # GIU attachment 10445bc899bSmrgdevice gpbusif {[platform = -1], [comctrl = -1], [button0 = -1], [button1 = -1], [button2 = -1], [button3 = -1], [button4 = -1], [button5 = -1], [button6 = -1], [button7 = -1], [button8 = -1], [button9 = -1], [button10 = -1], [button11 = -1]} 10545bc899bSmrgdevice newgpbusif { [platform = -1], [id = -1], [port = -1], [active = 1], [level = -1] } 10645bc899bSmrg 10745bc899bSmrgdevice vrgiu: vrisabif, gpbusif, newgpbusif 10845bc899bSmrgattach vrgiu at vrip 10945bc899bSmrgfile arch/hpcmips/vr/vrgiu.c vrgiu 11045bc899bSmrg 11145bc899bSmrgdevice gpbus 11245bc899bSmrgattach gpbus at gpbusif 113a0c41156Smrgfile arch/hpcmips/vr/gpbus.c gpbus 114a0c41156Smrg 115a0c41156Smrgdevice vrisab: isabus 116a0c41156Smrgattach vrisab at vrisabif 11745bc899bSmrgfile arch/hpcmips/isa/isa_machdep.c vrisab 118a0c41156Smrg 119a0c41156Smrgdevice pwctl 120a0c41156Smrgattach pwctl at newgpbusif with pwctl_vrgiu 121a0c41156Smrgfile arch/hpcmips/vr/pwctl_vrgiu.c pwctl_vrgiu 122a0c41156Smrg 12345bc899bSmrgdevice button 124a0c41156Smrgattach button at newgpbusif with button_vrgiu 125a0c41156Smrgfile arch/hpcmips/vr/button_vrgiu.c button_vrgiu 126a0c41156Smrg 12745bc899bSmrgdevice vrbcu 128a0c41156Smrgattach vrbcu at vrip 129a0c41156Smrgfile arch/hpcmips/vr/bcu_vrip.c vrbcu needs-flag 130a0c41156Smrg 131a0c41156Smrgdevice vrkiu: wskbddev 132a0c41156Smrgattach vrkiu at vrip 133a0c41156Smrgfile arch/hpcmips/vr/vrkiu.c vrkiu needs-flag 134a0c41156Smrg# 135a0c41156Smrg# XXX files.pckbc XXX 136a0c41156Smrg# 137a0c41156Smrgdevice pckbd: wskbddev 138a0c41156Smrgattach pckbd at pckbc 139a0c41156Smrgfile dev/pckbc/pckbd.c pckbd needs-flag 140a0c41156Smrgfile dev/pckbc/wskbdmap_mfii.c pckbd | vrkiu | skbd 141a0c41156Smrgdefopt PCKBD_LAYOUT 142a0c41156Smrg 143a0c41156Smrgdevice vrpmu 144a0c41156Smrgattach vrpmu at vrip 145a0c41156Smrgfile arch/hpcmips/vr/vrpmu.c vrpmu needs-flag 146a0c41156Smrg 147a0c41156Smrgdevice vrdsu 148a0c41156Smrgattach vrdsu at vrip 149a0c41156Smrgfile arch/hpcmips/vr/vrdsu.c vrdsu needs-flag 15045bc899bSmrg 151a0c41156Smrgdefine tpcalib 152a0c41156Smrgfile arch/hpcmips/dev/tpcalib.c tpcalib 153a0c41156Smrgfile arch/hpcmips/dev/mra.c tpcalib 154a0c41156Smrg 155a0c41156Smrgdevice vrpiu: wsmousedev 156a0c41156Smrgattach vrpiu at vrip: tpcalib 157a0c41156Smrgfile arch/hpcmips/vr/vrpiu.c vrpiu 158a0c41156Smrg 159a0c41156Smrg# 160a0c41156Smrg# TOSHIBA TX3912/3922 161a0c41156Smrg# 162a0c41156Smrgdefopt TX39_DEBUG 163a0c41156Smrgdefopt TX39_WATCHDOGTIMER 164a0c41156Smrgdefopt TX39ICUDEBUG 165a0c41156Smrgdefopt TX39CLKDEBUG 166a0c41156Smrgdefopt TX39BIUDEBUG 167a0c41156Smrgdefopt TX39IODEBUG 168a0c41156Smrgdefopt TX39POWERDEBUG 169a0c41156Smrgdefopt TX39UARTDEBUG 170a0c41156Smrgdefopt USE_POLL 171a0c41156Smrg 172a0c41156Smrgdevice txsim { } 173a0c41156Smrgdevice txcsbusif {[platform = -1]} 174a0c41156Smrgdevice txcomif {[slot = -1]} 175a0c41156Smrgdevice txsibif {[slot = -1]} 176a0c41156Smrgdevice ucbif { } 177a0c41156Smrg 178a0c41156Smrgattach txsim at mainbus 179a0c41156Smrgfile arch/hpcmips/tx/txsim.c txsim 180a0c41156Smrgfile arch/hpcmips/tx/txsnd.c txsim 181a0c41156Smrg 182a0c41156Smrgdevice tx39biu: txcsbusif 183a0c41156Smrgattach tx39biu at txsim 184a0c41156Smrgfile arch/hpcmips/tx/tx39biu.c tx39biu 185a0c41156Smrg 18645bc899bSmrgdevice txcsbus {[regcs=-1], [regcsbase=0], [regcssize=-1], [regcswidth=-1], [iocs=-1], [iocsbase=0], [iocssize=-1], [iocswidth=-1], [memcs=-1], [memcsbase=0], [memcssize=-1], [memcswidth=-1], [irq1=-1], [irq2=-1], [irq3=-1]} 187a0c41156Smrgattach txcsbus at txcsbusif 188a0c41156Smrgfile arch/hpcmips/tx/txcsbus.c txcsbus 189a0c41156Smrg 190a0c41156Smrgdevice tx39icu 191a0c41156Smrgattach tx39icu at txsim 192a0c41156Smrgfile arch/hpcmips/tx/tx39icu.c tx39icu 193a0c41156Smrg 194a0c41156Smrgdevice tx39power 195a0c41156Smrgattach tx39power at txsim 196a0c41156Smrgfile arch/hpcmips/tx/tx39power.c tx39power 197a0c41156Smrg 198a0c41156Smrgdevice tx39clock 199a0c41156Smrgattach tx39clock at txsim 200a0c41156Smrgfile arch/hpcmips/tx/tx39clock.c tx39clock 201a0c41156Smrg 202a0c41156Smrgdevice tx3912video: mainbus # XXX crazy XXX 203a0c41156Smrgattach tx3912video at txsim 204a0c41156Smrgfile arch/hpcmips/tx/tx3912video.c tx3912video 205a0c41156Smrg 206a0c41156Smrgdevice tx39io 207a0c41156Smrgattach tx39io at txsim 208a0c41156Smrgfile arch/hpcmips/tx/tx39io.c tx39io 209a0c41156Smrg 210a0c41156Smrgdevice tx39sib: txsibif 211a0c41156Smrgattach tx39sib at txsim 212a0c41156Smrgfile arch/hpcmips/tx/tx39sib.c tx39sib 213a0c41156Smrg 214a0c41156Smrg# PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end) 215a0c41156Smrgdevice ucb: ucbif 216a0c41156Smrgattach ucb at txsibif 217a0c41156Smrgfile arch/hpcmips/dev/ucb1200.c ucb 218a0c41156Smrg 219a0c41156Smrgdevice ucbtp: wsmousedev 220a0c41156Smrgattach ucbtp at ucbif: tpcalib 221a0c41156Smrgfile arch/hpcmips/dev/ucbtp.c ucbtp 222a0c41156Smrg 223a0c41156Smrgdevice ucbsnd 224a0c41156Smrgattach ucbsnd at ucbif 225a0c41156Smrgfile arch/hpcmips/dev/ucbsnd.c ucbsnd 226a0c41156Smrg 227a0c41156Smrgdevice tx39uart: txcomif 228a0c41156Smrgattach tx39uart at txsim 229a0c41156Smrgfile arch/hpcmips/tx/tx39uart.c tx39uart needs-flag 230a0c41156Smrg 231a0c41156Smrgdevice txcom 232a0c41156Smrgattach txcom at txcomif 233a0c41156Smrgfile arch/hpcmips/tx/txcom.c txcom 234a0c41156Smrg 235a0c41156Smrg# ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA) 236a0c41156Smrgdevice it8368e: pcmciabus 237a0c41156Smrgattach it8368e at txcsbus 238a0c41156Smrgfile arch/hpcmips/dev/it8368.c it8368e 239a0c41156Smrg 240a0c41156Smrgdevice skbdif {} 241a0c41156Smrg 242a0c41156Smrg# MITUBISHI M38813 keryboard controller 243a0c41156Smrgdevice m38813c: skbdif 244a0c41156Smrgattach m38813c at txcsbus 245a0c41156Smrgfile arch/hpcmips/dev/m38813c.c m38813c needs-flag 246a0c41156Smrg 247a0c41156Smrg# TOSHIBA TC5165BTFS buffer driver (keyboard) 248a0c41156Smrg# PHILIPS 74ALVC16241 buffer driver (keyboard) 249a0c41156Smrgdevice tc5165buf: skbdif 250a0c41156Smrgattach tc5165buf at txcsbus 251a0c41156Smrgfile arch/hpcmips/dev/tc5165buf.c tc5165buf needs-flag 252a0c41156Smrg 253a0c41156Smrg# Simple keyboard interface for wskbd 254a0c41156Smrgdevice skbd: wskbddev 255a0c41156Smrgattach skbd at skbdif 256a0c41156Smrgfile arch/hpcmips/dev/skbd.c skbd 257a0c41156Smrg 258a0c41156Smrg 259a0c41156Smrg# TOSHIBA TC6358E(Plum2) 260a0c41156Smrgdevice plumif {} 261a0c41156Smrgdevice plum: plumif 262a0c41156Smrgattach plum at txcsbus 263a0c41156Smrgfile arch/hpcmips/dev/plum.c plum 264a0c41156Smrg 265a0c41156Smrgdevice plumicu 266a0c41156Smrgattach plumicu at plumif 267a0c41156Smrgfile arch/hpcmips/dev/plumicu.c plumicu 268a0c41156Smrg 269a0c41156Smrgdevice plumpower 270a0c41156Smrgattach plumpower at plumif 271a0c41156Smrgfile arch/hpcmips/dev/plumpower.c plumpower 272a0c41156Smrg 273a0c41156Smrgdevice plumvideo: mainbus # XXX crazy XXX 274a0c41156Smrgattach plumvideo at plumif 275a0c41156Smrgfile arch/hpcmips/dev/plumvideo.c plumvideo 276a0c41156Smrg 277a0c41156Smrgdevice plumpcmcia: pcmciabus 278a0c41156Smrgattach plumpcmcia at plumif 279a0c41156Smrgfile arch/hpcmips/dev/plumpcmcia.c plumpcmcia 280a0c41156Smrg 281a0c41156Smrgdevice plumiobusif {[platform = -1], [slot = -1]} 282a0c41156Smrgdevice plumiobus: plumiobusif 283a0c41156Smrgattach plumiobus at plumif 284a0c41156Smrgfile arch/hpcmips/dev/plumiobus.c plumiobus 285a0c41156Smrg 286a0c41156Smrgdevice plumisab: isabus 287a0c41156Smrgattach plumisab at plumiobusif 288a0c41156Smrgfile arch/hpcmips/isa/plumisa_machdep.c plumisab 289a0c41156Smrg 290a0c41156Smrg# OHCI USB controller 291a0c41156Smrg#attach ohci at plumif with plumohci 292a0c41156Smrg#file arch/hpcmips/dev/plumohci.c plumohci 293a0c41156Smrg 294a0c41156Smrg#device txisab: isabus 295a0c41156Smrg#attach txisab at txcsbus 296a0c41156Smrg#file arch/hpcmips/isa/txisa_machdep.c txisab 297a0c41156Smrg 298a0c41156Smrg# 299a0c41156Smrg# Real-time clock (not optional) 300a0c41156Smrg# 301a0c41156Smrgfile arch/hpcmips/hpcmips/clock.c 302a0c41156Smrgfile dev/clock_subr.c 303a0c41156Smrg 304a0c41156Smrg# Floppy disk controller 305a0c41156Smrgdevice fdc {drive = -1} 306a0c41156Smrg#attach fdc at isa 307a0c41156Smrg#device fd: disk, isadma 308a0c41156Smrgdevice fd: disk 309a0c41156Smrg#attach fd at fdc 310a0c41156Smrgfile arch/i386/isa/fd.c fdc needs-flag 311a0c41156Smrgmajor {fd = 2} 312a0c41156Smrg 313a0c41156Smrg# network devices MII bus 314a0c41156Smrginclude "dev/mii/files.mii" 315a0c41156Smrg 316a0c41156Smrg# XXXX pcic here because it needs to be late. The catch: pcic needs 317a0c41156Smrg# to be late, so devices which attach to it are attached late. But it 318a0c41156Smrg# needs to be before its isa and pci attachments. This answer is 319a0c41156Smrg# non-optimal, but I don't have a better answer right now. 320a0c41156Smrg 321a0c41156Smrg# PCIC pcmcia contoller 322a0c41156Smrg# XXX this needs to be done very late, so it's done here. This feels 323a0c41156Smrg# like a kludge, but it might be for the best. 324a0c41156Smrg 325a0c41156Smrgdefopt PCIC_ISA_ALLOC_IOBASE 326a0c41156Smrgdefopt PCIC_ISA_ALLOC_IOSIZE 327a0c41156Smrgdefopt PCIC_ISA_INTR_ALLOC_MASK 328a0c41156Smrg 329a0c41156Smrgdevice pcic: pcmciabus 330a0c41156Smrgfile dev/ic/i82365.c pcic 331a0c41156Smrg 332a0c41156Smrg# 333a0c41156Smrg# PCIC pcmcia controller 334a0c41156Smrg# 335a0c41156Smrgattach pcic at isa with pcic_isa 336a0c41156Smrgfile dev/isa/i82365_isa.c pcic_isa 337a0c41156Smrgfile dev/isa/i82365_isasubr.c pcic_isa 338a0c41156Smrg 339a0c41156Smrg# 340a0c41156Smrg# Machine-independent PCMCIA drivers 341a0c41156Smrg# 342a0c41156Smrginclude "dev/pcmcia/files.pcmcia" 343a0c41156Smrg 344a0c41156Smrg# Serial Interface Unit 345a0c41156Smrgattach com at vrip with com_vrip 346a0c41156Smrgfile arch/hpcmips/vr/com_vrip.c com_vrip 347a0c41156Smrg 348a0c41156Smrg# Memory Disk for boot tape 349a0c41156Smrgfile arch/hpcmips/dev/md_root.c memory_disk_hooks 350a0c41156Smrgmajor {md = 6} 351a0c41156Smrg 352a0c41156Smrg#include "dev/usb/files.usb" 353a0c41156Smrg