files.hpcmips revision 1.25
11.25Stakemura# $NetBSD: files.hpcmips,v 1.25 2000/03/12 05:04:44 takemura Exp $ 21.1Stakemura 31.1Stakemura# maxpartitions must be first item in files.${ARCH}. 41.1Stakemuramaxpartitions 8 51.1Stakemura 61.1Stakemuramaxusers 2 8 64 71.1Stakemura 81.1Stakemura# 91.1Stakemura# Machine-independent SCSI drivers 101.1Stakemura# 111.1Stakemura 121.1Stakemurainclude "dev/scsipi/files.scsipi" 131.1Stakemuramajor {sd = 3} 141.1Stakemuramajor {st = 4} 151.1Stakemuramajor {cd = 5} 161.1Stakemura 171.1Stakemura# 181.1Stakemura# Machine-independent ATA drivers 191.1Stakemura# 201.1Stakemura 211.1Stakemurainclude "dev/ata/files.ata" 221.1Stakemuramajor {wd = 1} 231.1Stakemura 241.1Stakemura# 251.1Stakemura# Bus-independent devices 261.1Stakemura# 271.1Stakemuradevice mainbus { } # no locators 281.1Stakemuraattach mainbus at root 291.1Stakemura 301.1Stakemuradevice cpu # not optional 311.1Stakemuraattach cpu at mainbus 321.1Stakemurafile arch/hpcmips/hpcmips/cpu.c cpu 331.1Stakemura 341.1Stakemura# CPU support option headers 351.1Stakemuradefopt VR41X1 361.6Suchdefopt TX39XX 371.1Stakemura 381.1Stakemura# 391.1Stakemura# CPU-dependent files 401.1Stakemura# 411.6Suchfile arch/hpcmips/vr/vr.c vr41x1 # NEC VR4000 series 421.20Stakemurafile arch/hpcmips/vr/vr_idle.S vr41x1 431.6Suchfile arch/hpcmips/tx/tx39.c tx39xx # TOSHIBA TX3900 series 441.15Sshin 451.15Sshinfile arch/mips/mips/fp.S softfloat 461.1Stakemura 471.1Stakemurafile arch/hpcmips/hpcmips/autoconf.c 481.1Stakemurafile arch/hpcmips/hpcmips/conf.c 491.1Stakemurafile arch/hpcmips/hpcmips/machdep.c 501.1Stakemurafile arch/hpcmips/hpcmips/platid.c 511.1Stakemurafile arch/hpcmips/hpcmips/platid_mask.c 521.21Stakemurafile arch/hpcmips/hpcmips/platid_name.c 531.1Stakemurafile arch/hpcmips/hpcmips/mainbus.c 541.1Stakemurafile arch/hpcmips/hpcmips/bus_space.c 551.9Such#file arch/hpcmips/hpcmips/bus_dma.c 561.1Stakemurafile arch/hpcmips/hpcmips/disksubr.c disk 571.12Stakemurafile arch/hpcmips/hpcmips/config_hook.c 581.1Stakemura 591.1Stakemura# Console autoconfiguration code: selects between a framebuffers 601.1Stakemurafile dev/cons.c 611.1Stakemurafile arch/hpcmips/dev/bicons.c 621.1Stakemurafile arch/hpcmips/dev/bifont.c 631.1Stakemura 641.3Stakemura# Raster operations 651.3Stakemurainclude "dev/rasops/files.rasops" 661.3Stakemurainclude "dev/wsfont/files.wsfont" 671.3Stakemura 681.1Stakemura# 691.1Stakemura# Workstation Console 701.1Stakemura# 711.1Stakemurainclude "dev/wscons/files.wscons" 721.4Sshindevice fb: wsemuldisplaydev, rasops1, rasops2, rasops8, rasops15, rasops16 731.1Stakemuraattach fb at mainbus 741.1Stakemurafile arch/hpcmips/dev/fb.c fb needs-flag 751.25Stakemura 761.25Stakemuradefine hpcfbif {} 771.25Stakemuradevice hpcfb: wsemuldisplaydev, rasops1, rasops2, rasops8, rasops15, rasops16 781.25Stakemuraattach hpcfb at hpcfbif 791.25Stakemurafile arch/hpcmips/dev/hpcfb.c hpcfb needs-flag 801.25Stakemura 811.25Stakemuradevice bivideo: hpcfbif 821.25Stakemurafile arch/hpcmips/dev/bivideo.c bivideo needs-flag 831.25Stakemuraattach bivideo at mainbus 841.1Stakemura 851.1Stakemura# 861.1Stakemura# ISA bus support 871.1Stakemura# 881.1Stakemurainclude "dev/isa/files.isa" 891.1Stakemura 901.1Stakemura# 911.12Stakemura# pseudo devices 921.12Stakemura# 931.12Stakemuradefpseudo biconsdev 941.12Stakemurafile arch/hpcmips/dev/biconsdev.c biconsdev needs-count 951.12Stakemuradefpseudo btnmgr 961.12Stakemurafile arch/hpcmips/dev/btnmgr.c btnmgr 971.12Stakemura 981.12Stakemura# 991.1Stakemura# Vr41x1 integrated peripherals 1001.1Stakemura# 1011.12Stakemuradevice vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1], [pwctl=-1] } 1021.1Stakemuraattach vrip at mainbus 1031.8Stakemurafile arch/hpcmips/vr/vrip.c vrip needs-flag 1041.1Stakemura 1051.1Stakemuradevice vrrtc 1061.1Stakemuraattach vrrtc at vrip 1071.1Stakemurafile arch/hpcmips/vr/rtc.c vrrtc 1081.1Stakemura 1091.1Stakemuradevice vrcmu 1101.1Stakemuraattach vrcmu at vrip 1111.1Stakemurafile arch/hpcmips/vr/cmu.c vrcmu 1121.1Stakemura 1131.1Stakemuradevice vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]} # GIU attachment 1141.1Stakemuradevice 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]} 1151.12Stakemuradevice newgpbusif { [platform = -1], [id = -1], [port = -1], [active = 1], [level = -1] } 1161.1Stakemura 1171.12Stakemuradevice vrgiu: vrisabif, gpbusif, newgpbusif 1181.1Stakemuraattach vrgiu at vrip 1191.1Stakemurafile arch/hpcmips/vr/vrgiu.c vrgiu 1201.1Stakemura 1211.1Stakemuradevice gpbus 1221.1Stakemuraattach gpbus at gpbusif 1231.1Stakemurafile arch/hpcmips/vr/gpbus.c gpbus 1241.1Stakemura 1251.1Stakemuradevice vrisab: isabus 1261.1Stakemuraattach vrisab at vrisabif 1271.1Stakemurafile arch/hpcmips/isa/isa_machdep.c vrisab 1281.12Stakemura 1291.12Stakemuradevice pwctl 1301.12Stakemuraattach pwctl at newgpbusif with pwctl_vrgiu 1311.12Stakemurafile arch/hpcmips/vr/pwctl_vrgiu.c pwctl_vrgiu 1321.12Stakemura 1331.12Stakemuradevice button 1341.12Stakemuraattach button at newgpbusif with button_vrgiu 1351.12Stakemurafile arch/hpcmips/vr/button_vrgiu.c button_vrgiu 1361.1Stakemura 1371.1Stakemuradevice vrbcu 1381.1Stakemuraattach vrbcu at vrip 1391.10Ssatofile arch/hpcmips/vr/bcu_vrip.c vrbcu needs-flag 1401.1Stakemura 1411.2Stakemuradevice vrkiu: wskbddev 1421.1Stakemuraattach vrkiu at vrip 1431.2Stakemurafile arch/hpcmips/vr/vrkiu.c vrkiu needs-flag 1441.6Such# 1451.6Such# XXX files.pckbc XXX 1461.6Such# 1471.6Suchdevice pckbd: wskbddev 1481.6Suchattach pckbd at pckbc 1491.6Suchfile dev/pckbc/pckbd.c pckbd needs-flag 1501.9Suchfile dev/pckbc/wskbdmap_mfii.c pckbd | vrkiu | skbd 1511.6Suchdefopt PCKBD_LAYOUT 1521.1Stakemura 1531.1Stakemuradevice vrpmu 1541.1Stakemuraattach vrpmu at vrip 1551.10Ssatofile arch/hpcmips/vr/vrpmu.c vrpmu needs-flag 1561.7Stakemura 1571.7Stakemuradevice vrdsu 1581.7Stakemuraattach vrdsu at vrip 1591.7Stakemurafile arch/hpcmips/vr/vrdsu.c vrdsu needs-flag 1601.13Stakemura 1611.16Stakemuradefine tpcalib 1621.16Stakemurafile arch/hpcmips/dev/tpcalib.c tpcalib 1631.16Stakemurafile arch/hpcmips/dev/mra.c tpcalib 1641.14Such 1651.13Stakemuradevice vrpiu: wsmousedev 1661.16Stakemuraattach vrpiu at vrip: tpcalib 1671.13Stakemurafile arch/hpcmips/vr/vrpiu.c vrpiu 1681.1Stakemura 1691.6Such# 1701.6Such# TOSHIBA TX3912/3922 1711.6Such# 1721.6Suchdefopt TX39_DEBUG 1731.6Suchdefopt TX39_WATCHDOGTIMER 1741.6Suchdefopt TX39ICUDEBUG 1751.9Suchdefopt TX39CLKDEBUG 1761.6Suchdefopt TX39BIUDEBUG 1771.6Suchdefopt TX39IODEBUG 1781.6Suchdefopt TX39POWERDEBUG 1791.6Suchdefopt TX39UARTDEBUG 1801.9Suchdefopt USE_POLL 1811.6Such 1821.6Suchdevice txsim { } 1831.6Suchdevice txcsbusif {[platform = -1]} 1841.6Suchdevice txcomif {[slot = -1]} 1851.14Suchdevice txsibif {[slot = -1]} 1861.17Suchdevice ucbif { } 1871.18Suchdevice irif { } 1881.19Suchdevice txiomanif {[platform = -1]} 1891.6Such 1901.6Suchattach txsim at mainbus 1911.6Suchfile arch/hpcmips/tx/txsim.c txsim 1921.17Suchfile arch/hpcmips/tx/txsnd.c txsim 1931.6Such 1941.6Suchdevice tx39biu: txcsbusif 1951.6Suchattach tx39biu at txsim 1961.6Suchfile arch/hpcmips/tx/tx39biu.c tx39biu 1971.6Such 1981.6Suchdevice 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]} 1991.6Suchattach txcsbus at txcsbusif 2001.6Suchfile arch/hpcmips/tx/txcsbus.c txcsbus 2011.6Such 2021.6Suchdevice tx39icu 2031.6Suchattach tx39icu at txsim 2041.6Suchfile arch/hpcmips/tx/tx39icu.c tx39icu 2051.6Such 2061.6Suchdevice tx39power 2071.6Suchattach tx39power at txsim 2081.6Suchfile arch/hpcmips/tx/tx39power.c tx39power 2091.6Such 2101.6Suchdevice tx39clock 2111.6Suchattach tx39clock at txsim 2121.6Suchfile arch/hpcmips/tx/tx39clock.c tx39clock 2131.6Such 2141.6Suchdevice tx3912video: mainbus # XXX crazy XXX 2151.6Suchattach tx3912video at txsim 2161.6Suchfile arch/hpcmips/tx/tx3912video.c tx3912video 2171.6Such 2181.19Suchdevice tx39io: txiomanif 2191.6Suchattach tx39io at txsim 2201.6Suchfile arch/hpcmips/tx/tx39io.c tx39io 2211.6Such 2221.19Suchdevice txioman 2231.19Suchattach txioman at txiomanif 2241.19Suchfile arch/hpcmips/tx/txioman.c txioman 2251.19Such 2261.14Suchdevice tx39sib: txsibif 2271.14Suchattach tx39sib at txsim 2281.14Suchfile arch/hpcmips/tx/tx39sib.c tx39sib 2291.14Such 2301.17Such# PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end) 2311.17Suchdevice ucb: ucbif 2321.17Suchattach ucb at txsibif 2331.14Suchfile arch/hpcmips/dev/ucb1200.c ucb 2341.14Such 2351.17Suchdevice ucbtp: wsmousedev 2361.17Suchattach ucbtp at ucbif: tpcalib 2371.17Suchfile arch/hpcmips/dev/ucbtp.c ucbtp 2381.17Such 2391.17Suchdevice ucbsnd 2401.17Suchattach ucbsnd at ucbif 2411.23Suchfile arch/hpcmips/dev/ucbsnd.c ucbsnd needs-flag 2421.22Such 2431.22Suchdevice ucbio: newgpbusif 2441.22Suchattach ucbio at ucbif 2451.22Suchfile arch/hpcmips/dev/ucbio.c ucbio 2461.22Such 2471.22Suchdevice ucbioport 2481.22Suchattach ucbioport at newgpbusif 2491.22Suchfile arch/hpcmips/dev/ucbioport.c ucbioport 2501.14Such 2511.6Suchdevice tx39uart: txcomif 2521.6Suchattach tx39uart at txsim 2531.6Suchfile arch/hpcmips/tx/tx39uart.c tx39uart needs-flag 2541.6Such 2551.18Suchdevice txcom: irif 2561.6Suchattach txcom at txcomif 2571.6Suchfile arch/hpcmips/tx/txcom.c txcom 2581.18Such 2591.18Suchdevice tx39ir 2601.18Suchattach tx39ir at irif 2611.18Suchfile arch/hpcmips/tx/tx39ir.c tx39ir 2621.6Such 2631.17Such# ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA) 2641.6Suchdevice it8368e: pcmciabus 2651.6Suchattach it8368e at txcsbus 2661.6Suchfile arch/hpcmips/dev/it8368.c it8368e 2671.6Such 2681.9Suchdevice skbdif {} 2691.9Such 2701.9Such# MITUBISHI M38813 keryboard controller 2711.9Suchdevice m38813c: skbdif 2721.9Suchattach m38813c at txcsbus 2731.9Suchfile arch/hpcmips/dev/m38813c.c m38813c needs-flag 2741.11Such 2751.19Such# PHILIPS 74ALVC16241 / TOSHIBA TC5165BTFS buffer driver (keyboard) 2761.11Suchdevice tc5165buf: skbdif 2771.11Suchattach tc5165buf at txcsbus 2781.11Suchfile arch/hpcmips/dev/tc5165buf.c tc5165buf needs-flag 2791.9Such 2801.9Such# Simple keyboard interface for wskbd 2811.9Suchdevice skbd: wskbddev 2821.9Suchattach skbd at skbdif 2831.9Suchfile arch/hpcmips/dev/skbd.c skbd 2841.9Such 2851.6Such 2861.6Such# TOSHIBA TC6358E(Plum2) 2871.6Suchdevice plumif {} 2881.6Suchdevice plum: plumif 2891.6Suchattach plum at txcsbus 2901.6Suchfile arch/hpcmips/dev/plum.c plum 2911.6Such 2921.6Suchdevice plumicu 2931.6Suchattach plumicu at plumif 2941.6Suchfile arch/hpcmips/dev/plumicu.c plumicu 2951.6Such 2961.6Suchdevice plumpower 2971.6Suchattach plumpower at plumif 2981.6Suchfile arch/hpcmips/dev/plumpower.c plumpower 2991.6Such 3001.6Suchdevice plumvideo: mainbus # XXX crazy XXX 3011.6Suchattach plumvideo at plumif 3021.6Suchfile arch/hpcmips/dev/plumvideo.c plumvideo 3031.6Such 3041.6Suchdevice plumpcmcia: pcmciabus 3051.6Suchattach plumpcmcia at plumif 3061.6Suchfile arch/hpcmips/dev/plumpcmcia.c plumpcmcia 3071.6Such 3081.6Suchdevice plumiobusif {[platform = -1], [slot = -1]} 3091.6Suchdevice plumiobus: plumiobusif 3101.6Suchattach plumiobus at plumif 3111.6Suchfile arch/hpcmips/dev/plumiobus.c plumiobus 3121.6Such 3131.6Suchdevice plumisab: isabus 3141.6Suchattach plumisab at plumiobusif 3151.6Suchfile arch/hpcmips/isa/plumisa_machdep.c plumisab 3161.6Such 3171.9Such# OHCI USB controller 3181.9Such#attach ohci at plumif with plumohci 3191.9Such#file arch/hpcmips/dev/plumohci.c plumohci 3201.9Such 3211.9Such#device txisab: isabus 3221.9Such#attach txisab at txcsbus 3231.9Such#file arch/hpcmips/isa/txisa_machdep.c txisab 3241.9Such 3251.6Such# 3261.6Such# Real-time clock (not optional) 3271.6Such# 3281.1Stakemurafile arch/hpcmips/hpcmips/clock.c 3291.1Stakemurafile dev/clock_subr.c 3301.1Stakemura 3311.1Stakemura# Floppy disk controller 3321.1Stakemuradevice fdc {drive = -1} 3331.1Stakemura#attach fdc at isa 3341.1Stakemura#device fd: disk, isadma 3351.1Stakemuradevice fd: disk 3361.1Stakemura#attach fd at fdc 3371.1Stakemurafile arch/i386/isa/fd.c fdc needs-flag 3381.1Stakemuramajor {fd = 2} 3391.1Stakemura 3401.1Stakemura# network devices MII bus 3411.1Stakemurainclude "dev/mii/files.mii" 3421.1Stakemura 3431.1Stakemura# XXXX pcic here because it needs to be late. The catch: pcic needs 3441.1Stakemura# to be late, so devices which attach to it are attached late. But it 3451.1Stakemura# needs to be before its isa and pci attachments. This answer is 3461.1Stakemura# non-optimal, but I don't have a better answer right now. 3471.1Stakemura 3481.1Stakemura# PCIC pcmcia contoller 3491.1Stakemura# XXX this needs to be done very late, so it's done here. This feels 3501.1Stakemura# like a kludge, but it might be for the best. 3511.1Stakemura 3521.1Stakemuradefopt PCIC_ISA_ALLOC_IOBASE 3531.1Stakemuradefopt PCIC_ISA_ALLOC_IOSIZE 3541.1Stakemuradefopt PCIC_ISA_INTR_ALLOC_MASK 3551.1Stakemura 3561.1Stakemuradevice pcic: pcmciabus 3571.1Stakemurafile dev/ic/i82365.c pcic 3581.1Stakemura 3591.1Stakemura# 3601.1Stakemura# PCIC pcmcia controller 3611.1Stakemura# 3621.1Stakemuraattach pcic at isa with pcic_isa 3631.1Stakemurafile dev/isa/i82365_isa.c pcic_isa 3641.1Stakemurafile dev/isa/i82365_isasubr.c pcic_isa 3651.1Stakemura 3661.1Stakemura# 3671.1Stakemura# Machine-independent PCMCIA drivers 3681.1Stakemura# 3691.1Stakemurainclude "dev/pcmcia/files.pcmcia" 3701.1Stakemura 3711.1Stakemura# Serial Interface Unit 3721.1Stakemuraattach com at vrip with com_vrip 3731.1Stakemurafile arch/hpcmips/vr/com_vrip.c com_vrip 3741.1Stakemura 3751.1Stakemura# Memory Disk for boot tape 3761.1Stakemurafile arch/hpcmips/dev/md_root.c memory_disk_hooks 3771.1Stakemuramajor {md = 6} 3781.9Such 3791.10Ssato#include "dev/usb/files.usb" 380