files.hpcmips revision 1.48
11.48Such#	$NetBSD: files.hpcmips,v 1.48 2001/02/05 17:41:23 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.48Such#
571.48Such# H/PC Platform common files.
581.48Such#
591.45Suchinclude "arch/hpc/conf/files.hpc"
601.1Stakemura
611.1Stakemura# Console autoconfiguration code: selects between a framebuffers
621.1Stakemurafile	dev/cons.c
631.1Stakemurafile	arch/hpcmips/dev/bicons.c
641.1Stakemurafile	arch/hpcmips/dev/bifont.c
651.1Stakemura
661.3Stakemura# Raster operations
671.3Stakemurainclude "dev/rasops/files.rasops"
681.3Stakemurainclude "dev/wsfont/files.wsfont"
691.3Stakemura
701.1Stakemura#
711.1Stakemura# Workstation Console
721.1Stakemura#
731.1Stakemurainclude "dev/wscons/files.wscons"
741.37Stakemurafile	dev/pckbc/wskbdmap_mfii.c		btnmgr | hpckbd
751.37Stakemurafile	arch/hpcmips/dev/pckbd_encode.c		btnmgr | hpckbd
761.31Stakemuradefopt	PCKBD_LAYOUT
771.25Stakemura
781.37Stakemura#	Simple framebuffer interface for wsdisplay
791.25Stakemuradefine	hpcfbif {}
801.44Stakemuradevice	hpcfb: wsemuldisplaydev, rasops1, rasops2, rasops4, rasops8, rasops15, rasops16
811.25Stakemuraattach	hpcfb at hpcfbif
821.25Stakemurafile	arch/hpcmips/dev/hpcfb.c	hpcfb needs-flag
831.25Stakemura
841.37Stakemura#	Simple keyboard interface for wskbd
851.37Stakemuradevice hpckbdif {}
861.37Stakemuradevice hpckbd: wskbddev
871.37Stakemuraattach hpckbd at hpckbdif
881.37Stakemurafile arch/hpcmips/dev/hpckbd.c		hpckbd
891.37Stakemura
901.25Stakemuradevice	bivideo: hpcfbif
911.25Stakemurafile	arch/hpcmips/dev/bivideo.c	bivideo needs-flag
921.28Stakemurafile	arch/hpcmips/dev/hpccmap.c	bivideo
931.25Stakemuraattach	bivideo at mainbus
941.1Stakemura
951.26Stakemuradevice btnmgr: wskbddev
961.26Stakemuraattach btnmgr at mainbus
971.26Stakemurafile	arch/hpcmips/dev/btnmgr.c	btnmgr
981.32Such
991.32Suchfile	arch/hpcmips/dev/video_subr.c	tx3912video | plumvideo
1001.34Stakemura
1011.34Stakemura#
1021.34Stakemura# power management
1031.34Stakemura#
1041.36Stakemurainclude "arch/hpcmips/dev/apm/files.apm"
1051.36Stakemuradevice hpcapm: apmdevif
1061.34Stakemuraattach hpcapm at mainbus
1071.34Stakemurafile	arch/hpcmips/dev/hpcapm.c	hpcapm
1081.26Stakemura
1091.1Stakemura#
1101.1Stakemura# ISA bus support
1111.1Stakemura#
1121.1Stakemurainclude "dev/isa/files.isa"
1131.1Stakemura
1141.1Stakemura#
1151.12Stakemura# pseudo devices
1161.12Stakemura#
1171.12Stakemuradefpseudo	biconsdev
1181.12Stakemurafile	arch/hpcmips/dev/biconsdev.c	biconsdev	needs-count
1191.12Stakemura
1201.12Stakemura#
1211.1Stakemura#  Vr41x1 integrated peripherals
1221.1Stakemura#
1231.12Stakemuradevice vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1], [pwctl=-1] }
1241.1Stakemuraattach vrip at mainbus
1251.8Stakemurafile arch/hpcmips/vr/vrip.c		vrip needs-flag
1261.1Stakemura
1271.39Ssatodevice vrbcu
1281.39Ssatoattach vrbcu at vrip
1291.39Ssatofile arch/hpcmips/vr/bcu_vrip.c			vrbcu needs-flag
1301.39Ssato
1311.1Stakemuradevice vrrtc
1321.1Stakemuraattach vrrtc at vrip
1331.39Ssatofile arch/hpcmips/vr/rtc.c			vrrtc needs-flag
1341.1Stakemura
1351.1Stakemuradevice vrcmu
1361.1Stakemuraattach vrcmu at vrip
1371.39Ssatofile arch/hpcmips/vr/cmu.c			vrcmu needs-flag
1381.1Stakemura
1391.1Stakemuradevice	vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]}		# GIU attachment
1401.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]} 
1411.41Ssatodevice  newgpbusif { [platform = -1], [id = -1], [port = -1], [active = 1], [level = -1], [initvalue = -1] }
1421.1Stakemura
1431.12Stakemuradevice vrgiu: vrisabif, gpbusif, newgpbusif
1441.1Stakemuraattach vrgiu at vrip
1451.1Stakemurafile arch/hpcmips/vr/vrgiu.c			vrgiu
1461.1Stakemura
1471.1Stakemuradevice gpbus
1481.1Stakemuraattach gpbus at gpbusif
1491.1Stakemurafile arch/hpcmips/vr/gpbus.c			gpbus
1501.1Stakemura
1511.1Stakemuradevice vrisab: isabus
1521.1Stakemuraattach vrisab at vrisabif
1531.1Stakemurafile arch/hpcmips/isa/isa_machdep.c		vrisab
1541.12Stakemura
1551.12Stakemuradevice pwctl
1561.12Stakemuraattach pwctl at newgpbusif with pwctl_vrgiu
1571.12Stakemurafile arch/hpcmips/vr/pwctl_vrgiu.c		pwctl_vrgiu
1581.12Stakemura
1591.12Stakemuradevice button
1601.12Stakemuraattach button at newgpbusif with button_vrgiu
1611.12Stakemurafile arch/hpcmips/vr/button_vrgiu.c		button_vrgiu
1621.1Stakemura
1631.37Stakemuradevice vrkiu: hpckbdif
1641.1Stakemuraattach vrkiu at vrip
1651.2Stakemurafile arch/hpcmips/vr/vrkiu.c			vrkiu needs-flag
1661.1Stakemura
1671.1Stakemuradevice vrpmu
1681.1Stakemuraattach vrpmu at vrip
1691.10Ssatofile arch/hpcmips/vr/vrpmu.c			vrpmu needs-flag
1701.7Stakemura
1711.7Stakemuradevice vrdsu
1721.7Stakemuraattach vrdsu at vrip
1731.7Stakemurafile arch/hpcmips/vr/vrdsu.c			vrdsu needs-flag
1741.39Ssato
1751.39Ssatodevice vrled
1761.39Ssatoattach vrled at vrip
1771.39Ssatofile arch/hpcmips/vr/vrled.c			vrled needs-flag
1781.13Stakemura
1791.16Stakemuradefine	tpcalib
1801.16Stakemurafile arch/hpcmips/dev/tpcalib.c			tpcalib
1811.16Stakemurafile arch/hpcmips/dev/mra.c			tpcalib
1821.14Such
1831.13Stakemuradevice vrpiu: wsmousedev
1841.16Stakemuraattach vrpiu at vrip: tpcalib
1851.13Stakemurafile arch/hpcmips/vr/vrpiu.c			vrpiu
1861.33Smatt
1871.33Smattattach ohci at vrip with ohci_vrip
1881.33Smattfile arch/hpcmips/dev/ohci_vrip.c		ohci_vrip
1891.35Stakemura
1901.35Stakemuradevice mqvideo: hpcfbif
1911.35Stakemuraattach mqvideo at vrip with mqvideo_vrip
1921.35Stakemurafile arch/hpcmips/vr/mq200_vrip.c		mqvideo_vrip
1931.35Stakemurafile arch/hpcmips/dev/mq200.c			mqvideo
1941.38Ssato
1951.38Ssatodevice ite8181video: hpcfbif
1961.38Ssatoattach ite8181video at vrip with ite8181video_vrip
1971.38Ssatofile arch/hpcmips/vr/ite8181_vrip.c		ite8181video_vrip
1981.38Ssatofile arch/hpcmips/dev/ite8181.c			ite8181video
1991.1Stakemura
2001.6Such#
2011.6Such#	TOSHIBA TX3912/3922
2021.6Such#
2031.6Suchdefopt TX39_DEBUG
2041.6Suchdefopt TX39_WATCHDOGTIMER
2051.6Suchdefopt TX39ICUDEBUG
2061.9Suchdefopt TX39CLKDEBUG
2071.6Suchdefopt TX39BIUDEBUG
2081.6Suchdefopt TX39POWERDEBUG
2091.6Suchdefopt TX39UARTDEBUG
2101.9Suchdefopt USE_POLL
2111.6Such
2121.42Suchdevice txsim {[platform = -1]}
2131.6Suchdevice txcsbusif {[platform = -1]}
2141.6Suchdevice txcomif {[slot = -1]}
2151.14Suchdevice txsibif {[slot = -1]}
2161.17Suchdevice ucbif { }
2171.18Suchdevice irif { }
2181.42Suchdevice txiomanif {[evtype = -1], [id = -1], [group = -1], [port = -1], [edge = -1], [initial = -1]}
2191.6Such
2201.6Suchattach txsim at mainbus
2211.6Suchfile arch/hpcmips/tx/txsim.c		txsim
2221.17Suchfile arch/hpcmips/tx/txsnd.c		txsim
2231.6Such
2241.6Suchdevice tx39biu: txcsbusif
2251.6Suchattach tx39biu at txsim
2261.6Suchfile arch/hpcmips/tx/tx39biu.c		tx39biu
2271.6Such
2281.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]}
2291.6Suchattach txcsbus at txcsbusif
2301.6Suchfile arch/hpcmips/tx/txcsbus.c		txcsbus
2311.6Such
2321.6Suchdevice tx39icu
2331.6Suchattach tx39icu at txsim
2341.6Suchfile arch/hpcmips/tx/tx39icu.c		tx39icu
2351.6Such
2361.6Suchdevice tx39power
2371.6Suchattach tx39power at txsim
2381.6Suchfile arch/hpcmips/tx/tx39power.c	tx39power
2391.6Such
2401.6Suchdevice tx39clock
2411.6Suchattach tx39clock at txsim
2421.6Suchfile arch/hpcmips/tx/tx39clock.c	tx39clock
2431.6Such
2441.30Suchdevice tx3912video: hpcfbif
2451.6Suchattach tx3912video at txsim
2461.6Suchfile arch/hpcmips/tx/tx3912video.c	tx3912video
2471.6Such
2481.42Suchdevice tx39io
2491.6Suchattach tx39io at txsim
2501.6Suchfile arch/hpcmips/tx/tx39io.c		tx39io
2511.6Such
2521.42Suchdevice txioman: txiomanif
2531.42Suchattach txioman at txsim
2541.19Suchfile arch/hpcmips/tx/txioman.c		txioman
2551.19Such
2561.42Suchdevice txin
2571.42Suchattach txin at txiomanif
2581.42Suchfile arch/hpcmips/tx/txioman_in.c	txin
2591.42Such
2601.42Suchdevice txout
2611.42Suchattach txout at txiomanif
2621.42Suchfile arch/hpcmips/tx/txioman_out.c	txout
2631.42Such
2641.14Suchdevice tx39sib: txsibif
2651.14Suchattach tx39sib at txsim
2661.14Suchfile arch/hpcmips/tx/tx39sib.c		tx39sib
2671.14Such
2681.17Such#	PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
2691.17Suchdevice ucb: ucbif
2701.17Suchattach ucb at txsibif
2711.14Suchfile arch/hpcmips/dev/ucb1200.c		ucb
2721.14Such
2731.17Suchdevice ucbtp: wsmousedev
2741.17Suchattach ucbtp at ucbif: tpcalib
2751.17Suchfile arch/hpcmips/dev/ucbtp.c		ucbtp
2761.17Such
2771.17Suchdevice ucbsnd
2781.17Suchattach ucbsnd at ucbif
2791.23Suchfile arch/hpcmips/dev/ucbsnd.c		ucbsnd		needs-flag
2801.22Such
2811.42Suchdevice ucbio
2821.22Suchattach ucbio at ucbif
2831.22Suchfile arch/hpcmips/dev/ucbio.c		ucbio
2841.22Such
2851.6Suchdevice tx39uart: txcomif
2861.6Suchattach tx39uart at txsim
2871.6Suchfile arch/hpcmips/tx/tx39uart.c		tx39uart	needs-flag
2881.6Such
2891.18Suchdevice txcom: irif
2901.6Suchattach txcom at txcomif
2911.6Suchfile arch/hpcmips/tx/txcom.c		txcom
2921.18Such
2931.18Suchdevice tx39ir
2941.18Suchattach tx39ir at irif
2951.18Suchfile arch/hpcmips/tx/tx39ir.c		tx39ir
2961.6Such
2971.17Such#	ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
2981.6Suchdevice it8368e: pcmciabus
2991.6Suchattach it8368e at txcsbus
3001.42Suchfile arch/hpcmips/dev/it8368.c		it8368e
3011.6Such
3021.9Such#	MITUBISHI M38813 keryboard controller
3031.37Stakemuradevice m38813c: hpckbdif
3041.9Suchattach m38813c at txcsbus
3051.9Suchfile arch/hpcmips/dev/m38813c.c		m38813c		needs-flag
3061.11Such
3071.19Such#	PHILIPS 74ALVC16241 / TOSHIBA TC5165BTFS buffer driver (keyboard)
3081.37Stakemuradevice tc5165buf: hpckbdif
3091.11Suchattach tc5165buf at txcsbus
3101.11Suchfile arch/hpcmips/dev/tc5165buf.c	tc5165buf	needs-flag
3111.6Such
3121.6Such#	TOSHIBA TC6358E(Plum2)
3131.6Suchdevice plumif {}
3141.6Suchdevice plum: plumif
3151.6Suchattach plum at txcsbus
3161.6Suchfile arch/hpcmips/dev/plum.c		plum
3171.6Such
3181.6Suchdevice plumicu
3191.6Suchattach plumicu at plumif
3201.6Suchfile arch/hpcmips/dev/plumicu.c		plumicu
3211.6Such
3221.6Suchdevice plumpower
3231.6Suchattach plumpower at plumif
3241.6Suchfile arch/hpcmips/dev/plumpower.c	plumpower
3251.6Such
3261.30Suchdevice plumvideo: hpcfbif
3271.6Suchattach plumvideo at plumif
3281.6Suchfile arch/hpcmips/dev/plumvideo.c	plumvideo
3291.6Such
3301.6Suchdevice plumpcmcia: pcmciabus
3311.6Suchattach plumpcmcia at plumif
3321.6Suchfile arch/hpcmips/dev/plumpcmcia.c	plumpcmcia
3331.6Such
3341.6Suchdevice plumiobusif {[platform = -1], [slot = -1]}
3351.6Suchdevice plumiobus: plumiobusif
3361.6Suchattach plumiobus at plumif
3371.6Suchfile arch/hpcmips/dev/plumiobus.c	plumiobus
3381.6Such
3391.6Suchdevice plumisab: isabus
3401.6Suchattach plumisab at plumiobusif
3411.6Suchfile arch/hpcmips/isa/plumisa_machdep.c	plumisab
3421.6Such
3431.9Such# OHCI USB controller
3441.29Suchattach	ohci at plumif with plumohci
3451.40Suchfile	arch/hpcmips/dev/plumohci.c	plumohci	needs-flag
3461.9Such
3471.9Such#device txisab: isabus
3481.9Such#attach txisab at txcsbus
3491.9Such#file arch/hpcmips/isa/txisa_machdep.c	txisab
3501.9Such
3511.6Such#
3521.6Such#	Real-time clock (not optional)
3531.6Such#
3541.1Stakemurafile	arch/hpcmips/hpcmips/clock.c
3551.1Stakemurafile	dev/clock_subr.c
3561.1Stakemura
3571.1Stakemura# Floppy disk controller
3581.1Stakemuradevice	fdc {drive = -1}
3591.1Stakemura#attach	fdc at isa
3601.1Stakemura#device	fd: disk, isadma
3611.1Stakemuradevice	fd: disk
3621.1Stakemura#attach	fd at fdc
3631.1Stakemurafile	arch/i386/isa/fd.c		fdc needs-flag
3641.1Stakemuramajor	{fd = 2}
3651.1Stakemura
3661.1Stakemura# network devices MII bus
3671.1Stakemurainclude "dev/mii/files.mii"
3681.1Stakemura
3691.1Stakemura# XXXX pcic here because it needs to be late.  The catch: pcic needs
3701.1Stakemura# to be late, so devices which attach to it are attached late.  But it
3711.1Stakemura# needs to be before its isa and pci attachments.  This answer is
3721.1Stakemura# non-optimal, but I don't have a better answer right now.
3731.1Stakemura
3741.1Stakemura# PCIC pcmcia contoller
3751.1Stakemura# XXX this needs to be done very late, so it's done here.  This feels
3761.1Stakemura# like a kludge, but it might be for the best.
3771.1Stakemura
3781.1Stakemuradefopt	PCIC_ISA_ALLOC_IOBASE
3791.1Stakemuradefopt	PCIC_ISA_ALLOC_IOSIZE
3801.1Stakemuradefopt	PCIC_ISA_INTR_ALLOC_MASK
3811.1Stakemura
3821.1Stakemuradevice	pcic: pcmciabus
3831.1Stakemurafile	dev/ic/i82365.c			pcic
3841.1Stakemura
3851.1Stakemura#
3861.1Stakemura# PCIC pcmcia controller
3871.1Stakemura#
3881.1Stakemuraattach	pcic at isa with pcic_isa
3891.1Stakemurafile	dev/isa/i82365_isa.c			pcic_isa
3901.1Stakemurafile	dev/isa/i82365_isasubr.c		pcic_isa
3911.1Stakemura
3921.1Stakemura#
3931.1Stakemura# Machine-independent PCMCIA drivers
3941.1Stakemura#
3951.1Stakemurainclude "dev/pcmcia/files.pcmcia"
3961.1Stakemura
3971.1Stakemura# Serial Interface Unit
3981.1Stakemuraattach com at vrip with com_vrip
3991.1Stakemurafile	arch/hpcmips/vr/com_vrip.c			com_vrip
4001.1Stakemura
4011.1Stakemura# Memory Disk for boot tape
4021.46Suchfile dev/md_root.c				memory_disk_hooks
4031.1Stakemuramajor	{md = 6}
4041.9Such
4051.29Suchinclude "dev/usb/files.usb"
406