files.alpha revision 1.69
11.69Smjacob# $NetBSD: files.alpha,v 1.69 1998/04/15 00:47:22 mjacob Exp $
21.1Scgd#
31.1Scgd# alpha-specific configuration info
41.1Scgd
51.2Scgd# maxpartitions must be first item in files.${ARCH}.newconf
61.2Scgdmaxpartitions 8
71.2Scgd
81.65Sthorpejmaxusers 8 16 64
91.1Scgd
101.44Scgd# CPU support option headers
111.44Scgddefopt	DEC_2000_300	# "Jensen":	2000/300 (DECpc AXP 150)
121.44Scgddefopt	DEC_2100_A50	# Avanti etc:	AlphaStation 400, 200, etc.
131.44Scgddefopt	DEC_3000_300	# Pelican etc:	3000/300*
141.44Scgddefopt	DEC_3000_500	# Flamingo etc:	3000/[4-9]00*
151.52Scgddefopt	DEC_550		# Miata:	Personal Workstation (550)
161.44Scgddefopt	DEC_AXPPCI_33	# NoName:	AXPpci33, etc.
171.44Scgddefopt	DEC_EB164	# EB164:	AlphaPC 164
181.44Scgddefopt	DEC_EB64PLUS	# EB64+:	AlphaPC 64, etc.
191.44Scgddefopt	DEC_KN20AA	# KN20AA:	AlphaStation 500 and 600
201.44Scgddefopt	DEC_KN8AE	# KN8AE:	AlphaServer 8200 and 8400
211.69Smjacobdefopt	DEC_KN300	# KN300:	AlphaServer 4X00
221.62Srossdefopt	AVALON_A12	# Avalon:	A12T1, A12M Parallel Supercomputer
231.44Scgd
241.44Scgd# Miscellaneous CPU-specific option headers
251.44Scgddefopt	FIX_UNALIGNED_VAX_FP
261.66Sthorpejdefopt	ZS_IOASIC_DMA
271.68Sthorpej
281.68Sthorpej# XXX Temporary, until integration is finished.
291.68Sthorpejdefopt	NEW_SCC_DRIVER
301.44Scgd
311.31Scgd# a wscons output device; used later, but needs to be near the top for
321.31Scgd# common file (e.g. vga) definitions.
331.50Scgddefine	wsconsdev {[console = -1]}
341.31Scgd
351.30Scgd# this loses, but there's no way to define attributes which have attributes
361.30Scgddefine	alpha_shared_intr
371.31Scgdfile	arch/alpha/common/shared_intr.c	alpha_shared_intr | dec_eb164 |
381.69Smjacob					dec_eb64plus | dec_kn20aa | dec_kn8ae |
391.69Smjacob					dec_kn300
401.47Sthorpejdefine	alpha_sgmap
411.47Sthorpejfile	arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500
421.4Scgd
431.63Sthorpejdevice	vga: wsconsdev
441.31Scgdfile	arch/alpha/common/vga.c		vga
451.31Scgd
461.4Scgd#
471.4Scgd# Bus-independent devices
481.4Scgd#
491.4Scgd
501.63Sthorpejdevice	mainbus { }			# no locators (yet?)
511.11Scgdattach	mainbus at root
521.1Scgd
531.63Sthorpejdevice	cpu { }				# not really optional
541.11Scgdattach	cpu at mainbus
551.1Scgdfile	arch/alpha/alpha/cpu.c		cpu
561.1Scgd
571.8Scgd
581.4Scgd#
591.4Scgd# Machine-independent SCSI drivers
601.4Scgd#
611.4Scgd
621.53Sbouyerinclude "dev/scsipi/files.scsipi"
631.4Scgdmajor { st = 2 }
641.4Scgdmajor { cd = 3 }
651.4Scgdmajor { sd = 8 }
661.4Scgd
671.61Sthorpej#
681.61Sthorpej# Machine-independent ATA drivers
691.61Sthorpej#
701.61Sthorpej
711.61Sthorpejinclude "dev/ata/files.ata"
721.61Sthorpejmajor { wd = 4 }
731.61Sthorpej
741.33Spk# Memory Disk
751.33Spkfile	arch/alpha/alpha/md_root.c	memory_disk_hooks
761.33Spkmajor { md = 6 }
771.8Scgd
781.4Scgd#
791.6Scgd# raster console routines
801.6Scgd#
811.8Scgd
821.11Scgddefine	raster
831.26Scgdinclude "dev/rcons/files.rcons"
841.11Scgdfile	arch/alpha/wscons/wscons_rinit.c	raster
851.11Scgdfile	arch/alpha/wscons/wscons_rops.c		raster
861.6Scgd
871.8Scgd
881.6Scgd#
891.6Scgd# "Workstation Console" glue; attaches frame buffer to emulator & kbd.
901.6Scgd#
911.63Sthorpejdevice	wscons: tty
921.11Scgdattach	wscons at wsconsdev
931.11Scgdfile	arch/alpha/wscons/wscons.c	wscons		needs-flag
941.11Scgdfile	arch/alpha/wscons/wscons_emul.c	wscons
951.11Scgd
961.11Scgdfile	arch/alpha/wscons/event.c	wscons
971.11Scgdfile	arch/alpha/wscons/kbd.c		wscons
981.11Scgdfile	arch/alpha/wscons/ms.c		wscons
991.6Scgd
1001.39Scgd
1011.39Scgd#
1021.39Scgd# TurboLaser Bus Support
1031.39Scgd#
1041.39Scgd
1051.63Sthorpejdevice	tlsb { node = -1, offset = -1 }
1061.39Scgdattach	tlsb at mainbus
1071.39Scgdfile	arch/alpha/tlsb/tlsb.c		tlsb & dec_kn8ae
1081.39Scgd
1091.63Sthorpejdevice	kft { }
1101.39Scgdattach	kft at tlsb
1111.39Scgdfile	arch/alpha/tlsb/kftxx.c		kft
1121.39Scgd
1131.63Sthorpejdevice	tlsbmem
1141.39Scgdattach	tlsbmem at tlsb
1151.39Scgdfile	arch/alpha/tlsb/tlsbmem.c	tlsbmem
1161.39Scgd
1171.63Sthorpejdevice	gbus { offset = -1 }
1181.39Scgdattach	gbus at tlsb
1191.39Scgdfile	arch/alpha/tlsb/gbus.c		gbus
1201.39Scgd
1211.69Smjacob#
1221.69Smjacob# MCBUS support
1231.69Smjacob#
1241.69Smjacob
1251.69Smjacobdevice	mcbus { mid = -1 }
1261.69Smjacobattach	mcbus at mainbus
1271.69Smjacobfile	arch/alpha/mcbus/mcbus.c	mcbus & dec_kn300
1281.69Smjacob
1291.69Smjacobdevice	mcmem
1301.69Smjacobattach	mcmem at mcbus
1311.69Smjacobfile	arch/alpha/mcbus/mcmem.c	mcmem
1321.39Scgd
1331.6Scgd#
1341.48Sjonathan# Bus-independent support for DEC devices
1351.48Sjonathan#
1361.48Sjonathaninclude "dev/dec/files.dec"
1371.48Sjonathan
1381.48Sjonathan#
1391.4Scgd# TurboChannel Devices
1401.4Scgd#
1411.48Sjonathaninclude "dev/tc/files.tc"
1421.4Scgd
1431.48Sjonathan# TC attachment is MD
1441.48Sjonathanattach	tc at tcbus
1451.9Scgd
1461.63Sthorpejdevice	tcasic: tcbus
1471.11Scgdattach	tcasic at mainbus
1481.9Scgdfile	arch/alpha/tc/tcasic.c		tcasic
1491.18Scgdfile	arch/alpha/tc/tc_bus_mem.c	tcasic
1501.47Sthorpejfile	arch/alpha/tc/tc_dma.c		tcasic
1511.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_300.c	tcasic & dec_3000_300
1521.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_500.c	tcasic & dec_3000_500
1531.47Sthorpejfile	arch/alpha/tc/tc_sgmap.c	tcasic & dec_3000_500
1541.13Scgdfile	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
1551.13Scgdfile	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
1561.1Scgd
1571.4Scgd# the TurboChannel IOCTL ASIC
1581.48Sjonathan#  IOASIC device and attachment defined in sys/dev/tc/files.tc
1591.13Scgdfile	arch/alpha/tc/ioasic.c		ioasic
1601.1Scgd
1611.16Scgd# Color Frame buffer
1621.63Sthorpejdevice	cfb: raster, wsconsdev
1631.16Scgdattach	cfb at tc
1641.16Scgdfile	arch/alpha/tc/cfb.c		cfb
1651.16Scgd
1661.16Scgd# Smart Frame buffer
1671.63Sthorpejdevice	sfb: raster, wsconsdev
1681.11Scgdattach	sfb at tc
1691.1Scgdfile	arch/alpha/tc/sfb.c		sfb
1701.1Scgd
1711.4Scgd# 8530 UARTs
1721.63Sthorpejdevice	scc: tty
1731.11Scgdattach	scc at ioasic
1741.4Scgdfile	arch/alpha/tc/scc.c		scc		needs-count
1751.66Sthorpej
1761.66Sthorpej# 8530 UARTs using the MI 8530 driver   
1771.66Sthorpejdevice	zsc { channel = -1 }
1781.66Sthorpejattach	zsc at ioasic with zsc_ioasic
1791.66Sthorpejfile	arch/alpha/tc/zs_ioasic.c	zsc_ioasic
1801.66Sthorpejfile	dev/ic/z8530sc.c		zsc
1811.66Sthorpej
1821.66Sthorpejdevice	zstty: tty
1831.66Sthorpejattach	zstty at zsc
1841.66Sthorpejfile	dev/ic/z8530tty.c		zstty		needs-flag
1851.1Scgd
1861.4Scgd# the TCDS ASIC
1871.63Sthorpejdevice	tcds { slot = -1 }
1881.11Scgdattach	tcds at tc
1891.4Scgdfile	arch/alpha/tc/tcds.c		tcds		needs-count
1901.4Scgd
1911.4Scgd# 53C[F]90 SCSI
1921.63Sthorpejdevice	asc: scsi, ncr53c9x
1931.38Sthorpejattach	asc at tcds
1941.38Sthorpejfile	arch/alpha/tc/asc.c		asc		needs-count
1951.38Sthorpejfile	arch/alpha/tc/tcds_dma.c	asc
1961.4Scgd
1971.48Sjonathan# TC and baseboard ioasic Lance ethernet are in files.tc
1981.8Scgd
1991.8Scgd#
2001.8Scgd# ISA Bus support
2011.8Scgd#
2021.8Scgd
2031.26Scgdinclude "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
2041.26Scgdinclude "dev/isa/files.isa"
2051.8Scgd
2061.8Scgd#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
2071.8Scgd
2081.8Scgd
2091.4Scgd#
2101.8Scgd# ISA Bus devices
2111.4Scgd#
2121.1Scgd
2131.11Scgd#device	ibus at mainbus { }
2141.11Scgd#device	jcombo at ibus: isabus
2151.11Scgd#device	jeisa at ibus: eisabus
2161.8Scgd
2171.31Scgdfile	arch/alpha/isa/isa_machdep.c	isa
2181.31Scgd
2191.63Sthorpejdevice	pcppi { }
2201.32Scgdattach	pcppi at isa
2211.32Scgdfile	arch/alpha/isa/pcppi.c		pcppi
2221.32Scgd
2231.63Sthorpejdevice	pckbd
2241.32Scgdattach	pckbd at pcppi
2251.32Scgdfile	arch/alpha/isa/pckbd.c		pckbd
2261.32Scgd
2271.63Sthorpejdevice	pms
2281.32Scgdattach	pms at pcppi
2291.32Scgdfile	arch/alpha/isa/pms.c		pms
2301.8Scgd
2311.31Scgdattach	vga at isa with vga_isa
2321.31Scgdfile	arch/alpha/isa/vga_isa.c	vga_isa		needs-flag
2331.8Scgd
2341.35Scgd# Floppy disk controller
2351.63Sthorpejdevice	fdc { drive = -1 }
2361.35Scgdattach	fdc at isa
2371.63Sthorpejdevice	fd: disk, isadma
2381.35Scgdattach	fd at fdc
2391.36Scgdfile	arch/alpha/isa/fd.c		fdc needs-flag
2401.35Scgdmajor	{ fd = 0 }
2411.35Scgd
2421.35Scgd# PC speaker
2431.8Scgd#
2441.8Scgd# EISA Bus support
2451.8Scgd#
2461.8Scgd
2471.26Scgdinclude "dev/eisa/files.eisa"
2481.8Scgd
2491.8Scgd
2501.8Scgd#
2511.8Scgd# PCI Bus support
2521.8Scgd#
2531.8Scgd
2541.26Scgd# include "dev/pci/files.pci" XXX SEE ABOVE
2551.8Scgd
2561.50Scgddefine	alpha_pci_sgmap_pte32
2571.50Scgdfile	arch/alpha/pci/pci_sgmap_pte32.c	alpha_pci_sgmap_pte32
2581.50Scgd
2591.50Scgddefine	alpha_pci_sgmap_pte64
2601.50Scgdfile	arch/alpha/pci/pci_sgmap_pte64.c	alpha_pci_sgmap_pte64
2611.50Scgd
2621.63Sthorpejdevice	apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2631.10Sthorpejattach	apecs at mainbus
2641.5Scgdfile	arch/alpha/pci/apecs.c		apecs
2651.32Scgdfile	arch/alpha/pci/apecs_bus_io.c	apecs
2661.32Scgdfile	arch/alpha/pci/apecs_bus_mem.c	apecs
2671.47Sthorpejfile	arch/alpha/pci/apecs_dma.c	apecs
2681.5Scgdfile	arch/alpha/pci/apecs_pci.c	apecs
2691.4Scgd
2701.63Sthorpejdevice	cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2711.10Sthorpejattach	cia at mainbus
2721.8Scgdfile	arch/alpha/pci/cia.c		cia
2731.47Sthorpejfile	arch/alpha/pci/cia_dma.c	cia
2741.8Scgdfile	arch/alpha/pci/cia_pci.c	cia
2751.51Scgdfile	arch/alpha/pci/cia_swiz_bus_io.c cia
2761.51Scgdfile	arch/alpha/pci/cia_swiz_bus_mem.c cia
2771.8Scgd
2781.64Srossdevice	a12c { }: pcibus
2791.62Srossattach	a12c at mainbus
2801.62Srossfile	arch/alpha/pci/a12c.c		a12c
2811.62Srossfile	arch/alpha/pci/a12c_bus_mem.c	a12c
2821.62Srossfile	arch/alpha/pci/a12c_dma.c	a12c
2831.62Srossfile	arch/alpha/pci/a12c_pci.c	a12c
2841.62Sross
2851.63Sthorpejdevice	dwlpx: pcibus, alpha_sgmap, alpha_pci_sgmap_pte32
2861.44Scgdattach	dwlpx at kft
2871.44Scgdfile	arch/alpha/pci/dwlpx.c		dwlpx
2881.69Smjacobfile	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
2891.69Smjacobfile	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
2901.47Sthorpejfile	arch/alpha/pci/dwlpx_dma.c	dwlpx
2911.44Scgdfile	arch/alpha/pci/dwlpx_pci.c	dwlpx
2921.44Scgd
2931.63Sthorpejdevice	lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2941.50Scgdattach	lca at mainbus
2951.50Scgdfile	arch/alpha/pci/lca.c		lca
2961.50Scgdfile	arch/alpha/pci/lca_bus_io.c	lca
2971.50Scgdfile	arch/alpha/pci/lca_bus_mem.c	lca
2981.50Scgdfile	arch/alpha/pci/lca_dma.c	lca
2991.50Scgdfile	arch/alpha/pci/lca_pci.c	lca
3001.44Scgd
3011.69Smjacobdevice	mcpcia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
3021.69Smjacobattach	mcpcia at mcbus
3031.69Smjacobfile	arch/alpha/pci/mcpcia.c		mcpcia
3041.69Smjacobfile	arch/alpha/pci/mcpcia_bus_io.c	mcpcia
3051.69Smjacobfile	arch/alpha/pci/mcpcia_bus_mem.c	mcpcia
3061.69Smjacobfile	arch/alpha/pci/mcpcia_dma.c	mcpcia
3071.69Smjacobfile	arch/alpha/pci/mcpcia_pci.c	mcpcia
3081.69Smjacob
3091.69Smjacob
3101.44Scgd# CPU support files
3111.5Scgdfile	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
3121.62Srossfile	arch/alpha/pci/pci_a12.c	avalon_a12
3131.28Scgdfile	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
3141.28Scgdfile	arch/alpha/pci/pci_eb164.c	dec_eb164
3151.32Scgdfile	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
3161.57Sthorpej#file	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
3171.41Scgdfile	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
3181.8Scgdfile	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
3191.69Smjacobfile	arch/alpha/pci/pci_kn8ae.c	dec_kn8ae
3201.69Smjacobfile	arch/alpha/pci/pci_kn300.c	dec_kn300
3211.8Scgd
3221.4Scgd
3231.4Scgd#
3241.8Scgd# PCI Bus devices
3251.4Scgd#
3261.1Scgd
3271.4Scgdfile	arch/alpha/pci/pci_machdep.c	pci
3281.1Scgd
3291.63Sthorpejdevice	sio: isabus, alpha_shared_intr
3301.10Sthorpejattach	sio at pci
3311.63Sthorpejdevice	pceb: isabus, eisabus
3321.10Sthorpejattach	pceb at pci
3331.11Scgdfile	arch/alpha/pci/sio.c		sio | pceb	needs-flag
3341.11Scgdfile	arch/alpha/pci/sio_pic.c	sio | pceb
3351.5Scgd
3361.63Sthorpejdevice	tga: raster, wsconsdev
3371.10Sthorpejattach	tga at pci
3381.6Scgdfile	arch/alpha/pci/tga.c		tga		needs-flag
3391.11Scgdfile	arch/alpha/pci/tga_conf.c	tga
3401.11Scgdfile	arch/alpha/pci/tga_bt463.c	tga
3411.11Scgdfile	arch/alpha/pci/tga_bt485.c	tga
3421.11Scgd
3431.31Scgdattach	vga at pci with vga_pci
3441.31Scgdfile	arch/alpha/pci/vga_pci.c	vga_pci		needs-flag
3451.6Scgd
3461.62Sross#
3471.62Sross# A12 if_de hack, this is temporary!
3481.62Sross#
3491.63Sthorpejdevice	ade: ether, ifnet, arp
3501.62Srossattach	ade at pci
3511.62Srossfile	arch/alpha/pci/if_ade.c		ade
3521.64Sross
3531.64Sross#
3541.64Sross# alpha/a12 platform-specific drivers
3551.64Sross#
3561.64Sross
3571.64Sross# Switch
3581.64Sross
3591.64Srossdevice	xb
3601.64Srossattach	xb at a12c
3611.64Srossfile	arch/alpha/a12/if_xb.c	xb
3621.64Sross
3631.64Sross# Console
3641.64Sross
3651.64Srossdevice	a12dc
3661.64Srossattach	a12dc at a12c
3671.64Srossfile	arch/alpha/a12/a12dc.c	a12dc		needs-flag
3681.8Scgd
3691.5Scgd#
3701.8Scgd# Devices that can live on multiple busses
3711.5Scgd#
3721.5Scgd
3731.63Sthorpejdevice	mcclock
3741.12Scgdattach	mcclock at ioasic with mcclock_ioasic
3751.12Scgdattach	mcclock at isa with mcclock_isa
3761.39Scgdattach	mcclock at gbus with mcclock_tlsb
3771.12Scgdfile	arch/alpha/alpha/mcclock.c	mcclock
3781.12Scgdfile	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
3791.12Scgdfile	arch/alpha/isa/mcclock_isa.c	mcclock_isa
3801.39Scgdfile	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
3811.39Scgd
3821.5Scgd
3831.4Scgd#
3841.4Scgd# Standard files
3851.4Scgd#
3861.1Scgdfile	arch/alpha/alpha/autoconf.c
3871.12Scgdfile	arch/alpha/alpha/clock.c
3881.1Scgdfile	arch/alpha/alpha/conf.c
3891.55Sthorpejfile	arch/alpha/alpha/cpuconf.c
3901.1Scgdfile	arch/alpha/alpha/interrupt.c
3911.1Scgdfile	arch/alpha/alpha/machdep.c
3921.1Scgdfile	arch/alpha/alpha/mainbus.c
3931.1Scgdfile	arch/alpha/alpha/mem.c
3941.67Sthorpejfile	arch/alpha/alpha/pmap.c
3951.1Scgdfile	arch/alpha/alpha/process_machdep.c
3961.1Scgdfile	arch/alpha/alpha/prom.c
3971.1Scgdfile	arch/alpha/alpha/support.c
3981.1Scgdfile	arch/alpha/alpha/sys_machdep.c
3991.1Scgdfile	arch/alpha/alpha/trap.c
4001.1Scgdfile	arch/alpha/alpha/vm_machdep.c
4011.1Scgdfile	arch/alpha/alpha/disksubr.c
4021.47Sthorpejfile	arch/alpha/common/bus_dma.c
4031.1Scgdfile	dev/cons.c
4041.4Scgd
4051.44Scgd# Network protocol checksum routines
4061.44Scgdfile	arch/alpha/alpha/in_cksum.c		inet
4071.19Scgdfile	netns/ns_cksum.c			ns
4081.1Scgd
4091.44Scgd# PROM console support (for ports that don't have native console support)
4101.5Scgdfile	arch/alpha/alpha/promcons.c
4111.6Scgd
4121.44Scgd# CPU support
4131.59Sthorpejfile	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50
4141.59Sthorpejfile	arch/alpha/alpha/dec_3000_300.c		dec_3000_300
4151.59Sthorpejfile	arch/alpha/alpha/dec_3000_500.c		dec_3000_500
4161.59Sthorpejfile	arch/alpha/alpha/dec_550.c		dec_550
4171.59Sthorpejfile	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33
4181.59Sthorpejfile	arch/alpha/alpha/dec_eb164.c		dec_eb164
4191.59Sthorpejfile	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus
4201.59Sthorpejfile	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa
4211.59Sthorpejfile	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae
4221.69Smjacobfile	arch/alpha/alpha/dec_kn300.c		dec_kn300
4231.62Srossfile	arch/alpha/alpha/avalon_a12.c		avalon_a12
4241.58Sthorpej
4251.58Sthorpej# Kernel debugger support
4261.58Sthorpejfile	arch/alpha/alpha/db_disasm.c		ddb
4271.58Sthorpejfile	arch/alpha/alpha/db_interface.c		ddb
4281.58Sthorpejfile	arch/alpha/alpha/db_trace.c		ddb
4291.7Sthorpej
4301.7Sthorpej# OSF/1 Binary Compatibility (COMPAT_OSF1)
4311.26Scgdinclude "compat/osf1/files.osf1"
432