files.hpcmips revision 1.38
11.38Ssato#	$NetBSD: files.hpcmips,v 1.38 2000/10/02 03:57:53 sato 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.1Stakemuradevice vrrtc
1261.1Stakemuraattach vrrtc at vrip
1271.1Stakemurafile arch/hpcmips/vr/rtc.c			vrrtc
1281.1Stakemura
1291.1Stakemuradevice vrcmu
1301.1Stakemuraattach vrcmu at vrip
1311.1Stakemurafile arch/hpcmips/vr/cmu.c			vrcmu
1321.1Stakemura
1331.1Stakemuradevice	vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]}		# GIU attachment
1341.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]} 
1351.12Stakemuradevice  newgpbusif { [platform = -1], [id = -1], [port = -1], [active = 1], [level = -1] }
1361.1Stakemura
1371.12Stakemuradevice vrgiu: vrisabif, gpbusif, newgpbusif
1381.1Stakemuraattach vrgiu at vrip
1391.1Stakemurafile arch/hpcmips/vr/vrgiu.c			vrgiu
1401.1Stakemura
1411.1Stakemuradevice gpbus
1421.1Stakemuraattach gpbus at gpbusif
1431.1Stakemurafile arch/hpcmips/vr/gpbus.c			gpbus
1441.1Stakemura
1451.1Stakemuradevice vrisab: isabus
1461.1Stakemuraattach vrisab at vrisabif
1471.1Stakemurafile arch/hpcmips/isa/isa_machdep.c		vrisab
1481.12Stakemura
1491.12Stakemuradevice pwctl
1501.12Stakemuraattach pwctl at newgpbusif with pwctl_vrgiu
1511.12Stakemurafile arch/hpcmips/vr/pwctl_vrgiu.c		pwctl_vrgiu
1521.12Stakemura
1531.12Stakemuradevice button
1541.12Stakemuraattach button at newgpbusif with button_vrgiu
1551.12Stakemurafile arch/hpcmips/vr/button_vrgiu.c		button_vrgiu
1561.1Stakemura
1571.1Stakemuradevice vrbcu
1581.1Stakemuraattach vrbcu at vrip
1591.10Ssatofile arch/hpcmips/vr/bcu_vrip.c			vrbcu needs-flag
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.13Stakemura
1731.16Stakemuradefine	tpcalib
1741.16Stakemurafile arch/hpcmips/dev/tpcalib.c			tpcalib
1751.16Stakemurafile arch/hpcmips/dev/mra.c			tpcalib
1761.14Such
1771.13Stakemuradevice vrpiu: wsmousedev
1781.16Stakemuraattach vrpiu at vrip: tpcalib
1791.13Stakemurafile arch/hpcmips/vr/vrpiu.c			vrpiu
1801.33Smatt
1811.33Smattattach ohci at vrip with ohci_vrip
1821.33Smattfile arch/hpcmips/dev/ohci_vrip.c		ohci_vrip
1831.35Stakemura
1841.35Stakemuradevice mqvideo: hpcfbif
1851.35Stakemuraattach mqvideo at vrip with mqvideo_vrip
1861.35Stakemurafile arch/hpcmips/vr/mq200_vrip.c		mqvideo_vrip
1871.35Stakemurafile arch/hpcmips/dev/mq200.c			mqvideo
1881.38Ssato
1891.38Ssatodevice ite8181video: hpcfbif
1901.38Ssatoattach ite8181video at vrip with ite8181video_vrip
1911.38Ssatofile arch/hpcmips/vr/ite8181_vrip.c		ite8181video_vrip
1921.38Ssatofile arch/hpcmips/dev/ite8181.c			ite8181video
1931.1Stakemura
1941.6Such#
1951.6Such#	TOSHIBA TX3912/3922
1961.6Such#
1971.6Suchdefopt TX39_DEBUG
1981.6Suchdefopt TX39_WATCHDOGTIMER
1991.6Suchdefopt TX39ICUDEBUG
2001.9Suchdefopt TX39CLKDEBUG
2011.6Suchdefopt TX39BIUDEBUG
2021.6Suchdefopt TX39IODEBUG
2031.6Suchdefopt TX39POWERDEBUG
2041.6Suchdefopt TX39UARTDEBUG
2051.9Suchdefopt USE_POLL
2061.6Such
2071.6Suchdevice txsim { }
2081.6Suchdevice txcsbusif {[platform = -1]}
2091.6Suchdevice txcomif {[slot = -1]}
2101.14Suchdevice txsibif {[slot = -1]}
2111.17Suchdevice ucbif { }
2121.18Suchdevice irif { }
2131.19Suchdevice txiomanif {[platform = -1]}
2141.6Such
2151.6Suchattach txsim at mainbus
2161.6Suchfile arch/hpcmips/tx/txsim.c		txsim
2171.17Suchfile arch/hpcmips/tx/txsnd.c		txsim
2181.6Such
2191.6Suchdevice tx39biu: txcsbusif
2201.6Suchattach tx39biu at txsim
2211.6Suchfile arch/hpcmips/tx/tx39biu.c		tx39biu
2221.6Such
2231.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]}
2241.6Suchattach txcsbus at txcsbusif
2251.6Suchfile arch/hpcmips/tx/txcsbus.c		txcsbus
2261.6Such
2271.6Suchdevice tx39icu
2281.6Suchattach tx39icu at txsim
2291.6Suchfile arch/hpcmips/tx/tx39icu.c		tx39icu
2301.6Such
2311.6Suchdevice tx39power
2321.6Suchattach tx39power at txsim
2331.6Suchfile arch/hpcmips/tx/tx39power.c	tx39power
2341.6Such
2351.6Suchdevice tx39clock
2361.6Suchattach tx39clock at txsim
2371.6Suchfile arch/hpcmips/tx/tx39clock.c	tx39clock
2381.6Such
2391.30Suchdevice tx3912video: hpcfbif
2401.6Suchattach tx3912video at txsim
2411.6Suchfile arch/hpcmips/tx/tx3912video.c	tx3912video
2421.6Such
2431.19Suchdevice tx39io: txiomanif
2441.6Suchattach tx39io at txsim
2451.6Suchfile arch/hpcmips/tx/tx39io.c		tx39io
2461.6Such
2471.19Suchdevice txioman
2481.19Suchattach txioman at txiomanif
2491.19Suchfile arch/hpcmips/tx/txioman.c		txioman
2501.19Such
2511.14Suchdevice tx39sib: txsibif
2521.14Suchattach tx39sib at txsim
2531.14Suchfile arch/hpcmips/tx/tx39sib.c		tx39sib
2541.14Such
2551.17Such#	PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
2561.17Suchdevice ucb: ucbif
2571.17Suchattach ucb at txsibif
2581.14Suchfile arch/hpcmips/dev/ucb1200.c		ucb
2591.14Such
2601.17Suchdevice ucbtp: wsmousedev
2611.17Suchattach ucbtp at ucbif: tpcalib
2621.17Suchfile arch/hpcmips/dev/ucbtp.c		ucbtp
2631.17Such
2641.17Suchdevice ucbsnd
2651.17Suchattach ucbsnd at ucbif
2661.23Suchfile arch/hpcmips/dev/ucbsnd.c		ucbsnd		needs-flag
2671.22Such
2681.22Suchdevice ucbio: newgpbusif
2691.22Suchattach ucbio at ucbif
2701.22Suchfile arch/hpcmips/dev/ucbio.c		ucbio
2711.22Such
2721.22Suchdevice ucbioport
2731.22Suchattach ucbioport at newgpbusif
2741.22Suchfile arch/hpcmips/dev/ucbioport.c	ucbioport
2751.14Such
2761.6Suchdevice tx39uart: txcomif
2771.6Suchattach tx39uart at txsim
2781.6Suchfile arch/hpcmips/tx/tx39uart.c		tx39uart	needs-flag
2791.6Such
2801.18Suchdevice txcom: irif
2811.6Suchattach txcom at txcomif
2821.6Suchfile arch/hpcmips/tx/txcom.c		txcom
2831.18Such
2841.18Suchdevice tx39ir
2851.18Suchattach tx39ir at irif
2861.18Suchfile arch/hpcmips/tx/tx39ir.c		tx39ir
2871.6Such
2881.17Such#	ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
2891.6Suchdevice it8368e: pcmciabus
2901.6Suchattach it8368e at txcsbus
2911.6Suchfile arch/hpcmips/dev/it8368.c	it8368e
2921.6Such
2931.9Such#	MITUBISHI M38813 keryboard controller
2941.37Stakemuradevice m38813c: hpckbdif
2951.9Suchattach m38813c at txcsbus
2961.9Suchfile arch/hpcmips/dev/m38813c.c		m38813c		needs-flag
2971.11Such
2981.19Such#	PHILIPS 74ALVC16241 / TOSHIBA TC5165BTFS buffer driver (keyboard)
2991.37Stakemuradevice tc5165buf: hpckbdif
3001.11Suchattach tc5165buf at txcsbus
3011.11Suchfile arch/hpcmips/dev/tc5165buf.c	tc5165buf	needs-flag
3021.6Such
3031.6Such#	TOSHIBA TC6358E(Plum2)
3041.6Suchdevice plumif {}
3051.6Suchdevice plum: plumif
3061.6Suchattach plum at txcsbus
3071.6Suchfile arch/hpcmips/dev/plum.c		plum
3081.6Such
3091.6Suchdevice plumicu
3101.6Suchattach plumicu at plumif
3111.6Suchfile arch/hpcmips/dev/plumicu.c		plumicu
3121.6Such
3131.6Suchdevice plumpower
3141.6Suchattach plumpower at plumif
3151.6Suchfile arch/hpcmips/dev/plumpower.c	plumpower
3161.6Such
3171.30Suchdevice plumvideo: hpcfbif
3181.6Suchattach plumvideo at plumif
3191.6Suchfile arch/hpcmips/dev/plumvideo.c	plumvideo
3201.6Such
3211.6Suchdevice plumpcmcia: pcmciabus
3221.6Suchattach plumpcmcia at plumif
3231.6Suchfile arch/hpcmips/dev/plumpcmcia.c	plumpcmcia
3241.6Such
3251.6Suchdevice plumiobusif {[platform = -1], [slot = -1]}
3261.6Suchdevice plumiobus: plumiobusif
3271.6Suchattach plumiobus at plumif
3281.6Suchfile arch/hpcmips/dev/plumiobus.c	plumiobus
3291.6Such
3301.6Suchdevice plumisab: isabus
3311.6Suchattach plumisab at plumiobusif
3321.6Suchfile arch/hpcmips/isa/plumisa_machdep.c	plumisab
3331.6Such
3341.9Such# OHCI USB controller
3351.29Suchattach	ohci at plumif with plumohci
3361.29Suchfile	arch/hpcmips/dev/plumohci.c	plumohci
3371.9Such
3381.9Such#device txisab: isabus
3391.9Such#attach txisab at txcsbus
3401.9Such#file arch/hpcmips/isa/txisa_machdep.c	txisab
3411.9Such
3421.6Such#
3431.6Such#	Real-time clock (not optional)
3441.6Such#
3451.1Stakemurafile	arch/hpcmips/hpcmips/clock.c
3461.1Stakemurafile	dev/clock_subr.c
3471.1Stakemura
3481.1Stakemura# Floppy disk controller
3491.1Stakemuradevice	fdc {drive = -1}
3501.1Stakemura#attach	fdc at isa
3511.1Stakemura#device	fd: disk, isadma
3521.1Stakemuradevice	fd: disk
3531.1Stakemura#attach	fd at fdc
3541.1Stakemurafile	arch/i386/isa/fd.c		fdc needs-flag
3551.1Stakemuramajor	{fd = 2}
3561.1Stakemura
3571.1Stakemura# network devices MII bus
3581.1Stakemurainclude "dev/mii/files.mii"
3591.1Stakemura
3601.1Stakemura# XXXX pcic here because it needs to be late.  The catch: pcic needs
3611.1Stakemura# to be late, so devices which attach to it are attached late.  But it
3621.1Stakemura# needs to be before its isa and pci attachments.  This answer is
3631.1Stakemura# non-optimal, but I don't have a better answer right now.
3641.1Stakemura
3651.1Stakemura# PCIC pcmcia contoller
3661.1Stakemura# XXX this needs to be done very late, so it's done here.  This feels
3671.1Stakemura# like a kludge, but it might be for the best.
3681.1Stakemura
3691.1Stakemuradefopt	PCIC_ISA_ALLOC_IOBASE
3701.1Stakemuradefopt	PCIC_ISA_ALLOC_IOSIZE
3711.1Stakemuradefopt	PCIC_ISA_INTR_ALLOC_MASK
3721.1Stakemura
3731.1Stakemuradevice	pcic: pcmciabus
3741.1Stakemurafile	dev/ic/i82365.c			pcic
3751.1Stakemura
3761.1Stakemura#
3771.1Stakemura# PCIC pcmcia controller
3781.1Stakemura#
3791.1Stakemuraattach	pcic at isa with pcic_isa
3801.1Stakemurafile	dev/isa/i82365_isa.c			pcic_isa
3811.1Stakemurafile	dev/isa/i82365_isasubr.c		pcic_isa
3821.1Stakemura
3831.1Stakemura#
3841.1Stakemura# Machine-independent PCMCIA drivers
3851.1Stakemura#
3861.1Stakemurainclude "dev/pcmcia/files.pcmcia"
3871.1Stakemura
3881.1Stakemura# Serial Interface Unit
3891.1Stakemuraattach com at vrip with com_vrip
3901.1Stakemurafile	arch/hpcmips/vr/com_vrip.c			com_vrip
3911.1Stakemura
3921.1Stakemura# Memory Disk for boot tape
3931.1Stakemurafile arch/hpcmips/dev/md_root.c		memory_disk_hooks
3941.1Stakemuramajor	{md = 6}
3951.9Such
3961.29Suchinclude "dev/usb/files.usb"
397