files.alpha revision 1.67
11.67Sthorpej# $NetBSD: files.alpha,v 1.67 1998/03/26 02:19:02 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.44Scgd
271.31Scgd# a wscons output device; used later, but needs to be near the top for
281.31Scgd# common file (e.g. vga) definitions.
291.50Scgddefine	wsconsdev {[console = -1]}
301.31Scgd
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.45Smjacob					dec_eb64plus | dec_kn20aa | dec_kn8ae
351.47Sthorpejdefine	alpha_sgmap
361.47Sthorpejfile	arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500
371.4Scgd
381.63Sthorpejdevice	vga: wsconsdev
391.31Scgdfile	arch/alpha/common/vga.c		vga
401.31Scgd
411.4Scgd#
421.4Scgd# Bus-independent devices
431.4Scgd#
441.4Scgd
451.63Sthorpejdevice	mainbus { }			# no locators (yet?)
461.11Scgdattach	mainbus at root
471.1Scgd
481.63Sthorpejdevice	cpu { }				# not really optional
491.11Scgdattach	cpu at mainbus
501.1Scgdfile	arch/alpha/alpha/cpu.c		cpu
511.1Scgd
521.8Scgd
531.4Scgd#
541.4Scgd# Machine-independent SCSI drivers
551.4Scgd#
561.4Scgd
571.53Sbouyerinclude "dev/scsipi/files.scsipi"
581.4Scgdmajor { st = 2 }
591.4Scgdmajor { cd = 3 }
601.4Scgdmajor { sd = 8 }
611.4Scgd
621.61Sthorpej#
631.61Sthorpej# Machine-independent ATA drivers
641.61Sthorpej#
651.61Sthorpej
661.61Sthorpejinclude "dev/ata/files.ata"
671.61Sthorpejmajor { wd = 4 }
681.61Sthorpej
691.33Spk# Memory Disk
701.33Spkfile	arch/alpha/alpha/md_root.c	memory_disk_hooks
711.33Spkmajor { md = 6 }
721.8Scgd
731.4Scgd#
741.6Scgd# raster console routines
751.6Scgd#
761.8Scgd
771.11Scgddefine	raster
781.26Scgdinclude "dev/rcons/files.rcons"
791.11Scgdfile	arch/alpha/wscons/wscons_rinit.c	raster
801.11Scgdfile	arch/alpha/wscons/wscons_rops.c		raster
811.6Scgd
821.8Scgd
831.6Scgd#
841.6Scgd# "Workstation Console" glue; attaches frame buffer to emulator & kbd.
851.6Scgd#
861.63Sthorpejdevice	wscons: tty
871.11Scgdattach	wscons at wsconsdev
881.11Scgdfile	arch/alpha/wscons/wscons.c	wscons		needs-flag
891.11Scgdfile	arch/alpha/wscons/wscons_emul.c	wscons
901.11Scgd
911.11Scgdfile	arch/alpha/wscons/event.c	wscons
921.11Scgdfile	arch/alpha/wscons/kbd.c		wscons
931.11Scgdfile	arch/alpha/wscons/ms.c		wscons
941.6Scgd
951.39Scgd
961.39Scgd#
971.39Scgd# TurboLaser Bus Support
981.39Scgd#
991.39Scgd
1001.63Sthorpejdevice	tlsb { node = -1, offset = -1 }
1011.39Scgdattach	tlsb at mainbus
1021.39Scgdfile	arch/alpha/tlsb/tlsb.c		tlsb & dec_kn8ae
1031.39Scgd
1041.63Sthorpejdevice	kft { }
1051.39Scgdattach	kft at tlsb
1061.39Scgdfile	arch/alpha/tlsb/kftxx.c		kft
1071.39Scgd
1081.63Sthorpejdevice	tlsbmem
1091.39Scgdattach	tlsbmem at tlsb
1101.39Scgdfile	arch/alpha/tlsb/tlsbmem.c	tlsbmem
1111.39Scgd
1121.63Sthorpejdevice	gbus { offset = -1 }
1131.39Scgdattach	gbus at tlsb
1141.39Scgdfile	arch/alpha/tlsb/gbus.c		gbus
1151.39Scgd
1161.39Scgd
1171.6Scgd#
1181.48Sjonathan# Bus-independent support for DEC devices
1191.48Sjonathan#
1201.48Sjonathaninclude "dev/dec/files.dec"
1211.48Sjonathan
1221.48Sjonathan#
1231.4Scgd# TurboChannel Devices
1241.4Scgd#
1251.48Sjonathaninclude "dev/tc/files.tc"
1261.4Scgd
1271.48Sjonathan# TC attachment is MD
1281.48Sjonathanattach	tc at tcbus
1291.9Scgd
1301.63Sthorpejdevice	tcasic: tcbus
1311.11Scgdattach	tcasic at mainbus
1321.9Scgdfile	arch/alpha/tc/tcasic.c		tcasic
1331.18Scgdfile	arch/alpha/tc/tc_bus_mem.c	tcasic
1341.47Sthorpejfile	arch/alpha/tc/tc_dma.c		tcasic
1351.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_300.c	tcasic & dec_3000_300
1361.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_500.c	tcasic & dec_3000_500
1371.47Sthorpejfile	arch/alpha/tc/tc_sgmap.c	tcasic & dec_3000_500
1381.13Scgdfile	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
1391.13Scgdfile	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
1401.1Scgd
1411.4Scgd# the TurboChannel IOCTL ASIC
1421.48Sjonathan#  IOASIC device and attachment defined in sys/dev/tc/files.tc
1431.13Scgdfile	arch/alpha/tc/ioasic.c		ioasic
1441.1Scgd
1451.16Scgd# Color Frame buffer
1461.63Sthorpejdevice	cfb: raster, wsconsdev
1471.16Scgdattach	cfb at tc
1481.16Scgdfile	arch/alpha/tc/cfb.c		cfb
1491.16Scgd
1501.16Scgd# Smart Frame buffer
1511.63Sthorpejdevice	sfb: raster, wsconsdev
1521.11Scgdattach	sfb at tc
1531.1Scgdfile	arch/alpha/tc/sfb.c		sfb
1541.1Scgd
1551.4Scgd# 8530 UARTs
1561.63Sthorpejdevice	scc: tty
1571.11Scgdattach	scc at ioasic
1581.4Scgdfile	arch/alpha/tc/scc.c		scc		needs-count
1591.66Sthorpej
1601.66Sthorpej# 8530 UARTs using the MI 8530 driver   
1611.66Sthorpejdevice	zsc { channel = -1 }
1621.66Sthorpejattach	zsc at ioasic with zsc_ioasic
1631.66Sthorpejfile	arch/alpha/tc/zs_ioasic.c	zsc_ioasic
1641.66Sthorpejfile	dev/ic/z8530sc.c		zsc
1651.66Sthorpej
1661.66Sthorpejdevice	zstty: tty
1671.66Sthorpejattach	zstty at zsc
1681.66Sthorpejfile	dev/ic/z8530tty.c		zstty		needs-flag
1691.1Scgd
1701.4Scgd# the TCDS ASIC
1711.63Sthorpejdevice	tcds { slot = -1 }
1721.11Scgdattach	tcds at tc
1731.4Scgdfile	arch/alpha/tc/tcds.c		tcds		needs-count
1741.4Scgd
1751.4Scgd# 53C[F]90 SCSI
1761.63Sthorpejdevice	asc: scsi, ncr53c9x
1771.38Sthorpejattach	asc at tcds
1781.38Sthorpejfile	arch/alpha/tc/asc.c		asc		needs-count
1791.38Sthorpejfile	arch/alpha/tc/tcds_dma.c	asc
1801.4Scgd
1811.48Sjonathan# TC and baseboard ioasic Lance ethernet are in files.tc
1821.8Scgd
1831.8Scgd#
1841.8Scgd# ISA Bus support
1851.8Scgd#
1861.8Scgd
1871.26Scgdinclude "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
1881.26Scgdinclude "dev/isa/files.isa"
1891.8Scgd
1901.8Scgd#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
1911.8Scgd
1921.8Scgd
1931.4Scgd#
1941.8Scgd# ISA Bus devices
1951.4Scgd#
1961.1Scgd
1971.11Scgd#device	ibus at mainbus { }
1981.11Scgd#device	jcombo at ibus: isabus
1991.11Scgd#device	jeisa at ibus: eisabus
2001.8Scgd
2011.31Scgdfile	arch/alpha/isa/isa_machdep.c	isa
2021.31Scgd
2031.63Sthorpejdevice	pcppi { }
2041.32Scgdattach	pcppi at isa
2051.32Scgdfile	arch/alpha/isa/pcppi.c		pcppi
2061.32Scgd
2071.63Sthorpejdevice	pckbd
2081.32Scgdattach	pckbd at pcppi
2091.32Scgdfile	arch/alpha/isa/pckbd.c		pckbd
2101.32Scgd
2111.63Sthorpejdevice	pms
2121.32Scgdattach	pms at pcppi
2131.32Scgdfile	arch/alpha/isa/pms.c		pms
2141.8Scgd
2151.31Scgdattach	vga at isa with vga_isa
2161.31Scgdfile	arch/alpha/isa/vga_isa.c	vga_isa		needs-flag
2171.8Scgd
2181.35Scgd# Floppy disk controller
2191.63Sthorpejdevice	fdc { drive = -1 }
2201.35Scgdattach	fdc at isa
2211.63Sthorpejdevice	fd: disk, isadma
2221.35Scgdattach	fd at fdc
2231.36Scgdfile	arch/alpha/isa/fd.c		fdc needs-flag
2241.35Scgdmajor	{ fd = 0 }
2251.35Scgd
2261.35Scgd# PC speaker
2271.8Scgd#
2281.8Scgd# EISA Bus support
2291.8Scgd#
2301.8Scgd
2311.26Scgdinclude "dev/eisa/files.eisa"
2321.8Scgd
2331.8Scgd
2341.8Scgd#
2351.8Scgd# PCI Bus support
2361.8Scgd#
2371.8Scgd
2381.26Scgd# include "dev/pci/files.pci" XXX SEE ABOVE
2391.8Scgd
2401.50Scgddefine	alpha_pci_sgmap_pte32
2411.50Scgdfile	arch/alpha/pci/pci_sgmap_pte32.c	alpha_pci_sgmap_pte32
2421.50Scgd
2431.50Scgddefine	alpha_pci_sgmap_pte64
2441.50Scgdfile	arch/alpha/pci/pci_sgmap_pte64.c	alpha_pci_sgmap_pte64
2451.50Scgd
2461.63Sthorpejdevice	apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2471.10Sthorpejattach	apecs at mainbus
2481.5Scgdfile	arch/alpha/pci/apecs.c		apecs
2491.32Scgdfile	arch/alpha/pci/apecs_bus_io.c	apecs
2501.32Scgdfile	arch/alpha/pci/apecs_bus_mem.c	apecs
2511.47Sthorpejfile	arch/alpha/pci/apecs_dma.c	apecs
2521.5Scgdfile	arch/alpha/pci/apecs_pci.c	apecs
2531.4Scgd
2541.63Sthorpejdevice	cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2551.10Sthorpejattach	cia at mainbus
2561.8Scgdfile	arch/alpha/pci/cia.c		cia
2571.47Sthorpejfile	arch/alpha/pci/cia_dma.c	cia
2581.8Scgdfile	arch/alpha/pci/cia_pci.c	cia
2591.51Scgdfile	arch/alpha/pci/cia_swiz_bus_io.c cia
2601.51Scgdfile	arch/alpha/pci/cia_swiz_bus_mem.c cia
2611.8Scgd
2621.64Srossdevice	a12c { }: pcibus
2631.62Srossattach	a12c at mainbus
2641.62Srossfile	arch/alpha/pci/a12c.c		a12c
2651.62Srossfile	arch/alpha/pci/a12c_bus_mem.c	a12c
2661.62Srossfile	arch/alpha/pci/a12c_dma.c	a12c
2671.62Srossfile	arch/alpha/pci/a12c_pci.c	a12c
2681.62Sross
2691.63Sthorpejdevice	dwlpx: pcibus, alpha_sgmap, alpha_pci_sgmap_pte32
2701.44Scgdattach	dwlpx at kft
2711.44Scgdfile	arch/alpha/pci/dwlpx.c		dwlpx
2721.47Sthorpejfile	arch/alpha/pci/dwlpx_dma.c	dwlpx
2731.44Scgdfile	arch/alpha/pci/dwlpx_pci.c	dwlpx
2741.50Scgdfile	arch/alpha/pci/pci_kn8ae.c	dwlpx	# XXX doesn't really fit here
2751.44Scgdfile	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
2761.44Scgdfile	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
2771.44Scgd
2781.63Sthorpejdevice	lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2791.50Scgdattach	lca at mainbus
2801.50Scgdfile	arch/alpha/pci/lca.c		lca
2811.50Scgdfile	arch/alpha/pci/lca_bus_io.c	lca
2821.50Scgdfile	arch/alpha/pci/lca_bus_mem.c	lca
2831.50Scgdfile	arch/alpha/pci/lca_dma.c	lca
2841.50Scgdfile	arch/alpha/pci/lca_pci.c	lca
2851.44Scgd
2861.44Scgd# CPU support files
2871.5Scgdfile	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
2881.62Srossfile	arch/alpha/pci/pci_a12.c	avalon_a12
2891.28Scgdfile	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
2901.28Scgdfile	arch/alpha/pci/pci_eb164.c	dec_eb164
2911.32Scgdfile	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
2921.57Sthorpej#file	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
2931.41Scgdfile	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
2941.8Scgdfile	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
2951.8Scgd
2961.4Scgd
2971.4Scgd#
2981.8Scgd# PCI Bus devices
2991.4Scgd#
3001.1Scgd
3011.4Scgdfile	arch/alpha/pci/pci_machdep.c	pci
3021.1Scgd
3031.63Sthorpejdevice	sio: isabus, alpha_shared_intr
3041.10Sthorpejattach	sio at pci
3051.63Sthorpejdevice	pceb: isabus, eisabus
3061.10Sthorpejattach	pceb at pci
3071.11Scgdfile	arch/alpha/pci/sio.c		sio | pceb	needs-flag
3081.11Scgdfile	arch/alpha/pci/sio_pic.c	sio | pceb
3091.5Scgd
3101.63Sthorpejdevice	tga: raster, wsconsdev
3111.10Sthorpejattach	tga at pci
3121.6Scgdfile	arch/alpha/pci/tga.c		tga		needs-flag
3131.11Scgdfile	arch/alpha/pci/tga_conf.c	tga
3141.11Scgdfile	arch/alpha/pci/tga_bt463.c	tga
3151.11Scgdfile	arch/alpha/pci/tga_bt485.c	tga
3161.11Scgd
3171.31Scgdattach	vga at pci with vga_pci
3181.31Scgdfile	arch/alpha/pci/vga_pci.c	vga_pci		needs-flag
3191.6Scgd
3201.62Sross#
3211.62Sross# A12 if_de hack, this is temporary!
3221.62Sross#
3231.63Sthorpejdevice	ade: ether, ifnet, arp
3241.62Srossattach	ade at pci
3251.62Srossfile	arch/alpha/pci/if_ade.c		ade
3261.64Sross
3271.64Sross#
3281.64Sross# alpha/a12 platform-specific drivers
3291.64Sross#
3301.64Sross
3311.64Sross# Switch
3321.64Sross
3331.64Srossdevice	xb
3341.64Srossattach	xb at a12c
3351.64Srossfile	arch/alpha/a12/if_xb.c	xb
3361.64Sross
3371.64Sross# Console
3381.64Sross
3391.64Srossdevice	a12dc
3401.64Srossattach	a12dc at a12c
3411.64Srossfile	arch/alpha/a12/a12dc.c	a12dc		needs-flag
3421.8Scgd
3431.5Scgd#
3441.8Scgd# Devices that can live on multiple busses
3451.5Scgd#
3461.5Scgd
3471.63Sthorpejdevice	mcclock
3481.12Scgdattach	mcclock at ioasic with mcclock_ioasic
3491.12Scgdattach	mcclock at isa with mcclock_isa
3501.39Scgdattach	mcclock at gbus with mcclock_tlsb
3511.12Scgdfile	arch/alpha/alpha/mcclock.c	mcclock
3521.12Scgdfile	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
3531.12Scgdfile	arch/alpha/isa/mcclock_isa.c	mcclock_isa
3541.39Scgdfile	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
3551.39Scgd
3561.5Scgd
3571.4Scgd#
3581.4Scgd# Standard files
3591.4Scgd#
3601.1Scgdfile	arch/alpha/alpha/autoconf.c
3611.12Scgdfile	arch/alpha/alpha/clock.c
3621.1Scgdfile	arch/alpha/alpha/conf.c
3631.55Sthorpejfile	arch/alpha/alpha/cpuconf.c
3641.1Scgdfile	arch/alpha/alpha/interrupt.c
3651.1Scgdfile	arch/alpha/alpha/machdep.c
3661.1Scgdfile	arch/alpha/alpha/mainbus.c
3671.1Scgdfile	arch/alpha/alpha/mem.c
3681.67Sthorpejfile	arch/alpha/alpha/pmap.c
3691.1Scgdfile	arch/alpha/alpha/process_machdep.c
3701.1Scgdfile	arch/alpha/alpha/prom.c
3711.1Scgdfile	arch/alpha/alpha/support.c
3721.1Scgdfile	arch/alpha/alpha/sys_machdep.c
3731.1Scgdfile	arch/alpha/alpha/trap.c
3741.1Scgdfile	arch/alpha/alpha/vm_machdep.c
3751.1Scgdfile	arch/alpha/alpha/disksubr.c
3761.47Sthorpejfile	arch/alpha/common/bus_dma.c
3771.1Scgdfile	dev/cons.c
3781.4Scgd
3791.44Scgd# Network protocol checksum routines
3801.44Scgdfile	arch/alpha/alpha/in_cksum.c		inet
3811.19Scgdfile	netns/ns_cksum.c			ns
3821.1Scgd
3831.44Scgd# PROM console support (for ports that don't have native console support)
3841.5Scgdfile	arch/alpha/alpha/promcons.c
3851.6Scgd
3861.44Scgd# CPU support
3871.59Sthorpejfile	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50
3881.59Sthorpejfile	arch/alpha/alpha/dec_3000_300.c		dec_3000_300
3891.59Sthorpejfile	arch/alpha/alpha/dec_3000_500.c		dec_3000_500
3901.59Sthorpejfile	arch/alpha/alpha/dec_550.c		dec_550
3911.59Sthorpejfile	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33
3921.59Sthorpejfile	arch/alpha/alpha/dec_eb164.c		dec_eb164
3931.59Sthorpejfile	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus
3941.59Sthorpejfile	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa
3951.59Sthorpejfile	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae
3961.62Srossfile	arch/alpha/alpha/avalon_a12.c		avalon_a12
3971.58Sthorpej
3981.58Sthorpej# Kernel debugger support
3991.58Sthorpejfile	arch/alpha/alpha/db_disasm.c		ddb
4001.58Sthorpejfile	arch/alpha/alpha/db_interface.c		ddb
4011.58Sthorpejfile	arch/alpha/alpha/db_trace.c		ddb
4021.7Sthorpej
4031.7Sthorpej# OSF/1 Binary Compatibility (COMPAT_OSF1)
4041.26Scgdinclude "compat/osf1/files.osf1"
405