files.hpcmips revision 1.46
11.46Such#	$NetBSD: files.hpcmips,v 1.46 2001/01/28 03:09:41 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/mainbus.c
511.1Stakemurafile	arch/hpcmips/hpcmips/bus_space.c
521.29Suchfile	arch/hpcmips/hpcmips/bus_dma.c
531.1Stakemurafile	arch/hpcmips/hpcmips/disksubr.c	disk
541.43Sfvdlfile	arch/hpcmips/hpcmips/procfs_machdep.c	procfs
551.45Such
561.45Suchinclude "arch/hpc/conf/files.hpc"
571.45Suchfile	arch/hpcmips/hpcmips/platid_mask.c
581.45Suchfile	arch/hpcmips/hpcmips/platid_name.c
591.1Stakemura
601.1Stakemura# Console autoconfiguration code: selects between a framebuffers
611.1Stakemurafile	dev/cons.c
621.1Stakemurafile	arch/hpcmips/dev/bicons.c
631.1Stakemurafile	arch/hpcmips/dev/bifont.c
641.1Stakemura
651.3Stakemura# Raster operations
661.3Stakemurainclude "dev/rasops/files.rasops"
671.3Stakemurainclude "dev/wsfont/files.wsfont"
681.3Stakemura
691.1Stakemura#
701.1Stakemura# Workstation Console
711.1Stakemura#
721.1Stakemurainclude "dev/wscons/files.wscons"
731.37Stakemurafile	dev/pckbc/wskbdmap_mfii.c		btnmgr | hpckbd
741.37Stakemurafile	arch/hpcmips/dev/pckbd_encode.c		btnmgr | hpckbd
751.31Stakemuradefopt	PCKBD_LAYOUT
761.25Stakemura
771.37Stakemura#	Simple framebuffer interface for wsdisplay
781.25Stakemuradefine	hpcfbif {}
791.44Stakemuradevice	hpcfb: wsemuldisplaydev, rasops1, rasops2, rasops4, rasops8, rasops15, rasops16
801.25Stakemuraattach	hpcfb at hpcfbif
811.25Stakemurafile	arch/hpcmips/dev/hpcfb.c	hpcfb needs-flag
821.25Stakemura
831.37Stakemura#	Simple keyboard interface for wskbd
841.37Stakemuradevice hpckbdif {}
851.37Stakemuradevice hpckbd: wskbddev
861.37Stakemuraattach hpckbd at hpckbdif
871.37Stakemurafile arch/hpcmips/dev/hpckbd.c		hpckbd
881.37Stakemura
891.25Stakemuradevice	bivideo: hpcfbif
901.25Stakemurafile	arch/hpcmips/dev/bivideo.c	bivideo needs-flag
911.28Stakemurafile	arch/hpcmips/dev/hpccmap.c	bivideo
921.25Stakemuraattach	bivideo at mainbus
931.1Stakemura
941.26Stakemuradevice btnmgr: wskbddev
951.26Stakemuraattach btnmgr at mainbus
961.26Stakemurafile	arch/hpcmips/dev/btnmgr.c	btnmgr
971.32Such
981.32Suchfile	arch/hpcmips/dev/video_subr.c	tx3912video | plumvideo
991.34Stakemura
1001.34Stakemura#
1011.34Stakemura# power management
1021.34Stakemura#
1031.36Stakemurainclude "arch/hpcmips/dev/apm/files.apm"
1041.36Stakemuradevice hpcapm: apmdevif
1051.34Stakemuraattach hpcapm at mainbus
1061.34Stakemurafile	arch/hpcmips/dev/hpcapm.c	hpcapm
1071.26Stakemura
1081.1Stakemura#
1091.1Stakemura# ISA bus support
1101.1Stakemura#
1111.1Stakemurainclude "dev/isa/files.isa"
1121.1Stakemura
1131.1Stakemura#
1141.12Stakemura# pseudo devices
1151.12Stakemura#
1161.12Stakemuradefpseudo	biconsdev
1171.12Stakemurafile	arch/hpcmips/dev/biconsdev.c	biconsdev	needs-count
1181.12Stakemura
1191.12Stakemura#
1201.1Stakemura#  Vr41x1 integrated peripherals
1211.1Stakemura#
1221.12Stakemuradevice vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1], [pwctl=-1] }
1231.1Stakemuraattach vrip at mainbus
1241.8Stakemurafile arch/hpcmips/vr/vrip.c		vrip needs-flag
1251.1Stakemura
1261.39Ssatodevice vrbcu
1271.39Ssatoattach vrbcu at vrip
1281.39Ssatofile arch/hpcmips/vr/bcu_vrip.c			vrbcu needs-flag
1291.39Ssato
1301.1Stakemuradevice vrrtc
1311.1Stakemuraattach vrrtc at vrip
1321.39Ssatofile arch/hpcmips/vr/rtc.c			vrrtc needs-flag
1331.1Stakemura
1341.1Stakemuradevice vrcmu
1351.1Stakemuraattach vrcmu at vrip
1361.39Ssatofile arch/hpcmips/vr/cmu.c			vrcmu needs-flag
1371.1Stakemura
1381.1Stakemuradevice	vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]}		# GIU attachment
1391.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]} 
1401.41Ssatodevice  newgpbusif { [platform = -1], [id = -1], [port = -1], [active = 1], [level = -1], [initvalue = -1] }
1411.1Stakemura
1421.12Stakemuradevice vrgiu: vrisabif, gpbusif, newgpbusif
1431.1Stakemuraattach vrgiu at vrip
1441.1Stakemurafile arch/hpcmips/vr/vrgiu.c			vrgiu
1451.1Stakemura
1461.1Stakemuradevice gpbus
1471.1Stakemuraattach gpbus at gpbusif
1481.1Stakemurafile arch/hpcmips/vr/gpbus.c			gpbus
1491.1Stakemura
1501.1Stakemuradevice vrisab: isabus
1511.1Stakemuraattach vrisab at vrisabif
1521.1Stakemurafile arch/hpcmips/isa/isa_machdep.c		vrisab
1531.12Stakemura
1541.12Stakemuradevice pwctl
1551.12Stakemuraattach pwctl at newgpbusif with pwctl_vrgiu
1561.12Stakemurafile arch/hpcmips/vr/pwctl_vrgiu.c		pwctl_vrgiu
1571.12Stakemura
1581.12Stakemuradevice button
1591.12Stakemuraattach button at newgpbusif with button_vrgiu
1601.12Stakemurafile arch/hpcmips/vr/button_vrgiu.c		button_vrgiu
1611.1Stakemura
1621.37Stakemuradevice vrkiu: hpckbdif
1631.1Stakemuraattach vrkiu at vrip
1641.2Stakemurafile arch/hpcmips/vr/vrkiu.c			vrkiu needs-flag
1651.1Stakemura
1661.1Stakemuradevice vrpmu
1671.1Stakemuraattach vrpmu at vrip
1681.10Ssatofile arch/hpcmips/vr/vrpmu.c			vrpmu needs-flag
1691.7Stakemura
1701.7Stakemuradevice vrdsu
1711.7Stakemuraattach vrdsu at vrip
1721.7Stakemurafile arch/hpcmips/vr/vrdsu.c			vrdsu needs-flag
1731.39Ssato
1741.39Ssatodevice vrled
1751.39Ssatoattach vrled at vrip
1761.39Ssatofile arch/hpcmips/vr/vrled.c			vrled needs-flag
1771.13Stakemura
1781.16Stakemuradefine	tpcalib
1791.16Stakemurafile arch/hpcmips/dev/tpcalib.c			tpcalib
1801.16Stakemurafile arch/hpcmips/dev/mra.c			tpcalib
1811.14Such
1821.13Stakemuradevice vrpiu: wsmousedev
1831.16Stakemuraattach vrpiu at vrip: tpcalib
1841.13Stakemurafile arch/hpcmips/vr/vrpiu.c			vrpiu
1851.33Smatt
1861.33Smattattach ohci at vrip with ohci_vrip
1871.33Smattfile arch/hpcmips/dev/ohci_vrip.c		ohci_vrip
1881.35Stakemura
1891.35Stakemuradevice mqvideo: hpcfbif
1901.35Stakemuraattach mqvideo at vrip with mqvideo_vrip
1911.35Stakemurafile arch/hpcmips/vr/mq200_vrip.c		mqvideo_vrip
1921.35Stakemurafile arch/hpcmips/dev/mq200.c			mqvideo
1931.38Ssato
1941.38Ssatodevice ite8181video: hpcfbif
1951.38Ssatoattach ite8181video at vrip with ite8181video_vrip
1961.38Ssatofile arch/hpcmips/vr/ite8181_vrip.c		ite8181video_vrip
1971.38Ssatofile arch/hpcmips/dev/ite8181.c			ite8181video
1981.1Stakemura
1991.6Such#
2001.6Such#	TOSHIBA TX3912/3922
2011.6Such#
2021.6Suchdefopt TX39_DEBUG
2031.6Suchdefopt TX39_WATCHDOGTIMER
2041.6Suchdefopt TX39ICUDEBUG
2051.9Suchdefopt TX39CLKDEBUG
2061.6Suchdefopt TX39BIUDEBUG
2071.6Suchdefopt TX39POWERDEBUG
2081.6Suchdefopt TX39UARTDEBUG
2091.9Suchdefopt USE_POLL
2101.6Such
2111.42Suchdevice txsim {[platform = -1]}
2121.6Suchdevice txcsbusif {[platform = -1]}
2131.6Suchdevice txcomif {[slot = -1]}
2141.14Suchdevice txsibif {[slot = -1]}
2151.17Suchdevice ucbif { }
2161.18Suchdevice irif { }
2171.42Suchdevice txiomanif {[evtype = -1], [id = -1], [group = -1], [port = -1], [edge = -1], [initial = -1]}
2181.6Such
2191.6Suchattach txsim at mainbus
2201.6Suchfile arch/hpcmips/tx/txsim.c		txsim
2211.17Suchfile arch/hpcmips/tx/txsnd.c		txsim
2221.6Such
2231.6Suchdevice tx39biu: txcsbusif
2241.6Suchattach tx39biu at txsim
2251.6Suchfile arch/hpcmips/tx/tx39biu.c		tx39biu
2261.6Such
2271.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]}
2281.6Suchattach txcsbus at txcsbusif
2291.6Suchfile arch/hpcmips/tx/txcsbus.c		txcsbus
2301.6Such
2311.6Suchdevice tx39icu
2321.6Suchattach tx39icu at txsim
2331.6Suchfile arch/hpcmips/tx/tx39icu.c		tx39icu
2341.6Such
2351.6Suchdevice tx39power
2361.6Suchattach tx39power at txsim
2371.6Suchfile arch/hpcmips/tx/tx39power.c	tx39power
2381.6Such
2391.6Suchdevice tx39clock
2401.6Suchattach tx39clock at txsim
2411.6Suchfile arch/hpcmips/tx/tx39clock.c	tx39clock
2421.6Such
2431.30Suchdevice tx3912video: hpcfbif
2441.6Suchattach tx3912video at txsim
2451.6Suchfile arch/hpcmips/tx/tx3912video.c	tx3912video
2461.6Such
2471.42Suchdevice tx39io
2481.6Suchattach tx39io at txsim
2491.6Suchfile arch/hpcmips/tx/tx39io.c		tx39io
2501.6Such
2511.42Suchdevice txioman: txiomanif
2521.42Suchattach txioman at txsim
2531.19Suchfile arch/hpcmips/tx/txioman.c		txioman
2541.19Such
2551.42Suchdevice txin
2561.42Suchattach txin at txiomanif
2571.42Suchfile arch/hpcmips/tx/txioman_in.c	txin
2581.42Such
2591.42Suchdevice txout
2601.42Suchattach txout at txiomanif
2611.42Suchfile arch/hpcmips/tx/txioman_out.c	txout
2621.42Such
2631.14Suchdevice tx39sib: txsibif
2641.14Suchattach tx39sib at txsim
2651.14Suchfile arch/hpcmips/tx/tx39sib.c		tx39sib
2661.14Such
2671.17Such#	PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
2681.17Suchdevice ucb: ucbif
2691.17Suchattach ucb at txsibif
2701.14Suchfile arch/hpcmips/dev/ucb1200.c		ucb
2711.14Such
2721.17Suchdevice ucbtp: wsmousedev
2731.17Suchattach ucbtp at ucbif: tpcalib
2741.17Suchfile arch/hpcmips/dev/ucbtp.c		ucbtp
2751.17Such
2761.17Suchdevice ucbsnd
2771.17Suchattach ucbsnd at ucbif
2781.23Suchfile arch/hpcmips/dev/ucbsnd.c		ucbsnd		needs-flag
2791.22Such
2801.42Suchdevice ucbio
2811.22Suchattach ucbio at ucbif
2821.22Suchfile arch/hpcmips/dev/ucbio.c		ucbio
2831.22Such
2841.6Suchdevice tx39uart: txcomif
2851.6Suchattach tx39uart at txsim
2861.6Suchfile arch/hpcmips/tx/tx39uart.c		tx39uart	needs-flag
2871.6Such
2881.18Suchdevice txcom: irif
2891.6Suchattach txcom at txcomif
2901.6Suchfile arch/hpcmips/tx/txcom.c		txcom
2911.18Such
2921.18Suchdevice tx39ir
2931.18Suchattach tx39ir at irif
2941.18Suchfile arch/hpcmips/tx/tx39ir.c		tx39ir
2951.6Such
2961.17Such#	ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
2971.6Suchdevice it8368e: pcmciabus
2981.6Suchattach it8368e at txcsbus
2991.42Suchfile arch/hpcmips/dev/it8368.c		it8368e
3001.6Such
3011.9Such#	MITUBISHI M38813 keryboard controller
3021.37Stakemuradevice m38813c: hpckbdif
3031.9Suchattach m38813c at txcsbus
3041.9Suchfile arch/hpcmips/dev/m38813c.c		m38813c		needs-flag
3051.11Such
3061.19Such#	PHILIPS 74ALVC16241 / TOSHIBA TC5165BTFS buffer driver (keyboard)
3071.37Stakemuradevice tc5165buf: hpckbdif
3081.11Suchattach tc5165buf at txcsbus
3091.11Suchfile arch/hpcmips/dev/tc5165buf.c	tc5165buf	needs-flag
3101.6Such
3111.6Such#	TOSHIBA TC6358E(Plum2)
3121.6Suchdevice plumif {}
3131.6Suchdevice plum: plumif
3141.6Suchattach plum at txcsbus
3151.6Suchfile arch/hpcmips/dev/plum.c		plum
3161.6Such
3171.6Suchdevice plumicu
3181.6Suchattach plumicu at plumif
3191.6Suchfile arch/hpcmips/dev/plumicu.c		plumicu
3201.6Such
3211.6Suchdevice plumpower
3221.6Suchattach plumpower at plumif
3231.6Suchfile arch/hpcmips/dev/plumpower.c	plumpower
3241.6Such
3251.30Suchdevice plumvideo: hpcfbif
3261.6Suchattach plumvideo at plumif
3271.6Suchfile arch/hpcmips/dev/plumvideo.c	plumvideo
3281.6Such
3291.6Suchdevice plumpcmcia: pcmciabus
3301.6Suchattach plumpcmcia at plumif
3311.6Suchfile arch/hpcmips/dev/plumpcmcia.c	plumpcmcia
3321.6Such
3331.6Suchdevice plumiobusif {[platform = -1], [slot = -1]}
3341.6Suchdevice plumiobus: plumiobusif
3351.6Suchattach plumiobus at plumif
3361.6Suchfile arch/hpcmips/dev/plumiobus.c	plumiobus
3371.6Such
3381.6Suchdevice plumisab: isabus
3391.6Suchattach plumisab at plumiobusif
3401.6Suchfile arch/hpcmips/isa/plumisa_machdep.c	plumisab
3411.6Such
3421.9Such# OHCI USB controller
3431.29Suchattach	ohci at plumif with plumohci
3441.40Suchfile	arch/hpcmips/dev/plumohci.c	plumohci	needs-flag
3451.9Such
3461.9Such#device txisab: isabus
3471.9Such#attach txisab at txcsbus
3481.9Such#file arch/hpcmips/isa/txisa_machdep.c	txisab
3491.9Such
3501.6Such#
3511.6Such#	Real-time clock (not optional)
3521.6Such#
3531.1Stakemurafile	arch/hpcmips/hpcmips/clock.c
3541.1Stakemurafile	dev/clock_subr.c
3551.1Stakemura
3561.1Stakemura# Floppy disk controller
3571.1Stakemuradevice	fdc {drive = -1}
3581.1Stakemura#attach	fdc at isa
3591.1Stakemura#device	fd: disk, isadma
3601.1Stakemuradevice	fd: disk
3611.1Stakemura#attach	fd at fdc
3621.1Stakemurafile	arch/i386/isa/fd.c		fdc needs-flag
3631.1Stakemuramajor	{fd = 2}
3641.1Stakemura
3651.1Stakemura# network devices MII bus
3661.1Stakemurainclude "dev/mii/files.mii"
3671.1Stakemura
3681.1Stakemura# XXXX pcic here because it needs to be late.  The catch: pcic needs
3691.1Stakemura# to be late, so devices which attach to it are attached late.  But it
3701.1Stakemura# needs to be before its isa and pci attachments.  This answer is
3711.1Stakemura# non-optimal, but I don't have a better answer right now.
3721.1Stakemura
3731.1Stakemura# PCIC pcmcia contoller
3741.1Stakemura# XXX this needs to be done very late, so it's done here.  This feels
3751.1Stakemura# like a kludge, but it might be for the best.
3761.1Stakemura
3771.1Stakemuradefopt	PCIC_ISA_ALLOC_IOBASE
3781.1Stakemuradefopt	PCIC_ISA_ALLOC_IOSIZE
3791.1Stakemuradefopt	PCIC_ISA_INTR_ALLOC_MASK
3801.1Stakemura
3811.1Stakemuradevice	pcic: pcmciabus
3821.1Stakemurafile	dev/ic/i82365.c			pcic
3831.1Stakemura
3841.1Stakemura#
3851.1Stakemura# PCIC pcmcia controller
3861.1Stakemura#
3871.1Stakemuraattach	pcic at isa with pcic_isa
3881.1Stakemurafile	dev/isa/i82365_isa.c			pcic_isa
3891.1Stakemurafile	dev/isa/i82365_isasubr.c		pcic_isa
3901.1Stakemura
3911.1Stakemura#
3921.1Stakemura# Machine-independent PCMCIA drivers
3931.1Stakemura#
3941.1Stakemurainclude "dev/pcmcia/files.pcmcia"
3951.1Stakemura
3961.1Stakemura# Serial Interface Unit
3971.1Stakemuraattach com at vrip with com_vrip
3981.1Stakemurafile	arch/hpcmips/vr/com_vrip.c			com_vrip
3991.1Stakemura
4001.1Stakemura# Memory Disk for boot tape
4011.46Suchfile dev/md_root.c				memory_disk_hooks
4021.1Stakemuramajor	{md = 6}
4031.9Such
4041.29Suchinclude "dev/usb/files.usb"
405