files.alpha revision 1.59
11.59Sthorpej# $NetBSD: files.alpha,v 1.59 1997/11/06 00:41:58 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.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.44Scgd
221.44Scgd# Miscellaneous CPU-specific option headers
231.44Scgddefopt	FIX_UNALIGNED_VAX_FP
241.44Scgd
251.31Scgd# a wscons output device; used later, but needs to be near the top for
261.31Scgd# common file (e.g. vga) definitions.
271.50Scgddefine	wsconsdev {[console = -1]}
281.31Scgd
291.30Scgd# this loses, but there's no way to define attributes which have attributes
301.30Scgddefine	alpha_shared_intr
311.31Scgdfile	arch/alpha/common/shared_intr.c	alpha_shared_intr | dec_eb164 |
321.45Smjacob					dec_eb64plus | dec_kn20aa | dec_kn8ae
331.47Sthorpejdefine	alpha_sgmap
341.47Sthorpejfile	arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500
351.4Scgd
361.31Scgddevice	vga: wsconsdev
371.31Scgdfile	arch/alpha/common/vga.c		vga
381.31Scgd
391.4Scgd#
401.4Scgd# Bus-independent devices
411.4Scgd#
421.4Scgd
431.32Scgddevice	mainbus { }			# no locators (yet?)
441.11Scgdattach	mainbus at root
451.1Scgd
461.32Scgddevice	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.33Spk# Memory Disk
611.33Spkfile	arch/alpha/alpha/md_root.c	memory_disk_hooks
621.33Spkmajor { md = 6 }
631.8Scgd
641.4Scgd#
651.6Scgd# raster console routines
661.6Scgd#
671.8Scgd
681.11Scgddefine	raster
691.26Scgdinclude "dev/rcons/files.rcons"
701.11Scgdfile	arch/alpha/wscons/wscons_rinit.c	raster
711.11Scgdfile	arch/alpha/wscons/wscons_rops.c		raster
721.6Scgd
731.8Scgd
741.6Scgd#
751.6Scgd# "Workstation Console" glue; attaches frame buffer to emulator & kbd.
761.6Scgd#
771.11Scgddevice	wscons
781.11Scgdattach	wscons at wsconsdev
791.11Scgdfile	arch/alpha/wscons/wscons.c	wscons		needs-flag
801.11Scgdfile	arch/alpha/wscons/wscons_emul.c	wscons
811.11Scgd
821.11Scgdfile	arch/alpha/wscons/event.c	wscons
831.11Scgdfile	arch/alpha/wscons/kbd.c		wscons
841.11Scgdfile	arch/alpha/wscons/ms.c		wscons
851.6Scgd
861.39Scgd
871.39Scgd#
881.39Scgd# TurboLaser Bus Support
891.39Scgd#
901.39Scgd
911.50Scgddevice	tlsb { node = -1, offset = -1 }
921.39Scgdattach	tlsb at mainbus
931.39Scgdfile	arch/alpha/tlsb/tlsb.c		tlsb & dec_kn8ae
941.39Scgd
951.39Scgddevice	kft { }
961.39Scgdattach	kft at tlsb
971.39Scgdfile	arch/alpha/tlsb/kftxx.c		kft
981.39Scgd
991.39Scgddevice	tlsbmem
1001.39Scgdattach	tlsbmem at tlsb
1011.39Scgdfile	arch/alpha/tlsb/tlsbmem.c	tlsbmem
1021.39Scgd
1031.39Scgddevice	gbus { offset = -1 }
1041.39Scgdattach	gbus at tlsb
1051.39Scgdfile	arch/alpha/tlsb/gbus.c		gbus
1061.39Scgd
1071.39Scgd
1081.6Scgd#
1091.48Sjonathan# Bus-independent support for DEC devices
1101.48Sjonathan#
1111.48Sjonathaninclude "dev/dec/files.dec"
1121.48Sjonathan
1131.48Sjonathan#
1141.4Scgd# TurboChannel Devices
1151.4Scgd#
1161.48Sjonathaninclude "dev/tc/files.tc"
1171.4Scgd
1181.48Sjonathan# TC attachment is MD
1191.48Sjonathanattach	tc at tcbus
1201.9Scgd
1211.11Scgddevice	tcasic: tcbus
1221.11Scgdattach	tcasic at mainbus
1231.9Scgdfile	arch/alpha/tc/tcasic.c		tcasic
1241.18Scgdfile	arch/alpha/tc/tc_bus_mem.c	tcasic
1251.47Sthorpejfile	arch/alpha/tc/tc_dma.c		tcasic
1261.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_300.c	tcasic & dec_3000_300
1271.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_500.c	tcasic & dec_3000_500
1281.47Sthorpejfile	arch/alpha/tc/tc_sgmap.c	tcasic & dec_3000_500
1291.13Scgdfile	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
1301.13Scgdfile	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
1311.1Scgd
1321.4Scgd# the TurboChannel IOCTL ASIC
1331.48Sjonathan#  IOASIC device and attachment defined in sys/dev/tc/files.tc
1341.13Scgdfile	arch/alpha/tc/ioasic.c		ioasic
1351.1Scgd
1361.16Scgd# Color Frame buffer
1371.16Scgddevice	cfb: raster, wsconsdev
1381.16Scgdattach	cfb at tc
1391.16Scgdfile	arch/alpha/tc/cfb.c		cfb
1401.16Scgd
1411.16Scgd# Smart Frame buffer
1421.15Scgddevice	sfb: raster, wsconsdev
1431.11Scgdattach	sfb at tc
1441.1Scgdfile	arch/alpha/tc/sfb.c		sfb
1451.1Scgd
1461.4Scgd# 8530 UARTs
1471.11Scgddevice	scc
1481.11Scgdattach	scc at ioasic
1491.4Scgdfile	arch/alpha/tc/scc.c		scc		needs-count
1501.1Scgd
1511.4Scgd# the TCDS ASIC
1521.11Scgddevice	tcds { slot = -1 }
1531.11Scgdattach	tcds at tc
1541.4Scgdfile	arch/alpha/tc/tcds.c		tcds		needs-count
1551.4Scgd
1561.4Scgd# 53C[F]90 SCSI
1571.38Sthorpejdevice	asc: scsi, ncr53c9x
1581.38Sthorpejattach	asc at tcds
1591.38Sthorpejfile	arch/alpha/tc/asc.c		asc		needs-count
1601.38Sthorpejfile	arch/alpha/tc/tcds_dma.c	asc
1611.4Scgd
1621.48Sjonathan# TC and baseboard ioasic Lance ethernet are in files.tc
1631.8Scgd
1641.8Scgd#
1651.8Scgd# ISA Bus support
1661.8Scgd#
1671.8Scgd
1681.26Scgdinclude "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
1691.26Scgdinclude "dev/isa/files.isa"
1701.46Scgd
1711.46Scgd# Hacked version of ISA "wd" (ESDI/IDE/etc.) controller driver
1721.46Scgddevice	awdc {drive = -1}
1731.46Scgdattach	awdc at isa
1741.46Scgddevice	awd: disk
1751.46Scgdattach	awd at awdc
1761.46Scgdfile	arch/alpha/isa/awd.c		awdc needs-flag
1771.46Scgd
1781.46Scgdmajor { awd = 4 }
1791.8Scgd
1801.8Scgd#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
1811.8Scgd
1821.8Scgd
1831.4Scgd#
1841.8Scgd# ISA Bus devices
1851.4Scgd#
1861.1Scgd
1871.11Scgd#device	ibus at mainbus { }
1881.11Scgd#device	jcombo at ibus: isabus
1891.11Scgd#device	jeisa at ibus: eisabus
1901.8Scgd
1911.31Scgdfile	arch/alpha/isa/isa_machdep.c	isa
1921.31Scgd
1931.32Scgddevice	pcppi { }
1941.32Scgdattach	pcppi at isa
1951.32Scgdfile	arch/alpha/isa/pcppi.c		pcppi
1961.32Scgd
1971.32Scgddevice	pckbd
1981.32Scgdattach	pckbd at pcppi
1991.32Scgdfile	arch/alpha/isa/pckbd.c		pckbd
2001.32Scgd
2011.32Scgddevice	pms
2021.32Scgdattach	pms at pcppi
2031.32Scgdfile	arch/alpha/isa/pms.c		pms
2041.8Scgd
2051.31Scgdattach	vga at isa with vga_isa
2061.31Scgdfile	arch/alpha/isa/vga_isa.c	vga_isa		needs-flag
2071.8Scgd
2081.35Scgd# Floppy disk controller
2091.35Scgddevice	fdc { drive = -1 }
2101.35Scgdattach	fdc at isa
2111.35Scgddevice	fd: disk, isadma
2121.35Scgdattach	fd at fdc
2131.36Scgdfile	arch/alpha/isa/fd.c		fdc needs-flag
2141.35Scgdmajor	{ fd = 0 }
2151.35Scgd
2161.35Scgd# PC speaker
2171.8Scgd#
2181.8Scgd# EISA Bus support
2191.8Scgd#
2201.8Scgd
2211.26Scgdinclude "dev/eisa/files.eisa"
2221.8Scgd
2231.8Scgd
2241.8Scgd#
2251.8Scgd# PCI Bus support
2261.8Scgd#
2271.8Scgd
2281.26Scgd# include "dev/pci/files.pci" XXX SEE ABOVE
2291.8Scgd
2301.50Scgddefine	alpha_pci_sgmap_pte32
2311.50Scgdfile	arch/alpha/pci/pci_sgmap_pte32.c	alpha_pci_sgmap_pte32
2321.50Scgd
2331.50Scgddefine	alpha_pci_sgmap_pte64
2341.50Scgdfile	arch/alpha/pci/pci_sgmap_pte64.c	alpha_pci_sgmap_pte64
2351.50Scgd
2361.54Sthorpejdevice	apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2371.10Sthorpejattach	apecs at mainbus
2381.5Scgdfile	arch/alpha/pci/apecs.c		apecs
2391.32Scgdfile	arch/alpha/pci/apecs_bus_io.c	apecs
2401.32Scgdfile	arch/alpha/pci/apecs_bus_mem.c	apecs
2411.47Sthorpejfile	arch/alpha/pci/apecs_dma.c	apecs
2421.5Scgdfile	arch/alpha/pci/apecs_pci.c	apecs
2431.4Scgd
2441.54Sthorpejdevice	cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2451.10Sthorpejattach	cia at mainbus
2461.8Scgdfile	arch/alpha/pci/cia.c		cia
2471.47Sthorpejfile	arch/alpha/pci/cia_dma.c	cia
2481.8Scgdfile	arch/alpha/pci/cia_pci.c	cia
2491.51Scgdfile	arch/alpha/pci/cia_swiz_bus_io.c cia
2501.51Scgdfile	arch/alpha/pci/cia_swiz_bus_mem.c cia
2511.8Scgd
2521.54Sthorpejdevice	dwlpx:	pcibus, alpha_sgmap, alpha_pci_sgmap_pte32
2531.44Scgdattach	dwlpx at kft
2541.44Scgdfile	arch/alpha/pci/dwlpx.c		dwlpx
2551.47Sthorpejfile	arch/alpha/pci/dwlpx_dma.c	dwlpx
2561.44Scgdfile	arch/alpha/pci/dwlpx_pci.c	dwlpx
2571.50Scgdfile	arch/alpha/pci/pci_kn8ae.c	dwlpx	# XXX doesn't really fit here
2581.44Scgdfile	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
2591.44Scgdfile	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
2601.44Scgd
2611.54Sthorpejdevice	lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2621.50Scgdattach	lca at mainbus
2631.50Scgdfile	arch/alpha/pci/lca.c		lca
2641.50Scgdfile	arch/alpha/pci/lca_bus_io.c	lca
2651.50Scgdfile	arch/alpha/pci/lca_bus_mem.c	lca
2661.50Scgdfile	arch/alpha/pci/lca_dma.c	lca
2671.50Scgdfile	arch/alpha/pci/lca_pci.c	lca
2681.44Scgd
2691.44Scgd# CPU support files
2701.5Scgdfile	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
2711.28Scgdfile	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
2721.28Scgdfile	arch/alpha/pci/pci_eb164.c	dec_eb164
2731.32Scgdfile	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
2741.57Sthorpej#file	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
2751.41Scgdfile	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
2761.8Scgdfile	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
2771.8Scgd
2781.4Scgd
2791.4Scgd#
2801.8Scgd# PCI Bus devices
2811.4Scgd#
2821.1Scgd
2831.4Scgdfile	arch/alpha/pci/pci_machdep.c	pci
2841.1Scgd
2851.30Scgddevice	sio: isabus, alpha_shared_intr
2861.10Sthorpejattach	sio at pci
2871.11Scgddevice	pceb: isabus, eisabus
2881.10Sthorpejattach	pceb at pci
2891.11Scgdfile	arch/alpha/pci/sio.c		sio | pceb	needs-flag
2901.11Scgdfile	arch/alpha/pci/sio_pic.c	sio | pceb
2911.5Scgd
2921.11Scgddevice	tga: raster, wsconsdev
2931.10Sthorpejattach	tga at pci
2941.6Scgdfile	arch/alpha/pci/tga.c		tga		needs-flag
2951.11Scgdfile	arch/alpha/pci/tga_conf.c	tga
2961.11Scgdfile	arch/alpha/pci/tga_bt463.c	tga
2971.11Scgdfile	arch/alpha/pci/tga_bt485.c	tga
2981.11Scgd
2991.31Scgdattach	vga at pci with vga_pci
3001.31Scgdfile	arch/alpha/pci/vga_pci.c	vga_pci		needs-flag
3011.6Scgd
3021.8Scgd
3031.5Scgd#
3041.8Scgd# Devices that can live on multiple busses
3051.5Scgd#
3061.5Scgd
3071.12Scgddevice	mcclock
3081.12Scgdattach	mcclock at ioasic with mcclock_ioasic
3091.12Scgdattach	mcclock at isa with mcclock_isa
3101.39Scgdattach	mcclock at gbus with mcclock_tlsb
3111.12Scgdfile	arch/alpha/alpha/mcclock.c	mcclock
3121.12Scgdfile	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
3131.12Scgdfile	arch/alpha/isa/mcclock_isa.c	mcclock_isa
3141.39Scgdfile	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
3151.39Scgd
3161.5Scgd
3171.4Scgd#
3181.4Scgd# Standard files
3191.4Scgd#
3201.1Scgdfile	arch/alpha/alpha/autoconf.c
3211.12Scgdfile	arch/alpha/alpha/clock.c
3221.1Scgdfile	arch/alpha/alpha/conf.c
3231.55Sthorpejfile	arch/alpha/alpha/cpuconf.c
3241.1Scgdfile	arch/alpha/alpha/interrupt.c
3251.1Scgdfile	arch/alpha/alpha/machdep.c
3261.1Scgdfile	arch/alpha/alpha/mainbus.c
3271.1Scgdfile	arch/alpha/alpha/mem.c
3281.24Scgdfile	arch/alpha/alpha/pmap.c			new_pmap
3291.24Scgdfile	arch/alpha/alpha/pmap.old.c		!new_pmap
3301.1Scgdfile	arch/alpha/alpha/process_machdep.c
3311.1Scgdfile	arch/alpha/alpha/prom.c
3321.1Scgdfile	arch/alpha/alpha/support.c
3331.1Scgdfile	arch/alpha/alpha/sys_machdep.c
3341.1Scgdfile	arch/alpha/alpha/trap.c
3351.1Scgdfile	arch/alpha/alpha/vm_machdep.c
3361.1Scgdfile	arch/alpha/alpha/disksubr.c
3371.47Sthorpejfile	arch/alpha/common/bus_dma.c
3381.1Scgdfile	dev/cons.c
3391.4Scgd
3401.44Scgd# Network protocol checksum routines
3411.44Scgdfile	arch/alpha/alpha/in_cksum.c		inet
3421.19Scgdfile	netns/ns_cksum.c			ns
3431.1Scgd
3441.44Scgd# PROM console support (for ports that don't have native console support)
3451.5Scgdfile	arch/alpha/alpha/promcons.c
3461.6Scgd
3471.44Scgd# CPU support
3481.59Sthorpejfile	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50
3491.59Sthorpejfile	arch/alpha/alpha/dec_3000_300.c		dec_3000_300
3501.59Sthorpejfile	arch/alpha/alpha/dec_3000_500.c		dec_3000_500
3511.59Sthorpejfile	arch/alpha/alpha/dec_550.c		dec_550
3521.59Sthorpejfile	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33
3531.59Sthorpejfile	arch/alpha/alpha/dec_eb164.c		dec_eb164
3541.59Sthorpejfile	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus
3551.59Sthorpejfile	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa
3561.59Sthorpejfile	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae
3571.58Sthorpej
3581.58Sthorpej# Kernel debugger support
3591.58Sthorpejfile	arch/alpha/alpha/db_disasm.c		ddb
3601.58Sthorpejfile	arch/alpha/alpha/db_interface.c		ddb
3611.58Sthorpejfile	arch/alpha/alpha/db_trace.c		ddb
3621.7Sthorpej
3631.7Sthorpej# OSF/1 Binary Compatibility (COMPAT_OSF1)
3641.26Scgdinclude "compat/osf1/files.osf1"
365