files.alpha revision 1.70
11.70Sdrochner# $NetBSD: files.alpha,v 1.70 1998/04/15 20:35:37 drochner 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.30Scgd# this loses, but there's no way to define attributes which have attributes
321.30Scgddefine	alpha_shared_intr
331.31Scgdfile	arch/alpha/common/shared_intr.c	alpha_shared_intr | dec_eb164 |
341.69Smjacob					dec_eb64plus | dec_kn20aa | dec_kn8ae |
351.69Smjacob					dec_kn300
361.47Sthorpejdefine	alpha_sgmap
371.47Sthorpejfile	arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500
381.4Scgd
391.4Scgd#
401.4Scgd# Bus-independent devices
411.4Scgd#
421.4Scgd
431.63Sthorpejdevice	mainbus { }			# no locators (yet?)
441.11Scgdattach	mainbus at root
451.1Scgd
461.63Sthorpejdevice	cpu { }				# not really optional
471.11Scgdattach	cpu at mainbus
481.1Scgdfile	arch/alpha/alpha/cpu.c		cpu
491.1Scgd
501.8Scgd
511.4Scgd#
521.4Scgd# Machine-independent SCSI drivers
531.4Scgd#
541.4Scgd
551.53Sbouyerinclude "dev/scsipi/files.scsipi"
561.4Scgdmajor { st = 2 }
571.4Scgdmajor { cd = 3 }
581.4Scgdmajor { sd = 8 }
591.4Scgd
601.61Sthorpej#
611.61Sthorpej# Machine-independent ATA drivers
621.61Sthorpej#
631.61Sthorpej
641.61Sthorpejinclude "dev/ata/files.ata"
651.61Sthorpejmajor { wd = 4 }
661.61Sthorpej
671.33Spk# Memory Disk
681.33Spkfile	arch/alpha/alpha/md_root.c	memory_disk_hooks
691.33Spkmajor { md = 6 }
701.8Scgd
711.8Scgd
721.6Scgd#
731.70Sdrochner# "Workstation Console" glue.
741.6Scgd#
751.70Sdrochnerinclude "dev/wscons/files.wscons"
761.6Scgd
771.39Scgd
781.39Scgd#
791.39Scgd# TurboLaser Bus Support
801.39Scgd#
811.39Scgd
821.63Sthorpejdevice	tlsb { node = -1, offset = -1 }
831.39Scgdattach	tlsb at mainbus
841.39Scgdfile	arch/alpha/tlsb/tlsb.c		tlsb & dec_kn8ae
851.39Scgd
861.63Sthorpejdevice	kft { }
871.39Scgdattach	kft at tlsb
881.39Scgdfile	arch/alpha/tlsb/kftxx.c		kft
891.39Scgd
901.63Sthorpejdevice	tlsbmem
911.39Scgdattach	tlsbmem at tlsb
921.39Scgdfile	arch/alpha/tlsb/tlsbmem.c	tlsbmem
931.39Scgd
941.63Sthorpejdevice	gbus { offset = -1 }
951.39Scgdattach	gbus at tlsb
961.39Scgdfile	arch/alpha/tlsb/gbus.c		gbus
971.39Scgd
981.69Smjacob#
991.69Smjacob# MCBUS support
1001.69Smjacob#
1011.69Smjacob
1021.69Smjacobdevice	mcbus { mid = -1 }
1031.69Smjacobattach	mcbus at mainbus
1041.69Smjacobfile	arch/alpha/mcbus/mcbus.c	mcbus & dec_kn300
1051.69Smjacob
1061.69Smjacobdevice	mcmem
1071.69Smjacobattach	mcmem at mcbus
1081.69Smjacobfile	arch/alpha/mcbus/mcmem.c	mcmem
1091.39Scgd
1101.6Scgd#
1111.48Sjonathan# Bus-independent support for DEC devices
1121.48Sjonathan#
1131.48Sjonathaninclude "dev/dec/files.dec"
1141.48Sjonathan
1151.48Sjonathan#
1161.4Scgd# TurboChannel Devices
1171.4Scgd#
1181.48Sjonathaninclude "dev/tc/files.tc"
1191.4Scgd
1201.48Sjonathan# TC attachment is MD
1211.48Sjonathanattach	tc at tcbus
1221.9Scgd
1231.63Sthorpejdevice	tcasic: tcbus
1241.11Scgdattach	tcasic at mainbus
1251.9Scgdfile	arch/alpha/tc/tcasic.c		tcasic
1261.18Scgdfile	arch/alpha/tc/tc_bus_mem.c	tcasic
1271.47Sthorpejfile	arch/alpha/tc/tc_dma.c		tcasic
1281.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_300.c	tcasic & dec_3000_300
1291.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_500.c	tcasic & dec_3000_500
1301.47Sthorpejfile	arch/alpha/tc/tc_sgmap.c	tcasic & dec_3000_500
1311.13Scgdfile	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
1321.13Scgdfile	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
1331.1Scgd
1341.4Scgd# the TurboChannel IOCTL ASIC
1351.48Sjonathan#  IOASIC device and attachment defined in sys/dev/tc/files.tc
1361.13Scgdfile	arch/alpha/tc/ioasic.c		ioasic
1371.1Scgd
1381.16Scgd# Color Frame buffer
1391.70Sdrochnerdevice	cfb: wsemuldisplaydev, wsrasteremulops
1401.16Scgdattach	cfb at tc
1411.16Scgdfile	arch/alpha/tc/cfb.c		cfb
1421.16Scgd
1431.16Scgd# Smart Frame buffer
1441.70Sdrochnerdevice	sfb: wsemuldisplaydev, wsrasteremulops
1451.11Scgdattach	sfb at tc
1461.1Scgdfile	arch/alpha/tc/sfb.c		sfb
1471.1Scgd
1481.4Scgd# 8530 UARTs
1491.63Sthorpejdevice	scc: tty
1501.11Scgdattach	scc at ioasic
1511.4Scgdfile	arch/alpha/tc/scc.c		scc		needs-count
1521.66Sthorpej
1531.66Sthorpej# 8530 UARTs using the MI 8530 driver   
1541.66Sthorpejdevice	zsc { channel = -1 }
1551.66Sthorpejattach	zsc at ioasic with zsc_ioasic
1561.66Sthorpejfile	arch/alpha/tc/zs_ioasic.c	zsc_ioasic
1571.66Sthorpejfile	dev/ic/z8530sc.c		zsc
1581.66Sthorpej
1591.66Sthorpejdevice	zstty: tty
1601.66Sthorpejattach	zstty at zsc
1611.66Sthorpejfile	dev/ic/z8530tty.c		zstty		needs-flag
1621.1Scgd
1631.4Scgd# the TCDS ASIC
1641.63Sthorpejdevice	tcds { slot = -1 }
1651.11Scgdattach	tcds at tc
1661.4Scgdfile	arch/alpha/tc/tcds.c		tcds		needs-count
1671.4Scgd
1681.4Scgd# 53C[F]90 SCSI
1691.63Sthorpejdevice	asc: scsi, ncr53c9x
1701.38Sthorpejattach	asc at tcds
1711.38Sthorpejfile	arch/alpha/tc/asc.c		asc		needs-count
1721.38Sthorpejfile	arch/alpha/tc/tcds_dma.c	asc
1731.4Scgd
1741.48Sjonathan# TC and baseboard ioasic Lance ethernet are in files.tc
1751.8Scgd
1761.8Scgd#
1771.8Scgd# ISA Bus support
1781.8Scgd#
1791.8Scgd
1801.26Scgdinclude "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
1811.26Scgdinclude "dev/isa/files.isa"
1821.8Scgd
1831.8Scgd#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
1841.8Scgd
1851.8Scgd
1861.4Scgd#
1871.8Scgd# ISA Bus devices
1881.4Scgd#
1891.1Scgd
1901.11Scgd#device	ibus at mainbus { }
1911.11Scgd#device	jcombo at ibus: isabus
1921.11Scgd#device	jeisa at ibus: eisabus
1931.8Scgd
1941.31Scgdfile	arch/alpha/isa/isa_machdep.c	isa
1951.31Scgd
1961.70Sdrochnerinclude "dev/pckbc/files.pckbc"
1971.8Scgd
1981.35Scgd# Floppy disk controller
1991.63Sthorpejdevice	fdc { drive = -1 }
2001.35Scgdattach	fdc at isa
2011.63Sthorpejdevice	fd: disk, isadma
2021.35Scgdattach	fd at fdc
2031.36Scgdfile	arch/alpha/isa/fd.c		fdc needs-flag
2041.35Scgdmajor	{ fd = 0 }
2051.35Scgd
2061.8Scgd#
2071.8Scgd# EISA Bus support
2081.8Scgd#
2091.8Scgd
2101.26Scgdinclude "dev/eisa/files.eisa"
2111.8Scgd
2121.8Scgd
2131.8Scgd#
2141.8Scgd# PCI Bus support
2151.8Scgd#
2161.8Scgd
2171.26Scgd# include "dev/pci/files.pci" XXX SEE ABOVE
2181.8Scgd
2191.50Scgddefine	alpha_pci_sgmap_pte32
2201.50Scgdfile	arch/alpha/pci/pci_sgmap_pte32.c	alpha_pci_sgmap_pte32
2211.50Scgd
2221.50Scgddefine	alpha_pci_sgmap_pte64
2231.50Scgdfile	arch/alpha/pci/pci_sgmap_pte64.c	alpha_pci_sgmap_pte64
2241.50Scgd
2251.63Sthorpejdevice	apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2261.10Sthorpejattach	apecs at mainbus
2271.5Scgdfile	arch/alpha/pci/apecs.c		apecs
2281.32Scgdfile	arch/alpha/pci/apecs_bus_io.c	apecs
2291.32Scgdfile	arch/alpha/pci/apecs_bus_mem.c	apecs
2301.47Sthorpejfile	arch/alpha/pci/apecs_dma.c	apecs
2311.5Scgdfile	arch/alpha/pci/apecs_pci.c	apecs
2321.4Scgd
2331.63Sthorpejdevice	cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2341.10Sthorpejattach	cia at mainbus
2351.8Scgdfile	arch/alpha/pci/cia.c		cia
2361.47Sthorpejfile	arch/alpha/pci/cia_dma.c	cia
2371.8Scgdfile	arch/alpha/pci/cia_pci.c	cia
2381.51Scgdfile	arch/alpha/pci/cia_swiz_bus_io.c cia
2391.51Scgdfile	arch/alpha/pci/cia_swiz_bus_mem.c cia
2401.8Scgd
2411.64Srossdevice	a12c { }: pcibus
2421.62Srossattach	a12c at mainbus
2431.62Srossfile	arch/alpha/pci/a12c.c		a12c
2441.62Srossfile	arch/alpha/pci/a12c_bus_mem.c	a12c
2451.62Srossfile	arch/alpha/pci/a12c_dma.c	a12c
2461.62Srossfile	arch/alpha/pci/a12c_pci.c	a12c
2471.62Sross
2481.63Sthorpejdevice	dwlpx: pcibus, alpha_sgmap, alpha_pci_sgmap_pte32
2491.44Scgdattach	dwlpx at kft
2501.44Scgdfile	arch/alpha/pci/dwlpx.c		dwlpx
2511.69Smjacobfile	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
2521.69Smjacobfile	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
2531.47Sthorpejfile	arch/alpha/pci/dwlpx_dma.c	dwlpx
2541.44Scgdfile	arch/alpha/pci/dwlpx_pci.c	dwlpx
2551.44Scgd
2561.63Sthorpejdevice	lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2571.50Scgdattach	lca at mainbus
2581.50Scgdfile	arch/alpha/pci/lca.c		lca
2591.50Scgdfile	arch/alpha/pci/lca_bus_io.c	lca
2601.50Scgdfile	arch/alpha/pci/lca_bus_mem.c	lca
2611.50Scgdfile	arch/alpha/pci/lca_dma.c	lca
2621.50Scgdfile	arch/alpha/pci/lca_pci.c	lca
2631.44Scgd
2641.69Smjacobdevice	mcpcia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2651.69Smjacobattach	mcpcia at mcbus
2661.69Smjacobfile	arch/alpha/pci/mcpcia.c		mcpcia
2671.69Smjacobfile	arch/alpha/pci/mcpcia_bus_io.c	mcpcia
2681.69Smjacobfile	arch/alpha/pci/mcpcia_bus_mem.c	mcpcia
2691.69Smjacobfile	arch/alpha/pci/mcpcia_dma.c	mcpcia
2701.69Smjacobfile	arch/alpha/pci/mcpcia_pci.c	mcpcia
2711.69Smjacob
2721.69Smjacob
2731.44Scgd# CPU support files
2741.5Scgdfile	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
2751.62Srossfile	arch/alpha/pci/pci_a12.c	avalon_a12
2761.28Scgdfile	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
2771.28Scgdfile	arch/alpha/pci/pci_eb164.c	dec_eb164
2781.32Scgdfile	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
2791.57Sthorpej#file	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
2801.41Scgdfile	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
2811.8Scgdfile	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
2821.69Smjacobfile	arch/alpha/pci/pci_kn8ae.c	dec_kn8ae
2831.69Smjacobfile	arch/alpha/pci/pci_kn300.c	dec_kn300
2841.8Scgd
2851.4Scgd
2861.4Scgd#
2871.8Scgd# PCI Bus devices
2881.4Scgd#
2891.1Scgd
2901.4Scgdfile	arch/alpha/pci/pci_machdep.c	pci
2911.1Scgd
2921.63Sthorpejdevice	sio: isabus, alpha_shared_intr
2931.10Sthorpejattach	sio at pci
2941.63Sthorpejdevice	pceb: isabus, eisabus
2951.10Sthorpejattach	pceb at pci
2961.11Scgdfile	arch/alpha/pci/sio.c		sio | pceb	needs-flag
2971.11Scgdfile	arch/alpha/pci/sio_pic.c	sio | pceb
2981.5Scgd
2991.6Scgd
3001.62Sross#
3011.62Sross# A12 if_de hack, this is temporary!
3021.62Sross#
3031.63Sthorpejdevice	ade: ether, ifnet, arp
3041.62Srossattach	ade at pci
3051.62Srossfile	arch/alpha/pci/if_ade.c		ade
3061.64Sross
3071.64Sross#
3081.64Sross# alpha/a12 platform-specific drivers
3091.64Sross#
3101.64Sross
3111.64Sross# Switch
3121.64Sross
3131.64Srossdevice	xb
3141.64Srossattach	xb at a12c
3151.64Srossfile	arch/alpha/a12/if_xb.c	xb
3161.64Sross
3171.64Sross# Console
3181.64Sross
3191.64Srossdevice	a12dc
3201.64Srossattach	a12dc at a12c
3211.64Srossfile	arch/alpha/a12/a12dc.c	a12dc		needs-flag
3221.8Scgd
3231.5Scgd#
3241.8Scgd# Devices that can live on multiple busses
3251.5Scgd#
3261.5Scgd
3271.63Sthorpejdevice	mcclock
3281.12Scgdattach	mcclock at ioasic with mcclock_ioasic
3291.12Scgdattach	mcclock at isa with mcclock_isa
3301.39Scgdattach	mcclock at gbus with mcclock_tlsb
3311.12Scgdfile	arch/alpha/alpha/mcclock.c	mcclock
3321.12Scgdfile	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
3331.12Scgdfile	arch/alpha/isa/mcclock_isa.c	mcclock_isa
3341.39Scgdfile	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
3351.39Scgd
3361.5Scgd
3371.4Scgd#
3381.4Scgd# Standard files
3391.4Scgd#
3401.1Scgdfile	arch/alpha/alpha/autoconf.c
3411.12Scgdfile	arch/alpha/alpha/clock.c
3421.1Scgdfile	arch/alpha/alpha/conf.c
3431.55Sthorpejfile	arch/alpha/alpha/cpuconf.c
3441.1Scgdfile	arch/alpha/alpha/interrupt.c
3451.1Scgdfile	arch/alpha/alpha/machdep.c
3461.1Scgdfile	arch/alpha/alpha/mainbus.c
3471.1Scgdfile	arch/alpha/alpha/mem.c
3481.67Sthorpejfile	arch/alpha/alpha/pmap.c
3491.1Scgdfile	arch/alpha/alpha/process_machdep.c
3501.1Scgdfile	arch/alpha/alpha/prom.c
3511.1Scgdfile	arch/alpha/alpha/support.c
3521.1Scgdfile	arch/alpha/alpha/sys_machdep.c
3531.1Scgdfile	arch/alpha/alpha/trap.c
3541.1Scgdfile	arch/alpha/alpha/vm_machdep.c
3551.1Scgdfile	arch/alpha/alpha/disksubr.c
3561.47Sthorpejfile	arch/alpha/common/bus_dma.c
3571.1Scgdfile	dev/cons.c
3581.4Scgd
3591.44Scgd# Network protocol checksum routines
3601.44Scgdfile	arch/alpha/alpha/in_cksum.c		inet
3611.19Scgdfile	netns/ns_cksum.c			ns
3621.1Scgd
3631.44Scgd# PROM console support (for ports that don't have native console support)
3641.5Scgdfile	arch/alpha/alpha/promcons.c
3651.6Scgd
3661.44Scgd# CPU support
3671.59Sthorpejfile	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50
3681.59Sthorpejfile	arch/alpha/alpha/dec_3000_300.c		dec_3000_300
3691.59Sthorpejfile	arch/alpha/alpha/dec_3000_500.c		dec_3000_500
3701.59Sthorpejfile	arch/alpha/alpha/dec_550.c		dec_550
3711.59Sthorpejfile	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33
3721.59Sthorpejfile	arch/alpha/alpha/dec_eb164.c		dec_eb164
3731.59Sthorpejfile	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus
3741.59Sthorpejfile	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa
3751.59Sthorpejfile	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae
3761.69Smjacobfile	arch/alpha/alpha/dec_kn300.c		dec_kn300
3771.62Srossfile	arch/alpha/alpha/avalon_a12.c		avalon_a12
3781.58Sthorpej
3791.58Sthorpej# Kernel debugger support
3801.58Sthorpejfile	arch/alpha/alpha/db_disasm.c		ddb
3811.58Sthorpejfile	arch/alpha/alpha/db_interface.c		ddb
3821.58Sthorpejfile	arch/alpha/alpha/db_trace.c		ddb
3831.7Sthorpej
3841.7Sthorpej# OSF/1 Binary Compatibility (COMPAT_OSF1)
3851.26Scgdinclude "compat/osf1/files.osf1"
386