files.alpha revision 1.47
11.47Sthorpej# $NetBSD: files.alpha,v 1.47 1997/06/06 23:49:38 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.44Scgddefopt	DEC_AXPPCI_33	# NoName:	AXPpci33, etc.
161.44Scgddefopt	DEC_EB164	# EB164:	AlphaPC 164
171.44Scgddefopt	DEC_EB64PLUS	# EB64+:	AlphaPC 64, etc.
181.44Scgddefopt	DEC_KN20AA	# KN20AA:	AlphaStation 500 and 600
191.44Scgddefopt	DEC_KN8AE	# KN8AE:	AlphaServer 8200 and 8400
201.44Scgd
211.44Scgd# Miscellaneous CPU-specific option headers
221.44Scgddefopt	FIX_UNALIGNED_VAX_FP
231.44Scgd
241.31Scgd# a wscons output device; used later, but needs to be near the top for
251.31Scgd# common file (e.g. vga) definitions.
261.31Scgddefine  wsconsdev {[console = -1]}
271.31Scgd
281.30Scgd# this loses, but there's no way to define attributes which have attributes
291.30Scgddefine	alpha_shared_intr
301.31Scgdfile	arch/alpha/common/shared_intr.c	alpha_shared_intr | dec_eb164 |
311.45Smjacob					dec_eb64plus | dec_kn20aa | dec_kn8ae
321.47Sthorpejdefine	alpha_sgmap
331.47Sthorpejfile	arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500
341.4Scgd
351.31Scgddevice	vga: wsconsdev
361.31Scgdfile	arch/alpha/common/vga.c		vga
371.31Scgd
381.4Scgd#
391.4Scgd# Bus-independent devices
401.4Scgd#
411.4Scgd
421.32Scgddevice	mainbus { }			# no locators (yet?)
431.11Scgdattach	mainbus at root
441.1Scgd
451.32Scgddevice	cpu { }				# not really optional
461.11Scgdattach	cpu at mainbus
471.1Scgdfile	arch/alpha/alpha/cpu.c		cpu
481.1Scgd
491.8Scgd
501.4Scgd#
511.4Scgd# Machine-independent SCSI drivers
521.4Scgd#
531.4Scgd
541.26Scgdinclude "scsi/files.scsi"
551.4Scgdmajor { st = 2 }
561.4Scgdmajor { cd = 3 }
571.4Scgdmajor { sd = 8 }
581.4Scgd
591.33Spk# Memory Disk
601.33Spkfile	arch/alpha/alpha/md_root.c	memory_disk_hooks
611.33Spkmajor { md = 6 }
621.8Scgd
631.4Scgd#
641.6Scgd# raster console routines
651.6Scgd#
661.8Scgd
671.11Scgddefine	raster
681.26Scgdinclude "dev/rcons/files.rcons"
691.11Scgdfile	arch/alpha/wscons/wscons_rinit.c	raster
701.11Scgdfile	arch/alpha/wscons/wscons_rops.c		raster
711.6Scgd
721.8Scgd
731.6Scgd#
741.6Scgd# "Workstation Console" glue; attaches frame buffer to emulator & kbd.
751.6Scgd#
761.11Scgddevice	wscons
771.11Scgdattach	wscons at wsconsdev
781.11Scgdfile	arch/alpha/wscons/wscons.c	wscons		needs-flag
791.11Scgdfile	arch/alpha/wscons/wscons_emul.c	wscons
801.11Scgd
811.11Scgdfile	arch/alpha/wscons/event.c	wscons
821.11Scgdfile	arch/alpha/wscons/kbd.c		wscons
831.11Scgdfile	arch/alpha/wscons/ms.c		wscons
841.6Scgd
851.39Scgd
861.39Scgd#
871.39Scgd# TurboLaser Bus Support
881.39Scgd#
891.39Scgd
901.39Scgddevice	tlsb { node = -1 ,  offset = -1  }
911.39Scgdattach	tlsb at mainbus
921.39Scgdfile	arch/alpha/tlsb/tlsb.c		tlsb & dec_kn8ae
931.39Scgd
941.39Scgddevice	kft { }
951.39Scgdattach	kft at tlsb
961.39Scgdfile	arch/alpha/tlsb/kftxx.c		kft
971.39Scgd
981.39Scgddevice	tlsbmem
991.39Scgdattach	tlsbmem at tlsb
1001.39Scgdfile	arch/alpha/tlsb/tlsbmem.c	tlsbmem
1011.39Scgd
1021.39Scgddevice	gbus { offset = -1 }
1031.39Scgdattach	gbus at tlsb
1041.39Scgdfile	arch/alpha/tlsb/gbus.c		gbus
1051.39Scgd
1061.39Scgd
1071.6Scgd#
1081.4Scgd# TurboChannel Devices
1091.4Scgd#
1101.4Scgd
1111.26Scgdinclude "dev/tc/files.tc"
1121.9Scgd
1131.11Scgddevice	tcasic: tcbus
1141.11Scgdattach	tcasic at mainbus
1151.9Scgdfile	arch/alpha/tc/tcasic.c		tcasic
1161.18Scgdfile	arch/alpha/tc/tc_bus_mem.c	tcasic
1171.47Sthorpejfile	arch/alpha/tc/tc_dma.c		tcasic
1181.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_300.c	tcasic & dec_3000_300
1191.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_500.c	tcasic & dec_3000_500
1201.47Sthorpejfile	arch/alpha/tc/tc_sgmap.c	tcasic & dec_3000_500
1211.13Scgdfile	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
1221.13Scgdfile	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
1231.1Scgd
1241.4Scgd# the TurboChannel IOCTL ASIC
1251.11Scgddevice	ioasic { offset = -1 }
1261.11Scgdattach	ioasic at tc
1271.13Scgdfile	arch/alpha/tc/ioasic.c		ioasic
1281.1Scgd
1291.16Scgd# Color Frame buffer
1301.16Scgddevice	cfb: raster, wsconsdev
1311.16Scgdattach	cfb at tc
1321.16Scgdfile	arch/alpha/tc/cfb.c		cfb
1331.16Scgd
1341.16Scgd# Smart Frame buffer
1351.15Scgddevice	sfb: raster, wsconsdev
1361.11Scgdattach	sfb at tc
1371.1Scgdfile	arch/alpha/tc/sfb.c		sfb
1381.1Scgd
1391.4Scgd# 8530 UARTs
1401.11Scgddevice	scc
1411.11Scgdattach	scc at ioasic
1421.4Scgdfile	arch/alpha/tc/scc.c		scc		needs-count
1431.1Scgd
1441.4Scgd# the TCDS ASIC
1451.11Scgddevice	tcds { slot = -1 }
1461.11Scgdattach	tcds at tc
1471.4Scgdfile	arch/alpha/tc/tcds.c		tcds		needs-count
1481.4Scgd
1491.4Scgd# 53C[F]90 SCSI
1501.38Sthorpejdevice	asc: scsi, ncr53c9x
1511.38Sthorpejattach	asc at tcds
1521.38Sthorpejfile	arch/alpha/tc/asc.c		asc		needs-count
1531.38Sthorpejfile	arch/alpha/tc/tcds_dma.c	asc
1541.4Scgd
1551.9Scgd# Baseboard Lance ethernet.
1561.14Scgdattach	le at ioasic with le_ioasic
1571.14Scgdattach	le at tc with le_tc
1581.17Sthorpejfile	dev/tc/if_le_dec.c		(le_ioasic | le_tc)
1591.14Scgdfile	dev/tc/if_le_ioasic.c		le_ioasic	needs-flag #for le_iomem
1601.14Scgdfile	dev/tc/if_le_tc.c		le_tc
1611.8Scgd
1621.8Scgd#
1631.8Scgd# ISA Bus support
1641.8Scgd#
1651.8Scgd
1661.26Scgdinclude "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
1671.26Scgdinclude "dev/isa/files.isa"
1681.46Scgd
1691.46Scgd# Hacked version of ISA "wd" (ESDI/IDE/etc.) controller driver
1701.46Scgddevice	awdc {drive = -1}
1711.46Scgdattach	awdc at isa
1721.46Scgddevice	awd: disk
1731.46Scgdattach	awd at awdc
1741.46Scgdfile	arch/alpha/isa/awd.c		awdc needs-flag
1751.46Scgd
1761.46Scgdmajor { awd = 4 }
1771.8Scgd
1781.8Scgd#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
1791.8Scgd
1801.8Scgd
1811.4Scgd#
1821.8Scgd# ISA Bus devices
1831.4Scgd#
1841.1Scgd
1851.11Scgd#device	ibus at mainbus { }
1861.11Scgd#device	jcombo at ibus: isabus
1871.11Scgd#device	jeisa at ibus: eisabus
1881.8Scgd
1891.31Scgdfile	arch/alpha/isa/isa_machdep.c	isa
1901.31Scgd
1911.32Scgddevice	pcppi { }
1921.32Scgdattach	pcppi at isa
1931.32Scgdfile	arch/alpha/isa/pcppi.c		pcppi
1941.32Scgd
1951.32Scgddevice	pckbd
1961.32Scgdattach	pckbd at pcppi
1971.32Scgdfile	arch/alpha/isa/pckbd.c		pckbd
1981.32Scgd
1991.32Scgddevice	pms
2001.32Scgdattach	pms at pcppi
2011.32Scgdfile	arch/alpha/isa/pms.c		pms
2021.8Scgd
2031.31Scgdattach	vga at isa with vga_isa
2041.31Scgdfile	arch/alpha/isa/vga_isa.c	vga_isa		needs-flag
2051.8Scgd
2061.35Scgd# Floppy disk controller
2071.35Scgddevice	fdc { drive = -1 }
2081.35Scgdattach	fdc at isa
2091.35Scgddevice	fd: disk, isadma
2101.35Scgdattach	fd at fdc
2111.36Scgdfile	arch/alpha/isa/fd.c		fdc needs-flag
2121.35Scgdmajor	{ fd = 0 }
2131.35Scgd
2141.35Scgd# PC speaker
2151.8Scgd#
2161.8Scgd# EISA Bus support
2171.8Scgd#
2181.8Scgd
2191.26Scgdinclude "dev/eisa/files.eisa"
2201.8Scgd
2211.8Scgd
2221.8Scgd#
2231.8Scgd# PCI Bus support
2241.8Scgd#
2251.8Scgd
2261.26Scgd# include "dev/pci/files.pci" XXX SEE ABOVE
2271.8Scgd
2281.47Sthorpejdevice	apecs: pcibus, alpha_sgmap
2291.10Sthorpejattach	apecs at mainbus
2301.5Scgdfile	arch/alpha/pci/apecs.c		apecs
2311.32Scgdfile	arch/alpha/pci/apecs_bus_io.c	apecs
2321.32Scgdfile	arch/alpha/pci/apecs_bus_mem.c	apecs
2331.47Sthorpejfile	arch/alpha/pci/apecs_dma.c	apecs
2341.5Scgdfile	arch/alpha/pci/apecs_pci.c	apecs
2351.4Scgd
2361.47Sthorpejdevice	lca: pcibus, alpha_sgmap
2371.11Scgdattach	lca at mainbus
2381.11Scgdfile	arch/alpha/pci/lca.c		lca
2391.32Scgdfile	arch/alpha/pci/lca_bus_io.c	lca
2401.32Scgdfile	arch/alpha/pci/lca_bus_mem.c	lca
2411.47Sthorpejfile	arch/alpha/pci/lca_dma.c	lca
2421.11Scgdfile	arch/alpha/pci/lca_pci.c	lca
2431.11Scgd
2441.47Sthorpejdevice	cia: pcibus, alpha_sgmap
2451.10Sthorpejattach	cia at mainbus
2461.8Scgdfile	arch/alpha/pci/cia.c		cia
2471.11Scgdfile	arch/alpha/pci/cia_bus_io.c	cia
2481.11Scgdfile	arch/alpha/pci/cia_bus_mem.c	cia
2491.47Sthorpejfile	arch/alpha/pci/cia_dma.c	cia
2501.8Scgdfile	arch/alpha/pci/cia_pci.c	cia
2511.8Scgd
2521.47Sthorpejdevice	dwlpx:	pcibus, alpha_sgmap
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.44Scgdfile	arch/alpha/pci/pci_kn8ae.c	dwlpx
2581.44Scgdfile	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
2591.44Scgdfile	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
2601.44Scgd
2611.44Scgd# common support files
2621.47Sthorpejfile	arch/alpha/pci/pci_sgmap_pte32.c	dwlpx
2631.47Sthorpejfile	arch/alpha/pci/pci_sgmap_pte64.c	apecs | cia | lca
2641.44Scgdfile	arch/alpha/pci/pci_swiz_io_common.c	apecs | cia | dwlpx | lca
2651.44Scgdfile	arch/alpha/pci/pci_swiz_mem_common.c	apecs | cia | dwlpx | lca
2661.44Scgd
2671.44Scgd# CPU support files
2681.5Scgdfile	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
2691.28Scgdfile	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
2701.28Scgdfile	arch/alpha/pci/pci_eb164.c	dec_eb164
2711.32Scgdfile	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
2721.41Scgdfile	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
2731.41Scgdfile	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
2741.8Scgdfile	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
2751.8Scgd
2761.4Scgd
2771.4Scgd#
2781.8Scgd# PCI Bus devices
2791.4Scgd#
2801.1Scgd
2811.4Scgdfile	arch/alpha/pci/pci_machdep.c	pci
2821.1Scgd
2831.30Scgddevice	sio: isabus, alpha_shared_intr
2841.10Sthorpejattach	sio at pci
2851.11Scgddevice	pceb: isabus, eisabus
2861.10Sthorpejattach	pceb at pci
2871.11Scgdfile	arch/alpha/pci/sio.c		sio | pceb	needs-flag
2881.11Scgdfile	arch/alpha/pci/sio_pic.c	sio | pceb
2891.5Scgd
2901.11Scgddevice	tga: raster, wsconsdev
2911.10Sthorpejattach	tga at pci
2921.6Scgdfile	arch/alpha/pci/tga.c		tga		needs-flag
2931.11Scgdfile	arch/alpha/pci/tga_conf.c	tga
2941.11Scgdfile	arch/alpha/pci/tga_bt463.c	tga
2951.11Scgdfile	arch/alpha/pci/tga_bt485.c	tga
2961.11Scgd
2971.31Scgdattach	vga at pci with vga_pci
2981.31Scgdfile	arch/alpha/pci/vga_pci.c	vga_pci		needs-flag
2991.6Scgd
3001.8Scgd
3011.5Scgd#
3021.8Scgd# Devices that can live on multiple busses
3031.5Scgd#
3041.5Scgd
3051.12Scgddevice	mcclock
3061.12Scgdattach	mcclock at ioasic with mcclock_ioasic
3071.12Scgdattach	mcclock at isa with mcclock_isa
3081.39Scgdattach	mcclock at gbus with mcclock_tlsb
3091.12Scgdfile	arch/alpha/alpha/mcclock.c	mcclock
3101.12Scgdfile	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
3111.12Scgdfile	arch/alpha/isa/mcclock_isa.c	mcclock_isa
3121.39Scgdfile	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
3131.39Scgd
3141.5Scgd
3151.4Scgd#
3161.4Scgd# Standard files
3171.4Scgd#
3181.1Scgdfile	arch/alpha/alpha/autoconf.c
3191.12Scgdfile	arch/alpha/alpha/clock.c
3201.1Scgdfile	arch/alpha/alpha/conf.c
3211.1Scgdfile	arch/alpha/alpha/interrupt.c
3221.1Scgdfile	arch/alpha/alpha/machdep.c
3231.1Scgdfile	arch/alpha/alpha/mainbus.c
3241.1Scgdfile	arch/alpha/alpha/mem.c
3251.24Scgdfile	arch/alpha/alpha/pmap.c			new_pmap
3261.24Scgdfile	arch/alpha/alpha/pmap.old.c		!new_pmap
3271.1Scgdfile	arch/alpha/alpha/process_machdep.c
3281.1Scgdfile	arch/alpha/alpha/prom.c
3291.1Scgdfile	arch/alpha/alpha/support.c
3301.1Scgdfile	arch/alpha/alpha/sys_machdep.c
3311.1Scgdfile	arch/alpha/alpha/trap.c
3321.1Scgdfile	arch/alpha/alpha/vm_machdep.c
3331.1Scgdfile	arch/alpha/alpha/disksubr.c
3341.47Sthorpejfile	arch/alpha/common/bus_dma.c
3351.1Scgdfile	dev/cons.c
3361.4Scgd
3371.44Scgd# Network protocol checksum routines
3381.44Scgdfile	arch/alpha/alpha/in_cksum.c		inet
3391.19Scgdfile	netns/ns_cksum.c			ns
3401.1Scgd
3411.44Scgd# PROM console support (for ports that don't have native console support)
3421.5Scgdfile	arch/alpha/alpha/promcons.c
3431.6Scgd
3441.44Scgd# CPU support
3451.29Scgdfile	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50	needs-flag
3461.29Scgdfile	arch/alpha/alpha/dec_3000_300.c		dec_3000_300	needs-flag
3471.29Scgdfile	arch/alpha/alpha/dec_3000_500.c		dec_3000_500	needs-flag
3481.29Scgdfile	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33	needs-flag
3491.29Scgdfile	arch/alpha/alpha/dec_eb164.c		dec_eb164	needs-flag
3501.41Scgdfile	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus	needs-flag
3511.29Scgdfile	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa	needs-flag
3521.39Scgdfile	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae	needs-flag
3531.7Sthorpej
3541.7Sthorpej# OSF/1 Binary Compatibility (COMPAT_OSF1)
3551.26Scgdinclude "compat/osf1/files.osf1"
356