files.alpha revision 1.68
11.68Sthorpej# $NetBSD: files.alpha,v 1.68 1998/03/26 02:52:43 thorpej 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.62Srossdefopt	AVALON_A12	# Avalon:	A12T1, A12M Parallel Supercomputer
221.44Scgd
231.44Scgd# Miscellaneous CPU-specific option headers
241.44Scgddefopt	FIX_UNALIGNED_VAX_FP
251.66Sthorpejdefopt	ZS_IOASIC_DMA
261.68Sthorpej
271.68Sthorpej# XXX Temporary, until integration is finished.
281.68Sthorpejdefopt	NEW_SCC_DRIVER
291.44Scgd
301.31Scgd# a wscons output device; used later, but needs to be near the top for
311.31Scgd# common file (e.g. vga) definitions.
321.50Scgddefine	wsconsdev {[console = -1]}
331.31Scgd
341.30Scgd# this loses, but there's no way to define attributes which have attributes
351.30Scgddefine	alpha_shared_intr
361.31Scgdfile	arch/alpha/common/shared_intr.c	alpha_shared_intr | dec_eb164 |
371.45Smjacob					dec_eb64plus | dec_kn20aa | dec_kn8ae
381.47Sthorpejdefine	alpha_sgmap
391.47Sthorpejfile	arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500
401.4Scgd
411.63Sthorpejdevice	vga: wsconsdev
421.31Scgdfile	arch/alpha/common/vga.c		vga
431.31Scgd
441.4Scgd#
451.4Scgd# Bus-independent devices
461.4Scgd#
471.4Scgd
481.63Sthorpejdevice	mainbus { }			# no locators (yet?)
491.11Scgdattach	mainbus at root
501.1Scgd
511.63Sthorpejdevice	cpu { }				# not really optional
521.11Scgdattach	cpu at mainbus
531.1Scgdfile	arch/alpha/alpha/cpu.c		cpu
541.1Scgd
551.8Scgd
561.4Scgd#
571.4Scgd# Machine-independent SCSI drivers
581.4Scgd#
591.4Scgd
601.53Sbouyerinclude "dev/scsipi/files.scsipi"
611.4Scgdmajor { st = 2 }
621.4Scgdmajor { cd = 3 }
631.4Scgdmajor { sd = 8 }
641.4Scgd
651.61Sthorpej#
661.61Sthorpej# Machine-independent ATA drivers
671.61Sthorpej#
681.61Sthorpej
691.61Sthorpejinclude "dev/ata/files.ata"
701.61Sthorpejmajor { wd = 4 }
711.61Sthorpej
721.33Spk# Memory Disk
731.33Spkfile	arch/alpha/alpha/md_root.c	memory_disk_hooks
741.33Spkmajor { md = 6 }
751.8Scgd
761.4Scgd#
771.6Scgd# raster console routines
781.6Scgd#
791.8Scgd
801.11Scgddefine	raster
811.26Scgdinclude "dev/rcons/files.rcons"
821.11Scgdfile	arch/alpha/wscons/wscons_rinit.c	raster
831.11Scgdfile	arch/alpha/wscons/wscons_rops.c		raster
841.6Scgd
851.8Scgd
861.6Scgd#
871.6Scgd# "Workstation Console" glue; attaches frame buffer to emulator & kbd.
881.6Scgd#
891.63Sthorpejdevice	wscons: tty
901.11Scgdattach	wscons at wsconsdev
911.11Scgdfile	arch/alpha/wscons/wscons.c	wscons		needs-flag
921.11Scgdfile	arch/alpha/wscons/wscons_emul.c	wscons
931.11Scgd
941.11Scgdfile	arch/alpha/wscons/event.c	wscons
951.11Scgdfile	arch/alpha/wscons/kbd.c		wscons
961.11Scgdfile	arch/alpha/wscons/ms.c		wscons
971.6Scgd
981.39Scgd
991.39Scgd#
1001.39Scgd# TurboLaser Bus Support
1011.39Scgd#
1021.39Scgd
1031.63Sthorpejdevice	tlsb { node = -1, offset = -1 }
1041.39Scgdattach	tlsb at mainbus
1051.39Scgdfile	arch/alpha/tlsb/tlsb.c		tlsb & dec_kn8ae
1061.39Scgd
1071.63Sthorpejdevice	kft { }
1081.39Scgdattach	kft at tlsb
1091.39Scgdfile	arch/alpha/tlsb/kftxx.c		kft
1101.39Scgd
1111.63Sthorpejdevice	tlsbmem
1121.39Scgdattach	tlsbmem at tlsb
1131.39Scgdfile	arch/alpha/tlsb/tlsbmem.c	tlsbmem
1141.39Scgd
1151.63Sthorpejdevice	gbus { offset = -1 }
1161.39Scgdattach	gbus at tlsb
1171.39Scgdfile	arch/alpha/tlsb/gbus.c		gbus
1181.39Scgd
1191.39Scgd
1201.6Scgd#
1211.48Sjonathan# Bus-independent support for DEC devices
1221.48Sjonathan#
1231.48Sjonathaninclude "dev/dec/files.dec"
1241.48Sjonathan
1251.48Sjonathan#
1261.4Scgd# TurboChannel Devices
1271.4Scgd#
1281.48Sjonathaninclude "dev/tc/files.tc"
1291.4Scgd
1301.48Sjonathan# TC attachment is MD
1311.48Sjonathanattach	tc at tcbus
1321.9Scgd
1331.63Sthorpejdevice	tcasic: tcbus
1341.11Scgdattach	tcasic at mainbus
1351.9Scgdfile	arch/alpha/tc/tcasic.c		tcasic
1361.18Scgdfile	arch/alpha/tc/tc_bus_mem.c	tcasic
1371.47Sthorpejfile	arch/alpha/tc/tc_dma.c		tcasic
1381.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_300.c	tcasic & dec_3000_300
1391.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_500.c	tcasic & dec_3000_500
1401.47Sthorpejfile	arch/alpha/tc/tc_sgmap.c	tcasic & dec_3000_500
1411.13Scgdfile	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
1421.13Scgdfile	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
1431.1Scgd
1441.4Scgd# the TurboChannel IOCTL ASIC
1451.48Sjonathan#  IOASIC device and attachment defined in sys/dev/tc/files.tc
1461.13Scgdfile	arch/alpha/tc/ioasic.c		ioasic
1471.1Scgd
1481.16Scgd# Color Frame buffer
1491.63Sthorpejdevice	cfb: raster, wsconsdev
1501.16Scgdattach	cfb at tc
1511.16Scgdfile	arch/alpha/tc/cfb.c		cfb
1521.16Scgd
1531.16Scgd# Smart Frame buffer
1541.63Sthorpejdevice	sfb: raster, wsconsdev
1551.11Scgdattach	sfb at tc
1561.1Scgdfile	arch/alpha/tc/sfb.c		sfb
1571.1Scgd
1581.4Scgd# 8530 UARTs
1591.63Sthorpejdevice	scc: tty
1601.11Scgdattach	scc at ioasic
1611.4Scgdfile	arch/alpha/tc/scc.c		scc		needs-count
1621.66Sthorpej
1631.66Sthorpej# 8530 UARTs using the MI 8530 driver   
1641.66Sthorpejdevice	zsc { channel = -1 }
1651.66Sthorpejattach	zsc at ioasic with zsc_ioasic
1661.66Sthorpejfile	arch/alpha/tc/zs_ioasic.c	zsc_ioasic
1671.66Sthorpejfile	dev/ic/z8530sc.c		zsc
1681.66Sthorpej
1691.66Sthorpejdevice	zstty: tty
1701.66Sthorpejattach	zstty at zsc
1711.66Sthorpejfile	dev/ic/z8530tty.c		zstty		needs-flag
1721.1Scgd
1731.4Scgd# the TCDS ASIC
1741.63Sthorpejdevice	tcds { slot = -1 }
1751.11Scgdattach	tcds at tc
1761.4Scgdfile	arch/alpha/tc/tcds.c		tcds		needs-count
1771.4Scgd
1781.4Scgd# 53C[F]90 SCSI
1791.63Sthorpejdevice	asc: scsi, ncr53c9x
1801.38Sthorpejattach	asc at tcds
1811.38Sthorpejfile	arch/alpha/tc/asc.c		asc		needs-count
1821.38Sthorpejfile	arch/alpha/tc/tcds_dma.c	asc
1831.4Scgd
1841.48Sjonathan# TC and baseboard ioasic Lance ethernet are in files.tc
1851.8Scgd
1861.8Scgd#
1871.8Scgd# ISA Bus support
1881.8Scgd#
1891.8Scgd
1901.26Scgdinclude "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
1911.26Scgdinclude "dev/isa/files.isa"
1921.8Scgd
1931.8Scgd#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
1941.8Scgd
1951.8Scgd
1961.4Scgd#
1971.8Scgd# ISA Bus devices
1981.4Scgd#
1991.1Scgd
2001.11Scgd#device	ibus at mainbus { }
2011.11Scgd#device	jcombo at ibus: isabus
2021.11Scgd#device	jeisa at ibus: eisabus
2031.8Scgd
2041.31Scgdfile	arch/alpha/isa/isa_machdep.c	isa
2051.31Scgd
2061.63Sthorpejdevice	pcppi { }
2071.32Scgdattach	pcppi at isa
2081.32Scgdfile	arch/alpha/isa/pcppi.c		pcppi
2091.32Scgd
2101.63Sthorpejdevice	pckbd
2111.32Scgdattach	pckbd at pcppi
2121.32Scgdfile	arch/alpha/isa/pckbd.c		pckbd
2131.32Scgd
2141.63Sthorpejdevice	pms
2151.32Scgdattach	pms at pcppi
2161.32Scgdfile	arch/alpha/isa/pms.c		pms
2171.8Scgd
2181.31Scgdattach	vga at isa with vga_isa
2191.31Scgdfile	arch/alpha/isa/vga_isa.c	vga_isa		needs-flag
2201.8Scgd
2211.35Scgd# Floppy disk controller
2221.63Sthorpejdevice	fdc { drive = -1 }
2231.35Scgdattach	fdc at isa
2241.63Sthorpejdevice	fd: disk, isadma
2251.35Scgdattach	fd at fdc
2261.36Scgdfile	arch/alpha/isa/fd.c		fdc needs-flag
2271.35Scgdmajor	{ fd = 0 }
2281.35Scgd
2291.35Scgd# PC speaker
2301.8Scgd#
2311.8Scgd# EISA Bus support
2321.8Scgd#
2331.8Scgd
2341.26Scgdinclude "dev/eisa/files.eisa"
2351.8Scgd
2361.8Scgd
2371.8Scgd#
2381.8Scgd# PCI Bus support
2391.8Scgd#
2401.8Scgd
2411.26Scgd# include "dev/pci/files.pci" XXX SEE ABOVE
2421.8Scgd
2431.50Scgddefine	alpha_pci_sgmap_pte32
2441.50Scgdfile	arch/alpha/pci/pci_sgmap_pte32.c	alpha_pci_sgmap_pte32
2451.50Scgd
2461.50Scgddefine	alpha_pci_sgmap_pte64
2471.50Scgdfile	arch/alpha/pci/pci_sgmap_pte64.c	alpha_pci_sgmap_pte64
2481.50Scgd
2491.63Sthorpejdevice	apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2501.10Sthorpejattach	apecs at mainbus
2511.5Scgdfile	arch/alpha/pci/apecs.c		apecs
2521.32Scgdfile	arch/alpha/pci/apecs_bus_io.c	apecs
2531.32Scgdfile	arch/alpha/pci/apecs_bus_mem.c	apecs
2541.47Sthorpejfile	arch/alpha/pci/apecs_dma.c	apecs
2551.5Scgdfile	arch/alpha/pci/apecs_pci.c	apecs
2561.4Scgd
2571.63Sthorpejdevice	cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2581.10Sthorpejattach	cia at mainbus
2591.8Scgdfile	arch/alpha/pci/cia.c		cia
2601.47Sthorpejfile	arch/alpha/pci/cia_dma.c	cia
2611.8Scgdfile	arch/alpha/pci/cia_pci.c	cia
2621.51Scgdfile	arch/alpha/pci/cia_swiz_bus_io.c cia
2631.51Scgdfile	arch/alpha/pci/cia_swiz_bus_mem.c cia
2641.8Scgd
2651.64Srossdevice	a12c { }: pcibus
2661.62Srossattach	a12c at mainbus
2671.62Srossfile	arch/alpha/pci/a12c.c		a12c
2681.62Srossfile	arch/alpha/pci/a12c_bus_mem.c	a12c
2691.62Srossfile	arch/alpha/pci/a12c_dma.c	a12c
2701.62Srossfile	arch/alpha/pci/a12c_pci.c	a12c
2711.62Sross
2721.63Sthorpejdevice	dwlpx: pcibus, alpha_sgmap, alpha_pci_sgmap_pte32
2731.44Scgdattach	dwlpx at kft
2741.44Scgdfile	arch/alpha/pci/dwlpx.c		dwlpx
2751.47Sthorpejfile	arch/alpha/pci/dwlpx_dma.c	dwlpx
2761.44Scgdfile	arch/alpha/pci/dwlpx_pci.c	dwlpx
2771.50Scgdfile	arch/alpha/pci/pci_kn8ae.c	dwlpx	# XXX doesn't really fit here
2781.44Scgdfile	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
2791.44Scgdfile	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
2801.44Scgd
2811.63Sthorpejdevice	lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2821.50Scgdattach	lca at mainbus
2831.50Scgdfile	arch/alpha/pci/lca.c		lca
2841.50Scgdfile	arch/alpha/pci/lca_bus_io.c	lca
2851.50Scgdfile	arch/alpha/pci/lca_bus_mem.c	lca
2861.50Scgdfile	arch/alpha/pci/lca_dma.c	lca
2871.50Scgdfile	arch/alpha/pci/lca_pci.c	lca
2881.44Scgd
2891.44Scgd# CPU support files
2901.5Scgdfile	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
2911.62Srossfile	arch/alpha/pci/pci_a12.c	avalon_a12
2921.28Scgdfile	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
2931.28Scgdfile	arch/alpha/pci/pci_eb164.c	dec_eb164
2941.32Scgdfile	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
2951.57Sthorpej#file	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
2961.41Scgdfile	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
2971.8Scgdfile	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
2981.8Scgd
2991.4Scgd
3001.4Scgd#
3011.8Scgd# PCI Bus devices
3021.4Scgd#
3031.1Scgd
3041.4Scgdfile	arch/alpha/pci/pci_machdep.c	pci
3051.1Scgd
3061.63Sthorpejdevice	sio: isabus, alpha_shared_intr
3071.10Sthorpejattach	sio at pci
3081.63Sthorpejdevice	pceb: isabus, eisabus
3091.10Sthorpejattach	pceb at pci
3101.11Scgdfile	arch/alpha/pci/sio.c		sio | pceb	needs-flag
3111.11Scgdfile	arch/alpha/pci/sio_pic.c	sio | pceb
3121.5Scgd
3131.63Sthorpejdevice	tga: raster, wsconsdev
3141.10Sthorpejattach	tga at pci
3151.6Scgdfile	arch/alpha/pci/tga.c		tga		needs-flag
3161.11Scgdfile	arch/alpha/pci/tga_conf.c	tga
3171.11Scgdfile	arch/alpha/pci/tga_bt463.c	tga
3181.11Scgdfile	arch/alpha/pci/tga_bt485.c	tga
3191.11Scgd
3201.31Scgdattach	vga at pci with vga_pci
3211.31Scgdfile	arch/alpha/pci/vga_pci.c	vga_pci		needs-flag
3221.6Scgd
3231.62Sross#
3241.62Sross# A12 if_de hack, this is temporary!
3251.62Sross#
3261.63Sthorpejdevice	ade: ether, ifnet, arp
3271.62Srossattach	ade at pci
3281.62Srossfile	arch/alpha/pci/if_ade.c		ade
3291.64Sross
3301.64Sross#
3311.64Sross# alpha/a12 platform-specific drivers
3321.64Sross#
3331.64Sross
3341.64Sross# Switch
3351.64Sross
3361.64Srossdevice	xb
3371.64Srossattach	xb at a12c
3381.64Srossfile	arch/alpha/a12/if_xb.c	xb
3391.64Sross
3401.64Sross# Console
3411.64Sross
3421.64Srossdevice	a12dc
3431.64Srossattach	a12dc at a12c
3441.64Srossfile	arch/alpha/a12/a12dc.c	a12dc		needs-flag
3451.8Scgd
3461.5Scgd#
3471.8Scgd# Devices that can live on multiple busses
3481.5Scgd#
3491.5Scgd
3501.63Sthorpejdevice	mcclock
3511.12Scgdattach	mcclock at ioasic with mcclock_ioasic
3521.12Scgdattach	mcclock at isa with mcclock_isa
3531.39Scgdattach	mcclock at gbus with mcclock_tlsb
3541.12Scgdfile	arch/alpha/alpha/mcclock.c	mcclock
3551.12Scgdfile	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
3561.12Scgdfile	arch/alpha/isa/mcclock_isa.c	mcclock_isa
3571.39Scgdfile	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
3581.39Scgd
3591.5Scgd
3601.4Scgd#
3611.4Scgd# Standard files
3621.4Scgd#
3631.1Scgdfile	arch/alpha/alpha/autoconf.c
3641.12Scgdfile	arch/alpha/alpha/clock.c
3651.1Scgdfile	arch/alpha/alpha/conf.c
3661.55Sthorpejfile	arch/alpha/alpha/cpuconf.c
3671.1Scgdfile	arch/alpha/alpha/interrupt.c
3681.1Scgdfile	arch/alpha/alpha/machdep.c
3691.1Scgdfile	arch/alpha/alpha/mainbus.c
3701.1Scgdfile	arch/alpha/alpha/mem.c
3711.67Sthorpejfile	arch/alpha/alpha/pmap.c
3721.1Scgdfile	arch/alpha/alpha/process_machdep.c
3731.1Scgdfile	arch/alpha/alpha/prom.c
3741.1Scgdfile	arch/alpha/alpha/support.c
3751.1Scgdfile	arch/alpha/alpha/sys_machdep.c
3761.1Scgdfile	arch/alpha/alpha/trap.c
3771.1Scgdfile	arch/alpha/alpha/vm_machdep.c
3781.1Scgdfile	arch/alpha/alpha/disksubr.c
3791.47Sthorpejfile	arch/alpha/common/bus_dma.c
3801.1Scgdfile	dev/cons.c
3811.4Scgd
3821.44Scgd# Network protocol checksum routines
3831.44Scgdfile	arch/alpha/alpha/in_cksum.c		inet
3841.19Scgdfile	netns/ns_cksum.c			ns
3851.1Scgd
3861.44Scgd# PROM console support (for ports that don't have native console support)
3871.5Scgdfile	arch/alpha/alpha/promcons.c
3881.6Scgd
3891.44Scgd# CPU support
3901.59Sthorpejfile	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50
3911.59Sthorpejfile	arch/alpha/alpha/dec_3000_300.c		dec_3000_300
3921.59Sthorpejfile	arch/alpha/alpha/dec_3000_500.c		dec_3000_500
3931.59Sthorpejfile	arch/alpha/alpha/dec_550.c		dec_550
3941.59Sthorpejfile	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33
3951.59Sthorpejfile	arch/alpha/alpha/dec_eb164.c		dec_eb164
3961.59Sthorpejfile	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus
3971.59Sthorpejfile	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa
3981.59Sthorpejfile	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae
3991.62Srossfile	arch/alpha/alpha/avalon_a12.c		avalon_a12
4001.58Sthorpej
4011.58Sthorpej# Kernel debugger support
4021.58Sthorpejfile	arch/alpha/alpha/db_disasm.c		ddb
4031.58Sthorpejfile	arch/alpha/alpha/db_interface.c		ddb
4041.58Sthorpejfile	arch/alpha/alpha/db_trace.c		ddb
4051.7Sthorpej
4061.7Sthorpej# OSF/1 Binary Compatibility (COMPAT_OSF1)
4071.26Scgdinclude "compat/osf1/files.osf1"
408