files.alpha revision 1.64
11.64Sross# $NetBSD: files.alpha,v 1.64 1998/03/02 08:04:04 ross 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.1Scgdmaxusers 2 8 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.44Scgd
261.31Scgd# a wscons output device; used later, but needs to be near the top for
271.31Scgd# common file (e.g. vga) definitions.
281.50Scgddefine	wsconsdev {[console = -1]}
291.31Scgd
301.30Scgd# this loses, but there's no way to define attributes which have attributes
311.30Scgddefine	alpha_shared_intr
321.31Scgdfile	arch/alpha/common/shared_intr.c	alpha_shared_intr | dec_eb164 |
331.45Smjacob					dec_eb64plus | dec_kn20aa | dec_kn8ae
341.47Sthorpejdefine	alpha_sgmap
351.47Sthorpejfile	arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500
361.4Scgd
371.63Sthorpejdevice	vga: wsconsdev
381.31Scgdfile	arch/alpha/common/vga.c		vga
391.31Scgd
401.4Scgd#
411.4Scgd# Bus-independent devices
421.4Scgd#
431.4Scgd
441.63Sthorpejdevice	mainbus { }			# no locators (yet?)
451.11Scgdattach	mainbus at root
461.1Scgd
471.63Sthorpejdevice	cpu { }				# not really optional
481.11Scgdattach	cpu at mainbus
491.1Scgdfile	arch/alpha/alpha/cpu.c		cpu
501.1Scgd
511.8Scgd
521.4Scgd#
531.4Scgd# Machine-independent SCSI drivers
541.4Scgd#
551.4Scgd
561.53Sbouyerinclude "dev/scsipi/files.scsipi"
571.4Scgdmajor { st = 2 }
581.4Scgdmajor { cd = 3 }
591.4Scgdmajor { sd = 8 }
601.4Scgd
611.61Sthorpej#
621.61Sthorpej# Machine-independent ATA drivers
631.61Sthorpej#
641.61Sthorpej
651.61Sthorpejinclude "dev/ata/files.ata"
661.61Sthorpejmajor { wd = 4 }
671.61Sthorpej
681.33Spk# Memory Disk
691.33Spkfile	arch/alpha/alpha/md_root.c	memory_disk_hooks
701.33Spkmajor { md = 6 }
711.8Scgd
721.4Scgd#
731.6Scgd# raster console routines
741.6Scgd#
751.8Scgd
761.11Scgddefine	raster
771.26Scgdinclude "dev/rcons/files.rcons"
781.11Scgdfile	arch/alpha/wscons/wscons_rinit.c	raster
791.11Scgdfile	arch/alpha/wscons/wscons_rops.c		raster
801.6Scgd
811.8Scgd
821.6Scgd#
831.6Scgd# "Workstation Console" glue; attaches frame buffer to emulator & kbd.
841.6Scgd#
851.63Sthorpejdevice	wscons: tty
861.11Scgdattach	wscons at wsconsdev
871.11Scgdfile	arch/alpha/wscons/wscons.c	wscons		needs-flag
881.11Scgdfile	arch/alpha/wscons/wscons_emul.c	wscons
891.11Scgd
901.11Scgdfile	arch/alpha/wscons/event.c	wscons
911.11Scgdfile	arch/alpha/wscons/kbd.c		wscons
921.11Scgdfile	arch/alpha/wscons/ms.c		wscons
931.6Scgd
941.39Scgd
951.39Scgd#
961.39Scgd# TurboLaser Bus Support
971.39Scgd#
981.39Scgd
991.63Sthorpejdevice	tlsb { node = -1, offset = -1 }
1001.39Scgdattach	tlsb at mainbus
1011.39Scgdfile	arch/alpha/tlsb/tlsb.c		tlsb & dec_kn8ae
1021.39Scgd
1031.63Sthorpejdevice	kft { }
1041.39Scgdattach	kft at tlsb
1051.39Scgdfile	arch/alpha/tlsb/kftxx.c		kft
1061.39Scgd
1071.63Sthorpejdevice	tlsbmem
1081.39Scgdattach	tlsbmem at tlsb
1091.39Scgdfile	arch/alpha/tlsb/tlsbmem.c	tlsbmem
1101.39Scgd
1111.63Sthorpejdevice	gbus { offset = -1 }
1121.39Scgdattach	gbus at tlsb
1131.39Scgdfile	arch/alpha/tlsb/gbus.c		gbus
1141.39Scgd
1151.39Scgd
1161.6Scgd#
1171.48Sjonathan# Bus-independent support for DEC devices
1181.48Sjonathan#
1191.48Sjonathaninclude "dev/dec/files.dec"
1201.48Sjonathan
1211.48Sjonathan#
1221.4Scgd# TurboChannel Devices
1231.4Scgd#
1241.48Sjonathaninclude "dev/tc/files.tc"
1251.4Scgd
1261.48Sjonathan# TC attachment is MD
1271.48Sjonathanattach	tc at tcbus
1281.9Scgd
1291.63Sthorpejdevice	tcasic: tcbus
1301.11Scgdattach	tcasic at mainbus
1311.9Scgdfile	arch/alpha/tc/tcasic.c		tcasic
1321.18Scgdfile	arch/alpha/tc/tc_bus_mem.c	tcasic
1331.47Sthorpejfile	arch/alpha/tc/tc_dma.c		tcasic
1341.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_300.c	tcasic & dec_3000_300
1351.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_500.c	tcasic & dec_3000_500
1361.47Sthorpejfile	arch/alpha/tc/tc_sgmap.c	tcasic & dec_3000_500
1371.13Scgdfile	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
1381.13Scgdfile	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
1391.1Scgd
1401.4Scgd# the TurboChannel IOCTL ASIC
1411.48Sjonathan#  IOASIC device and attachment defined in sys/dev/tc/files.tc
1421.13Scgdfile	arch/alpha/tc/ioasic.c		ioasic
1431.1Scgd
1441.16Scgd# Color Frame buffer
1451.63Sthorpejdevice	cfb: raster, wsconsdev
1461.16Scgdattach	cfb at tc
1471.16Scgdfile	arch/alpha/tc/cfb.c		cfb
1481.16Scgd
1491.16Scgd# Smart Frame buffer
1501.63Sthorpejdevice	sfb: raster, wsconsdev
1511.11Scgdattach	sfb at tc
1521.1Scgdfile	arch/alpha/tc/sfb.c		sfb
1531.1Scgd
1541.4Scgd# 8530 UARTs
1551.63Sthorpejdevice	scc: tty
1561.11Scgdattach	scc at ioasic
1571.4Scgdfile	arch/alpha/tc/scc.c		scc		needs-count
1581.1Scgd
1591.4Scgd# the TCDS ASIC
1601.63Sthorpejdevice	tcds { slot = -1 }
1611.11Scgdattach	tcds at tc
1621.4Scgdfile	arch/alpha/tc/tcds.c		tcds		needs-count
1631.4Scgd
1641.4Scgd# 53C[F]90 SCSI
1651.63Sthorpejdevice	asc: scsi, ncr53c9x
1661.38Sthorpejattach	asc at tcds
1671.38Sthorpejfile	arch/alpha/tc/asc.c		asc		needs-count
1681.38Sthorpejfile	arch/alpha/tc/tcds_dma.c	asc
1691.4Scgd
1701.48Sjonathan# TC and baseboard ioasic Lance ethernet are in files.tc
1711.8Scgd
1721.8Scgd#
1731.8Scgd# ISA Bus support
1741.8Scgd#
1751.8Scgd
1761.26Scgdinclude "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
1771.26Scgdinclude "dev/isa/files.isa"
1781.8Scgd
1791.8Scgd#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
1801.8Scgd
1811.8Scgd
1821.4Scgd#
1831.8Scgd# ISA Bus devices
1841.4Scgd#
1851.1Scgd
1861.11Scgd#device	ibus at mainbus { }
1871.11Scgd#device	jcombo at ibus: isabus
1881.11Scgd#device	jeisa at ibus: eisabus
1891.8Scgd
1901.31Scgdfile	arch/alpha/isa/isa_machdep.c	isa
1911.31Scgd
1921.63Sthorpejdevice	pcppi { }
1931.32Scgdattach	pcppi at isa
1941.32Scgdfile	arch/alpha/isa/pcppi.c		pcppi
1951.32Scgd
1961.63Sthorpejdevice	pckbd
1971.32Scgdattach	pckbd at pcppi
1981.32Scgdfile	arch/alpha/isa/pckbd.c		pckbd
1991.32Scgd
2001.63Sthorpejdevice	pms
2011.32Scgdattach	pms at pcppi
2021.32Scgdfile	arch/alpha/isa/pms.c		pms
2031.8Scgd
2041.31Scgdattach	vga at isa with vga_isa
2051.31Scgdfile	arch/alpha/isa/vga_isa.c	vga_isa		needs-flag
2061.8Scgd
2071.35Scgd# Floppy disk controller
2081.63Sthorpejdevice	fdc { drive = -1 }
2091.35Scgdattach	fdc at isa
2101.63Sthorpejdevice	fd: disk, isadma
2111.35Scgdattach	fd at fdc
2121.36Scgdfile	arch/alpha/isa/fd.c		fdc needs-flag
2131.35Scgdmajor	{ fd = 0 }
2141.35Scgd
2151.35Scgd# PC speaker
2161.8Scgd#
2171.8Scgd# EISA Bus support
2181.8Scgd#
2191.8Scgd
2201.26Scgdinclude "dev/eisa/files.eisa"
2211.8Scgd
2221.8Scgd
2231.8Scgd#
2241.8Scgd# PCI Bus support
2251.8Scgd#
2261.8Scgd
2271.26Scgd# include "dev/pci/files.pci" XXX SEE ABOVE
2281.8Scgd
2291.50Scgddefine	alpha_pci_sgmap_pte32
2301.50Scgdfile	arch/alpha/pci/pci_sgmap_pte32.c	alpha_pci_sgmap_pte32
2311.50Scgd
2321.50Scgddefine	alpha_pci_sgmap_pte64
2331.50Scgdfile	arch/alpha/pci/pci_sgmap_pte64.c	alpha_pci_sgmap_pte64
2341.50Scgd
2351.63Sthorpejdevice	apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2361.10Sthorpejattach	apecs at mainbus
2371.5Scgdfile	arch/alpha/pci/apecs.c		apecs
2381.32Scgdfile	arch/alpha/pci/apecs_bus_io.c	apecs
2391.32Scgdfile	arch/alpha/pci/apecs_bus_mem.c	apecs
2401.47Sthorpejfile	arch/alpha/pci/apecs_dma.c	apecs
2411.5Scgdfile	arch/alpha/pci/apecs_pci.c	apecs
2421.4Scgd
2431.63Sthorpejdevice	cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2441.10Sthorpejattach	cia at mainbus
2451.8Scgdfile	arch/alpha/pci/cia.c		cia
2461.47Sthorpejfile	arch/alpha/pci/cia_dma.c	cia
2471.8Scgdfile	arch/alpha/pci/cia_pci.c	cia
2481.51Scgdfile	arch/alpha/pci/cia_swiz_bus_io.c cia
2491.51Scgdfile	arch/alpha/pci/cia_swiz_bus_mem.c cia
2501.8Scgd
2511.64Srossdevice	a12c { }: pcibus
2521.62Srossattach	a12c at mainbus
2531.62Srossfile	arch/alpha/pci/a12c.c		a12c
2541.62Srossfile	arch/alpha/pci/a12c_bus_mem.c	a12c
2551.62Srossfile	arch/alpha/pci/a12c_dma.c	a12c
2561.62Srossfile	arch/alpha/pci/a12c_pci.c	a12c
2571.62Sross
2581.63Sthorpejdevice	dwlpx: pcibus, alpha_sgmap, alpha_pci_sgmap_pte32
2591.44Scgdattach	dwlpx at kft
2601.44Scgdfile	arch/alpha/pci/dwlpx.c		dwlpx
2611.47Sthorpejfile	arch/alpha/pci/dwlpx_dma.c	dwlpx
2621.44Scgdfile	arch/alpha/pci/dwlpx_pci.c	dwlpx
2631.50Scgdfile	arch/alpha/pci/pci_kn8ae.c	dwlpx	# XXX doesn't really fit here
2641.44Scgdfile	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
2651.44Scgdfile	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
2661.44Scgd
2671.63Sthorpejdevice	lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2681.50Scgdattach	lca at mainbus
2691.50Scgdfile	arch/alpha/pci/lca.c		lca
2701.50Scgdfile	arch/alpha/pci/lca_bus_io.c	lca
2711.50Scgdfile	arch/alpha/pci/lca_bus_mem.c	lca
2721.50Scgdfile	arch/alpha/pci/lca_dma.c	lca
2731.50Scgdfile	arch/alpha/pci/lca_pci.c	lca
2741.44Scgd
2751.44Scgd# CPU support files
2761.5Scgdfile	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
2771.62Srossfile	arch/alpha/pci/pci_a12.c	avalon_a12
2781.28Scgdfile	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
2791.28Scgdfile	arch/alpha/pci/pci_eb164.c	dec_eb164
2801.32Scgdfile	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
2811.57Sthorpej#file	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
2821.41Scgdfile	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
2831.8Scgdfile	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
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.63Sthorpejdevice	tga: raster, wsconsdev
3001.10Sthorpejattach	tga at pci
3011.6Scgdfile	arch/alpha/pci/tga.c		tga		needs-flag
3021.11Scgdfile	arch/alpha/pci/tga_conf.c	tga
3031.11Scgdfile	arch/alpha/pci/tga_bt463.c	tga
3041.11Scgdfile	arch/alpha/pci/tga_bt485.c	tga
3051.11Scgd
3061.31Scgdattach	vga at pci with vga_pci
3071.31Scgdfile	arch/alpha/pci/vga_pci.c	vga_pci		needs-flag
3081.6Scgd
3091.62Sross#
3101.62Sross# A12 if_de hack, this is temporary!
3111.62Sross#
3121.63Sthorpejdevice	ade: ether, ifnet, arp
3131.62Srossattach	ade at pci
3141.62Srossfile	arch/alpha/pci/if_ade.c		ade
3151.64Sross
3161.64Sross#
3171.64Sross# alpha/a12 platform-specific drivers
3181.64Sross#
3191.64Sross
3201.64Sross# Switch
3211.64Sross
3221.64Srossdevice	xb
3231.64Srossattach	xb at a12c
3241.64Srossfile	arch/alpha/a12/if_xb.c	xb
3251.64Sross
3261.64Sross# Console
3271.64Sross
3281.64Srossdevice	a12dc
3291.64Srossattach	a12dc at a12c
3301.64Srossfile	arch/alpha/a12/a12dc.c	a12dc		needs-flag
3311.8Scgd
3321.5Scgd#
3331.8Scgd# Devices that can live on multiple busses
3341.5Scgd#
3351.5Scgd
3361.63Sthorpejdevice	mcclock
3371.12Scgdattach	mcclock at ioasic with mcclock_ioasic
3381.12Scgdattach	mcclock at isa with mcclock_isa
3391.39Scgdattach	mcclock at gbus with mcclock_tlsb
3401.12Scgdfile	arch/alpha/alpha/mcclock.c	mcclock
3411.12Scgdfile	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
3421.12Scgdfile	arch/alpha/isa/mcclock_isa.c	mcclock_isa
3431.39Scgdfile	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
3441.39Scgd
3451.5Scgd
3461.4Scgd#
3471.4Scgd# Standard files
3481.4Scgd#
3491.1Scgdfile	arch/alpha/alpha/autoconf.c
3501.12Scgdfile	arch/alpha/alpha/clock.c
3511.1Scgdfile	arch/alpha/alpha/conf.c
3521.55Sthorpejfile	arch/alpha/alpha/cpuconf.c
3531.1Scgdfile	arch/alpha/alpha/interrupt.c
3541.1Scgdfile	arch/alpha/alpha/machdep.c
3551.1Scgdfile	arch/alpha/alpha/mainbus.c
3561.1Scgdfile	arch/alpha/alpha/mem.c
3571.24Scgdfile	arch/alpha/alpha/pmap.c			new_pmap
3581.24Scgdfile	arch/alpha/alpha/pmap.old.c		!new_pmap
3591.1Scgdfile	arch/alpha/alpha/process_machdep.c
3601.1Scgdfile	arch/alpha/alpha/prom.c
3611.1Scgdfile	arch/alpha/alpha/support.c
3621.1Scgdfile	arch/alpha/alpha/sys_machdep.c
3631.1Scgdfile	arch/alpha/alpha/trap.c
3641.1Scgdfile	arch/alpha/alpha/vm_machdep.c
3651.1Scgdfile	arch/alpha/alpha/disksubr.c
3661.47Sthorpejfile	arch/alpha/common/bus_dma.c
3671.1Scgdfile	dev/cons.c
3681.4Scgd
3691.44Scgd# Network protocol checksum routines
3701.44Scgdfile	arch/alpha/alpha/in_cksum.c		inet
3711.19Scgdfile	netns/ns_cksum.c			ns
3721.1Scgd
3731.44Scgd# PROM console support (for ports that don't have native console support)
3741.5Scgdfile	arch/alpha/alpha/promcons.c
3751.6Scgd
3761.44Scgd# CPU support
3771.59Sthorpejfile	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50
3781.59Sthorpejfile	arch/alpha/alpha/dec_3000_300.c		dec_3000_300
3791.59Sthorpejfile	arch/alpha/alpha/dec_3000_500.c		dec_3000_500
3801.59Sthorpejfile	arch/alpha/alpha/dec_550.c		dec_550
3811.59Sthorpejfile	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33
3821.59Sthorpejfile	arch/alpha/alpha/dec_eb164.c		dec_eb164
3831.59Sthorpejfile	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus
3841.59Sthorpejfile	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa
3851.59Sthorpejfile	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae
3861.62Srossfile	arch/alpha/alpha/avalon_a12.c		avalon_a12
3871.58Sthorpej
3881.58Sthorpej# Kernel debugger support
3891.58Sthorpejfile	arch/alpha/alpha/db_disasm.c		ddb
3901.58Sthorpejfile	arch/alpha/alpha/db_interface.c		ddb
3911.58Sthorpejfile	arch/alpha/alpha/db_trace.c		ddb
3921.7Sthorpej
3931.7Sthorpej# OSF/1 Binary Compatibility (COMPAT_OSF1)
3941.26Scgdinclude "compat/osf1/files.osf1"
395