files.hpcmips revision 1.42
11.42Such#	$NetBSD: files.hpcmips,v 1.42 2000/10/22 10:42:31 uch 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.37Stakemurafile	dev/pckbc/wskbdmap_mfii.c		btnmgr | hpckbd
731.37Stakemurafile	arch/hpcmips/dev/pckbd_encode.c		btnmgr | hpckbd
741.31Stakemuradefopt	PCKBD_LAYOUT
751.25Stakemura
761.37Stakemura#	Simple framebuffer interface for wsdisplay
771.25Stakemuradefine	hpcfbif {}
781.25Stakemuradevice	hpcfb: wsemuldisplaydev, rasops1, rasops2, rasops8, rasops15, rasops16
791.25Stakemuraattach	hpcfb at hpcfbif
801.25Stakemurafile	arch/hpcmips/dev/hpcfb.c	hpcfb needs-flag
811.25Stakemura
821.37Stakemura#	Simple keyboard interface for wskbd
831.37Stakemuradevice hpckbdif {}
841.37Stakemuradevice hpckbd: wskbddev
851.37Stakemuraattach hpckbd at hpckbdif
861.37Stakemurafile arch/hpcmips/dev/hpckbd.c		hpckbd
871.37Stakemura
881.25Stakemuradevice	bivideo: hpcfbif
891.25Stakemurafile	arch/hpcmips/dev/bivideo.c	bivideo needs-flag
901.28Stakemurafile	arch/hpcmips/dev/hpccmap.c	bivideo
911.25Stakemuraattach	bivideo at mainbus
921.1Stakemura
931.26Stakemuradevice btnmgr: wskbddev
941.26Stakemuraattach btnmgr at mainbus
951.26Stakemurafile	arch/hpcmips/dev/btnmgr.c	btnmgr
961.32Such
971.32Suchfile	arch/hpcmips/dev/video_subr.c	tx3912video | plumvideo
981.34Stakemura
991.34Stakemura#
1001.34Stakemura# power management
1011.34Stakemura#
1021.36Stakemurainclude "arch/hpcmips/dev/apm/files.apm"
1031.36Stakemuradevice hpcapm: apmdevif
1041.34Stakemuraattach hpcapm at mainbus
1051.34Stakemurafile	arch/hpcmips/dev/hpcapm.c	hpcapm
1061.26Stakemura
1071.1Stakemura#
1081.1Stakemura# ISA bus support
1091.1Stakemura#
1101.1Stakemurainclude "dev/isa/files.isa"
1111.1Stakemura
1121.1Stakemura#
1131.12Stakemura# pseudo devices
1141.12Stakemura#
1151.12Stakemuradefpseudo	biconsdev
1161.12Stakemurafile	arch/hpcmips/dev/biconsdev.c	biconsdev	needs-count
1171.12Stakemura
1181.12Stakemura#
1191.1Stakemura#  Vr41x1 integrated peripherals
1201.1Stakemura#
1211.12Stakemuradevice vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1], [pwctl=-1] }
1221.1Stakemuraattach vrip at mainbus
1231.8Stakemurafile arch/hpcmips/vr/vrip.c		vrip needs-flag
1241.1Stakemura
1251.39Ssatodevice vrbcu
1261.39Ssatoattach vrbcu at vrip
1271.39Ssatofile arch/hpcmips/vr/bcu_vrip.c			vrbcu needs-flag
1281.39Ssato
1291.1Stakemuradevice vrrtc
1301.1Stakemuraattach vrrtc at vrip
1311.39Ssatofile arch/hpcmips/vr/rtc.c			vrrtc needs-flag
1321.1Stakemura
1331.1Stakemuradevice vrcmu
1341.1Stakemuraattach vrcmu at vrip
1351.39Ssatofile arch/hpcmips/vr/cmu.c			vrcmu needs-flag
1361.1Stakemura
1371.1Stakemuradevice	vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]}		# GIU attachment
1381.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]} 
1391.41Ssatodevice  newgpbusif { [platform = -1], [id = -1], [port = -1], [active = 1], [level = -1], [initvalue = -1] }
1401.1Stakemura
1411.12Stakemuradevice vrgiu: vrisabif, gpbusif, newgpbusif
1421.1Stakemuraattach vrgiu at vrip
1431.1Stakemurafile arch/hpcmips/vr/vrgiu.c			vrgiu
1441.1Stakemura
1451.1Stakemuradevice gpbus
1461.1Stakemuraattach gpbus at gpbusif
1471.1Stakemurafile arch/hpcmips/vr/gpbus.c			gpbus
1481.1Stakemura
1491.1Stakemuradevice vrisab: isabus
1501.1Stakemuraattach vrisab at vrisabif
1511.1Stakemurafile arch/hpcmips/isa/isa_machdep.c		vrisab
1521.12Stakemura
1531.12Stakemuradevice pwctl
1541.12Stakemuraattach pwctl at newgpbusif with pwctl_vrgiu
1551.12Stakemurafile arch/hpcmips/vr/pwctl_vrgiu.c		pwctl_vrgiu
1561.12Stakemura
1571.12Stakemuradevice button
1581.12Stakemuraattach button at newgpbusif with button_vrgiu
1591.12Stakemurafile arch/hpcmips/vr/button_vrgiu.c		button_vrgiu
1601.1Stakemura
1611.37Stakemuradevice vrkiu: hpckbdif
1621.1Stakemuraattach vrkiu at vrip
1631.2Stakemurafile arch/hpcmips/vr/vrkiu.c			vrkiu needs-flag
1641.1Stakemura
1651.1Stakemuradevice vrpmu
1661.1Stakemuraattach vrpmu at vrip
1671.10Ssatofile arch/hpcmips/vr/vrpmu.c			vrpmu needs-flag
1681.7Stakemura
1691.7Stakemuradevice vrdsu
1701.7Stakemuraattach vrdsu at vrip
1711.7Stakemurafile arch/hpcmips/vr/vrdsu.c			vrdsu needs-flag
1721.39Ssato
1731.39Ssatodevice vrled
1741.39Ssatoattach vrled at vrip
1751.39Ssatofile arch/hpcmips/vr/vrled.c			vrled needs-flag
1761.13Stakemura
1771.16Stakemuradefine	tpcalib
1781.16Stakemurafile arch/hpcmips/dev/tpcalib.c			tpcalib
1791.16Stakemurafile arch/hpcmips/dev/mra.c			tpcalib
1801.14Such
1811.13Stakemuradevice vrpiu: wsmousedev
1821.16Stakemuraattach vrpiu at vrip: tpcalib
1831.13Stakemurafile arch/hpcmips/vr/vrpiu.c			vrpiu
1841.33Smatt
1851.33Smattattach ohci at vrip with ohci_vrip
1861.33Smattfile arch/hpcmips/dev/ohci_vrip.c		ohci_vrip
1871.35Stakemura
1881.35Stakemuradevice mqvideo: hpcfbif
1891.35Stakemuraattach mqvideo at vrip with mqvideo_vrip
1901.35Stakemurafile arch/hpcmips/vr/mq200_vrip.c		mqvideo_vrip
1911.35Stakemurafile arch/hpcmips/dev/mq200.c			mqvideo
1921.38Ssato
1931.38Ssatodevice ite8181video: hpcfbif
1941.38Ssatoattach ite8181video at vrip with ite8181video_vrip
1951.38Ssatofile arch/hpcmips/vr/ite8181_vrip.c		ite8181video_vrip
1961.38Ssatofile arch/hpcmips/dev/ite8181.c			ite8181video
1971.1Stakemura
1981.6Such#
1991.6Such#	TOSHIBA TX3912/3922
2001.6Such#
2011.6Suchdefopt TX39_DEBUG
2021.6Suchdefopt TX39_WATCHDOGTIMER
2031.6Suchdefopt TX39ICUDEBUG
2041.9Suchdefopt TX39CLKDEBUG
2051.6Suchdefopt TX39BIUDEBUG
2061.6Suchdefopt TX39POWERDEBUG
2071.6Suchdefopt TX39UARTDEBUG
2081.9Suchdefopt USE_POLL
2091.6Such
2101.42Suchdevice txsim {[platform = -1]}
2111.6Suchdevice txcsbusif {[platform = -1]}
2121.6Suchdevice txcomif {[slot = -1]}
2131.14Suchdevice txsibif {[slot = -1]}
2141.17Suchdevice ucbif { }
2151.18Suchdevice irif { }
2161.42Suchdevice txiomanif {[evtype = -1], [id = -1], [group = -1], [port = -1], [edge = -1], [initial = -1]}
2171.6Such
2181.6Suchattach txsim at mainbus
2191.6Suchfile arch/hpcmips/tx/txsim.c		txsim
2201.17Suchfile arch/hpcmips/tx/txsnd.c		txsim
2211.6Such
2221.6Suchdevice tx39biu: txcsbusif
2231.6Suchattach tx39biu at txsim
2241.6Suchfile arch/hpcmips/tx/tx39biu.c		tx39biu
2251.6Such
2261.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]}
2271.6Suchattach txcsbus at txcsbusif
2281.6Suchfile arch/hpcmips/tx/txcsbus.c		txcsbus
2291.6Such
2301.6Suchdevice tx39icu
2311.6Suchattach tx39icu at txsim
2321.6Suchfile arch/hpcmips/tx/tx39icu.c		tx39icu
2331.6Such
2341.6Suchdevice tx39power
2351.6Suchattach tx39power at txsim
2361.6Suchfile arch/hpcmips/tx/tx39power.c	tx39power
2371.6Such
2381.6Suchdevice tx39clock
2391.6Suchattach tx39clock at txsim
2401.6Suchfile arch/hpcmips/tx/tx39clock.c	tx39clock
2411.6Such
2421.30Suchdevice tx3912video: hpcfbif
2431.6Suchattach tx3912video at txsim
2441.6Suchfile arch/hpcmips/tx/tx3912video.c	tx3912video
2451.6Such
2461.42Suchdevice tx39io
2471.6Suchattach tx39io at txsim
2481.6Suchfile arch/hpcmips/tx/tx39io.c		tx39io
2491.6Such
2501.42Suchdevice txioman: txiomanif
2511.42Suchattach txioman at txsim
2521.19Suchfile arch/hpcmips/tx/txioman.c		txioman
2531.19Such
2541.42Suchdevice txin
2551.42Suchattach txin at txiomanif
2561.42Suchfile arch/hpcmips/tx/txioman_in.c	txin
2571.42Such
2581.42Suchdevice txout
2591.42Suchattach txout at txiomanif
2601.42Suchfile arch/hpcmips/tx/txioman_out.c	txout
2611.42Such
2621.14Suchdevice tx39sib: txsibif
2631.14Suchattach tx39sib at txsim
2641.14Suchfile arch/hpcmips/tx/tx39sib.c		tx39sib
2651.14Such
2661.17Such#	PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
2671.17Suchdevice ucb: ucbif
2681.17Suchattach ucb at txsibif
2691.14Suchfile arch/hpcmips/dev/ucb1200.c		ucb
2701.14Such
2711.17Suchdevice ucbtp: wsmousedev
2721.17Suchattach ucbtp at ucbif: tpcalib
2731.17Suchfile arch/hpcmips/dev/ucbtp.c		ucbtp
2741.17Such
2751.17Suchdevice ucbsnd
2761.17Suchattach ucbsnd at ucbif
2771.23Suchfile arch/hpcmips/dev/ucbsnd.c		ucbsnd		needs-flag
2781.22Such
2791.42Suchdevice ucbio
2801.22Suchattach ucbio at ucbif
2811.22Suchfile arch/hpcmips/dev/ucbio.c		ucbio
2821.22Such
2831.6Suchdevice tx39uart: txcomif
2841.6Suchattach tx39uart at txsim
2851.6Suchfile arch/hpcmips/tx/tx39uart.c		tx39uart	needs-flag
2861.6Such
2871.18Suchdevice txcom: irif
2881.6Suchattach txcom at txcomif
2891.6Suchfile arch/hpcmips/tx/txcom.c		txcom
2901.18Such
2911.18Suchdevice tx39ir
2921.18Suchattach tx39ir at irif
2931.18Suchfile arch/hpcmips/tx/tx39ir.c		tx39ir
2941.6Such
2951.17Such#	ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
2961.6Suchdevice it8368e: pcmciabus
2971.6Suchattach it8368e at txcsbus
2981.42Suchfile arch/hpcmips/dev/it8368.c		it8368e
2991.6Such
3001.9Such#	MITUBISHI M38813 keryboard controller
3011.37Stakemuradevice m38813c: hpckbdif
3021.9Suchattach m38813c at txcsbus
3031.9Suchfile arch/hpcmips/dev/m38813c.c		m38813c		needs-flag
3041.11Such
3051.19Such#	PHILIPS 74ALVC16241 / TOSHIBA TC5165BTFS buffer driver (keyboard)
3061.37Stakemuradevice tc5165buf: hpckbdif
3071.11Suchattach tc5165buf at txcsbus
3081.11Suchfile arch/hpcmips/dev/tc5165buf.c	tc5165buf	needs-flag
3091.6Such
3101.6Such#	TOSHIBA TC6358E(Plum2)
3111.6Suchdevice plumif {}
3121.6Suchdevice plum: plumif
3131.6Suchattach plum at txcsbus
3141.6Suchfile arch/hpcmips/dev/plum.c		plum
3151.6Such
3161.6Suchdevice plumicu
3171.6Suchattach plumicu at plumif
3181.6Suchfile arch/hpcmips/dev/plumicu.c		plumicu
3191.6Such
3201.6Suchdevice plumpower
3211.6Suchattach plumpower at plumif
3221.6Suchfile arch/hpcmips/dev/plumpower.c	plumpower
3231.6Such
3241.30Suchdevice plumvideo: hpcfbif
3251.6Suchattach plumvideo at plumif
3261.6Suchfile arch/hpcmips/dev/plumvideo.c	plumvideo
3271.6Such
3281.6Suchdevice plumpcmcia: pcmciabus
3291.6Suchattach plumpcmcia at plumif
3301.6Suchfile arch/hpcmips/dev/plumpcmcia.c	plumpcmcia
3311.6Such
3321.6Suchdevice plumiobusif {[platform = -1], [slot = -1]}
3331.6Suchdevice plumiobus: plumiobusif
3341.6Suchattach plumiobus at plumif
3351.6Suchfile arch/hpcmips/dev/plumiobus.c	plumiobus
3361.6Such
3371.6Suchdevice plumisab: isabus
3381.6Suchattach plumisab at plumiobusif
3391.6Suchfile arch/hpcmips/isa/plumisa_machdep.c	plumisab
3401.6Such
3411.9Such# OHCI USB controller
3421.29Suchattach	ohci at plumif with plumohci
3431.40Suchfile	arch/hpcmips/dev/plumohci.c	plumohci	needs-flag
3441.9Such
3451.9Such#device txisab: isabus
3461.9Such#attach txisab at txcsbus
3471.9Such#file arch/hpcmips/isa/txisa_machdep.c	txisab
3481.9Such
3491.6Such#
3501.6Such#	Real-time clock (not optional)
3511.6Such#
3521.1Stakemurafile	arch/hpcmips/hpcmips/clock.c
3531.1Stakemurafile	dev/clock_subr.c
3541.1Stakemura
3551.1Stakemura# Floppy disk controller
3561.1Stakemuradevice	fdc {drive = -1}
3571.1Stakemura#attach	fdc at isa
3581.1Stakemura#device	fd: disk, isadma
3591.1Stakemuradevice	fd: disk
3601.1Stakemura#attach	fd at fdc
3611.1Stakemurafile	arch/i386/isa/fd.c		fdc needs-flag
3621.1Stakemuramajor	{fd = 2}
3631.1Stakemura
3641.1Stakemura# network devices MII bus
3651.1Stakemurainclude "dev/mii/files.mii"
3661.1Stakemura
3671.1Stakemura# XXXX pcic here because it needs to be late.  The catch: pcic needs
3681.1Stakemura# to be late, so devices which attach to it are attached late.  But it
3691.1Stakemura# needs to be before its isa and pci attachments.  This answer is
3701.1Stakemura# non-optimal, but I don't have a better answer right now.
3711.1Stakemura
3721.1Stakemura# PCIC pcmcia contoller
3731.1Stakemura# XXX this needs to be done very late, so it's done here.  This feels
3741.1Stakemura# like a kludge, but it might be for the best.
3751.1Stakemura
3761.1Stakemuradefopt	PCIC_ISA_ALLOC_IOBASE
3771.1Stakemuradefopt	PCIC_ISA_ALLOC_IOSIZE
3781.1Stakemuradefopt	PCIC_ISA_INTR_ALLOC_MASK
3791.1Stakemura
3801.1Stakemuradevice	pcic: pcmciabus
3811.1Stakemurafile	dev/ic/i82365.c			pcic
3821.1Stakemura
3831.1Stakemura#
3841.1Stakemura# PCIC pcmcia controller
3851.1Stakemura#
3861.1Stakemuraattach	pcic at isa with pcic_isa
3871.1Stakemurafile	dev/isa/i82365_isa.c			pcic_isa
3881.1Stakemurafile	dev/isa/i82365_isasubr.c		pcic_isa
3891.1Stakemura
3901.1Stakemura#
3911.1Stakemura# Machine-independent PCMCIA drivers
3921.1Stakemura#
3931.1Stakemurainclude "dev/pcmcia/files.pcmcia"
3941.1Stakemura
3951.1Stakemura# Serial Interface Unit
3961.1Stakemuraattach com at vrip with com_vrip
3971.1Stakemurafile	arch/hpcmips/vr/com_vrip.c			com_vrip
3981.1Stakemura
3991.1Stakemura# Memory Disk for boot tape
4001.1Stakemurafile arch/hpcmips/dev/md_root.c		memory_disk_hooks
4011.1Stakemuramajor	{md = 6}
4021.9Such
4031.29Suchinclude "dev/usb/files.usb"
404