files.hpcmips revision 1.35
11.35Stakemura#	$NetBSD: files.hpcmips,v 1.35 2000/07/22 08:53:34 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.29Suchfile	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.31Stakemurafile	dev/pckbc/wskbdmap_mfii.c		btnmgr | vrkiu | skbd
731.31Stakemurafile	arch/hpcmips/dev/pckbd_encode.c		btnmgr | vrkiu | skbd
741.31Stakemuradefopt	PCKBD_LAYOUT
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.28Stakemurafile	arch/hpcmips/dev/hpccmap.c	bivideo
841.25Stakemuraattach	bivideo at mainbus
851.1Stakemura
861.26Stakemuradevice btnmgr: wskbddev
871.26Stakemuraattach btnmgr at mainbus
881.26Stakemurafile	arch/hpcmips/dev/btnmgr.c	btnmgr
891.32Such
901.32Suchfile	arch/hpcmips/dev/video_subr.c	tx3912video | plumvideo
911.34Stakemura
921.34Stakemura#
931.34Stakemura# power management
941.34Stakemura#
951.34Stakemurainclude "dev/apm/files.apm"
961.34Stakemuradevice hpcapm: apmif
971.34Stakemuraattach hpcapm at mainbus
981.34Stakemurafile	arch/hpcmips/dev/hpcapm.c	hpcapm
991.26Stakemura
1001.1Stakemura#
1011.1Stakemura# ISA bus support
1021.1Stakemura#
1031.1Stakemurainclude "dev/isa/files.isa"
1041.1Stakemura
1051.1Stakemura#
1061.12Stakemura# pseudo devices
1071.12Stakemura#
1081.12Stakemuradefpseudo	biconsdev
1091.12Stakemurafile	arch/hpcmips/dev/biconsdev.c	biconsdev	needs-count
1101.12Stakemura
1111.12Stakemura#
1121.1Stakemura#  Vr41x1 integrated peripherals
1131.1Stakemura#
1141.12Stakemuradevice vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1], [pwctl=-1] }
1151.1Stakemuraattach vrip at mainbus
1161.8Stakemurafile arch/hpcmips/vr/vrip.c		vrip needs-flag
1171.1Stakemura
1181.1Stakemuradevice vrrtc
1191.1Stakemuraattach vrrtc at vrip
1201.1Stakemurafile arch/hpcmips/vr/rtc.c			vrrtc
1211.1Stakemura
1221.1Stakemuradevice vrcmu
1231.1Stakemuraattach vrcmu at vrip
1241.1Stakemurafile arch/hpcmips/vr/cmu.c			vrcmu
1251.1Stakemura
1261.1Stakemuradevice	vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]}		# GIU attachment
1271.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]} 
1281.12Stakemuradevice  newgpbusif { [platform = -1], [id = -1], [port = -1], [active = 1], [level = -1] }
1291.1Stakemura
1301.12Stakemuradevice vrgiu: vrisabif, gpbusif, newgpbusif
1311.1Stakemuraattach vrgiu at vrip
1321.1Stakemurafile arch/hpcmips/vr/vrgiu.c			vrgiu
1331.1Stakemura
1341.1Stakemuradevice gpbus
1351.1Stakemuraattach gpbus at gpbusif
1361.1Stakemurafile arch/hpcmips/vr/gpbus.c			gpbus
1371.1Stakemura
1381.1Stakemuradevice vrisab: isabus
1391.1Stakemuraattach vrisab at vrisabif
1401.1Stakemurafile arch/hpcmips/isa/isa_machdep.c		vrisab
1411.12Stakemura
1421.12Stakemuradevice pwctl
1431.12Stakemuraattach pwctl at newgpbusif with pwctl_vrgiu
1441.12Stakemurafile arch/hpcmips/vr/pwctl_vrgiu.c		pwctl_vrgiu
1451.12Stakemura
1461.12Stakemuradevice button
1471.12Stakemuraattach button at newgpbusif with button_vrgiu
1481.12Stakemurafile arch/hpcmips/vr/button_vrgiu.c		button_vrgiu
1491.1Stakemura
1501.1Stakemuradevice vrbcu
1511.1Stakemuraattach vrbcu at vrip
1521.10Ssatofile arch/hpcmips/vr/bcu_vrip.c			vrbcu needs-flag
1531.1Stakemura
1541.2Stakemuradevice vrkiu: wskbddev
1551.1Stakemuraattach vrkiu at vrip
1561.2Stakemurafile arch/hpcmips/vr/vrkiu.c			vrkiu needs-flag
1571.1Stakemura
1581.1Stakemuradevice vrpmu
1591.1Stakemuraattach vrpmu at vrip
1601.10Ssatofile arch/hpcmips/vr/vrpmu.c			vrpmu needs-flag
1611.7Stakemura
1621.7Stakemuradevice vrdsu
1631.7Stakemuraattach vrdsu at vrip
1641.7Stakemurafile arch/hpcmips/vr/vrdsu.c			vrdsu needs-flag
1651.13Stakemura
1661.16Stakemuradefine	tpcalib
1671.16Stakemurafile arch/hpcmips/dev/tpcalib.c			tpcalib
1681.16Stakemurafile arch/hpcmips/dev/mra.c			tpcalib
1691.14Such
1701.13Stakemuradevice vrpiu: wsmousedev
1711.16Stakemuraattach vrpiu at vrip: tpcalib
1721.13Stakemurafile arch/hpcmips/vr/vrpiu.c			vrpiu
1731.33Smatt
1741.33Smattattach ohci at vrip with ohci_vrip
1751.33Smattfile arch/hpcmips/dev/ohci_vrip.c		ohci_vrip
1761.35Stakemura
1771.35Stakemuradevice mqvideo: hpcfbif
1781.35Stakemuraattach mqvideo at vrip with mqvideo_vrip
1791.35Stakemurafile arch/hpcmips/vr/mq200_vrip.c		mqvideo_vrip
1801.35Stakemurafile arch/hpcmips/dev/mq200.c			mqvideo
1811.1Stakemura
1821.6Such#
1831.6Such#	TOSHIBA TX3912/3922
1841.6Such#
1851.6Suchdefopt TX39_DEBUG
1861.6Suchdefopt TX39_WATCHDOGTIMER
1871.6Suchdefopt TX39ICUDEBUG
1881.9Suchdefopt TX39CLKDEBUG
1891.6Suchdefopt TX39BIUDEBUG
1901.6Suchdefopt TX39IODEBUG
1911.6Suchdefopt TX39POWERDEBUG
1921.6Suchdefopt TX39UARTDEBUG
1931.9Suchdefopt USE_POLL
1941.6Such
1951.6Suchdevice txsim { }
1961.6Suchdevice txcsbusif {[platform = -1]}
1971.6Suchdevice txcomif {[slot = -1]}
1981.14Suchdevice txsibif {[slot = -1]}
1991.17Suchdevice ucbif { }
2001.18Suchdevice irif { }
2011.19Suchdevice txiomanif {[platform = -1]}
2021.6Such
2031.6Suchattach txsim at mainbus
2041.6Suchfile arch/hpcmips/tx/txsim.c		txsim
2051.17Suchfile arch/hpcmips/tx/txsnd.c		txsim
2061.6Such
2071.6Suchdevice tx39biu: txcsbusif
2081.6Suchattach tx39biu at txsim
2091.6Suchfile arch/hpcmips/tx/tx39biu.c		tx39biu
2101.6Such
2111.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]}
2121.6Suchattach txcsbus at txcsbusif
2131.6Suchfile arch/hpcmips/tx/txcsbus.c		txcsbus
2141.6Such
2151.6Suchdevice tx39icu
2161.6Suchattach tx39icu at txsim
2171.6Suchfile arch/hpcmips/tx/tx39icu.c		tx39icu
2181.6Such
2191.6Suchdevice tx39power
2201.6Suchattach tx39power at txsim
2211.6Suchfile arch/hpcmips/tx/tx39power.c	tx39power
2221.6Such
2231.6Suchdevice tx39clock
2241.6Suchattach tx39clock at txsim
2251.6Suchfile arch/hpcmips/tx/tx39clock.c	tx39clock
2261.6Such
2271.30Suchdevice tx3912video: hpcfbif
2281.6Suchattach tx3912video at txsim
2291.6Suchfile arch/hpcmips/tx/tx3912video.c	tx3912video
2301.6Such
2311.19Suchdevice tx39io: txiomanif
2321.6Suchattach tx39io at txsim
2331.6Suchfile arch/hpcmips/tx/tx39io.c		tx39io
2341.6Such
2351.19Suchdevice txioman
2361.19Suchattach txioman at txiomanif
2371.19Suchfile arch/hpcmips/tx/txioman.c		txioman
2381.19Such
2391.14Suchdevice tx39sib: txsibif
2401.14Suchattach tx39sib at txsim
2411.14Suchfile arch/hpcmips/tx/tx39sib.c		tx39sib
2421.14Such
2431.17Such#	PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
2441.17Suchdevice ucb: ucbif
2451.17Suchattach ucb at txsibif
2461.14Suchfile arch/hpcmips/dev/ucb1200.c		ucb
2471.14Such
2481.17Suchdevice ucbtp: wsmousedev
2491.17Suchattach ucbtp at ucbif: tpcalib
2501.17Suchfile arch/hpcmips/dev/ucbtp.c		ucbtp
2511.17Such
2521.17Suchdevice ucbsnd
2531.17Suchattach ucbsnd at ucbif
2541.23Suchfile arch/hpcmips/dev/ucbsnd.c		ucbsnd		needs-flag
2551.22Such
2561.22Suchdevice ucbio: newgpbusif
2571.22Suchattach ucbio at ucbif
2581.22Suchfile arch/hpcmips/dev/ucbio.c		ucbio
2591.22Such
2601.22Suchdevice ucbioport
2611.22Suchattach ucbioport at newgpbusif
2621.22Suchfile arch/hpcmips/dev/ucbioport.c	ucbioport
2631.14Such
2641.6Suchdevice tx39uart: txcomif
2651.6Suchattach tx39uart at txsim
2661.6Suchfile arch/hpcmips/tx/tx39uart.c		tx39uart	needs-flag
2671.6Such
2681.18Suchdevice txcom: irif
2691.6Suchattach txcom at txcomif
2701.6Suchfile arch/hpcmips/tx/txcom.c		txcom
2711.18Such
2721.18Suchdevice tx39ir
2731.18Suchattach tx39ir at irif
2741.18Suchfile arch/hpcmips/tx/tx39ir.c		tx39ir
2751.6Such
2761.17Such#	ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
2771.6Suchdevice it8368e: pcmciabus
2781.6Suchattach it8368e at txcsbus
2791.6Suchfile arch/hpcmips/dev/it8368.c	it8368e
2801.6Such
2811.9Suchdevice skbdif {}
2821.9Such
2831.9Such#	MITUBISHI M38813 keryboard controller
2841.9Suchdevice m38813c: skbdif
2851.9Suchattach m38813c at txcsbus
2861.9Suchfile arch/hpcmips/dev/m38813c.c		m38813c		needs-flag
2871.11Such
2881.19Such#	PHILIPS 74ALVC16241 / TOSHIBA TC5165BTFS buffer driver (keyboard)
2891.11Suchdevice tc5165buf: skbdif
2901.11Suchattach tc5165buf at txcsbus
2911.11Suchfile arch/hpcmips/dev/tc5165buf.c	tc5165buf	needs-flag
2921.9Such
2931.9Such#	Simple keyboard interface for wskbd
2941.9Suchdevice skbd: wskbddev
2951.9Suchattach skbd at skbdif
2961.9Suchfile arch/hpcmips/dev/skbd.c		skbd
2971.9Such
2981.6Such
2991.6Such#	TOSHIBA TC6358E(Plum2)
3001.6Suchdevice plumif {}
3011.6Suchdevice plum: plumif
3021.6Suchattach plum at txcsbus
3031.6Suchfile arch/hpcmips/dev/plum.c		plum
3041.6Such
3051.6Suchdevice plumicu
3061.6Suchattach plumicu at plumif
3071.6Suchfile arch/hpcmips/dev/plumicu.c		plumicu
3081.6Such
3091.6Suchdevice plumpower
3101.6Suchattach plumpower at plumif
3111.6Suchfile arch/hpcmips/dev/plumpower.c	plumpower
3121.6Such
3131.30Suchdevice plumvideo: hpcfbif
3141.6Suchattach plumvideo at plumif
3151.6Suchfile arch/hpcmips/dev/plumvideo.c	plumvideo
3161.6Such
3171.6Suchdevice plumpcmcia: pcmciabus
3181.6Suchattach plumpcmcia at plumif
3191.6Suchfile arch/hpcmips/dev/plumpcmcia.c	plumpcmcia
3201.6Such
3211.6Suchdevice plumiobusif {[platform = -1], [slot = -1]}
3221.6Suchdevice plumiobus: plumiobusif
3231.6Suchattach plumiobus at plumif
3241.6Suchfile arch/hpcmips/dev/plumiobus.c	plumiobus
3251.6Such
3261.6Suchdevice plumisab: isabus
3271.6Suchattach plumisab at plumiobusif
3281.6Suchfile arch/hpcmips/isa/plumisa_machdep.c	plumisab
3291.6Such
3301.9Such# OHCI USB controller
3311.29Suchattach	ohci at plumif with plumohci
3321.29Suchfile	arch/hpcmips/dev/plumohci.c	plumohci
3331.9Such
3341.9Such#device txisab: isabus
3351.9Such#attach txisab at txcsbus
3361.9Such#file arch/hpcmips/isa/txisa_machdep.c	txisab
3371.9Such
3381.6Such#
3391.6Such#	Real-time clock (not optional)
3401.6Such#
3411.1Stakemurafile	arch/hpcmips/hpcmips/clock.c
3421.1Stakemurafile	dev/clock_subr.c
3431.1Stakemura
3441.1Stakemura# Floppy disk controller
3451.1Stakemuradevice	fdc {drive = -1}
3461.1Stakemura#attach	fdc at isa
3471.1Stakemura#device	fd: disk, isadma
3481.1Stakemuradevice	fd: disk
3491.1Stakemura#attach	fd at fdc
3501.1Stakemurafile	arch/i386/isa/fd.c		fdc needs-flag
3511.1Stakemuramajor	{fd = 2}
3521.1Stakemura
3531.1Stakemura# network devices MII bus
3541.1Stakemurainclude "dev/mii/files.mii"
3551.1Stakemura
3561.1Stakemura# XXXX pcic here because it needs to be late.  The catch: pcic needs
3571.1Stakemura# to be late, so devices which attach to it are attached late.  But it
3581.1Stakemura# needs to be before its isa and pci attachments.  This answer is
3591.1Stakemura# non-optimal, but I don't have a better answer right now.
3601.1Stakemura
3611.1Stakemura# PCIC pcmcia contoller
3621.1Stakemura# XXX this needs to be done very late, so it's done here.  This feels
3631.1Stakemura# like a kludge, but it might be for the best.
3641.1Stakemura
3651.1Stakemuradefopt	PCIC_ISA_ALLOC_IOBASE
3661.1Stakemuradefopt	PCIC_ISA_ALLOC_IOSIZE
3671.1Stakemuradefopt	PCIC_ISA_INTR_ALLOC_MASK
3681.1Stakemura
3691.1Stakemuradevice	pcic: pcmciabus
3701.1Stakemurafile	dev/ic/i82365.c			pcic
3711.1Stakemura
3721.1Stakemura#
3731.1Stakemura# PCIC pcmcia controller
3741.1Stakemura#
3751.1Stakemuraattach	pcic at isa with pcic_isa
3761.1Stakemurafile	dev/isa/i82365_isa.c			pcic_isa
3771.1Stakemurafile	dev/isa/i82365_isasubr.c		pcic_isa
3781.1Stakemura
3791.1Stakemura#
3801.1Stakemura# Machine-independent PCMCIA drivers
3811.1Stakemura#
3821.1Stakemurainclude "dev/pcmcia/files.pcmcia"
3831.1Stakemura
3841.1Stakemura# Serial Interface Unit
3851.1Stakemuraattach com at vrip with com_vrip
3861.1Stakemurafile	arch/hpcmips/vr/com_vrip.c			com_vrip
3871.1Stakemura
3881.1Stakemura# Memory Disk for boot tape
3891.1Stakemurafile arch/hpcmips/dev/md_root.c		memory_disk_hooks
3901.1Stakemuramajor	{md = 6}
3911.9Such
3921.29Suchinclude "dev/usb/files.usb"
393