files.alpha revision 1.46
11.46Scgd# $NetBSD: files.alpha,v 1.46 1997/04/21 14:47:37 cgd 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.4Scgd
331.31Scgddevice	vga: wsconsdev
341.31Scgdfile	arch/alpha/common/vga.c		vga
351.31Scgd
361.4Scgd#
371.4Scgd# Bus-independent devices
381.4Scgd#
391.4Scgd
401.32Scgddevice	mainbus { }			# no locators (yet?)
411.11Scgdattach	mainbus at root
421.1Scgd
431.32Scgddevice	cpu { }				# not really optional
441.11Scgdattach	cpu at mainbus
451.1Scgdfile	arch/alpha/alpha/cpu.c		cpu
461.1Scgd
471.8Scgd
481.4Scgd#
491.4Scgd# Machine-independent SCSI drivers
501.4Scgd#
511.4Scgd
521.26Scgdinclude "scsi/files.scsi"
531.4Scgdmajor { st = 2 }
541.4Scgdmajor { cd = 3 }
551.4Scgdmajor { sd = 8 }
561.4Scgd
571.33Spk# Memory Disk
581.33Spkfile	arch/alpha/alpha/md_root.c	memory_disk_hooks
591.33Spkmajor { md = 6 }
601.8Scgd
611.4Scgd#
621.6Scgd# raster console routines
631.6Scgd#
641.8Scgd
651.11Scgddefine	raster
661.26Scgdinclude "dev/rcons/files.rcons"
671.11Scgdfile	arch/alpha/wscons/wscons_rinit.c	raster
681.11Scgdfile	arch/alpha/wscons/wscons_rops.c		raster
691.6Scgd
701.8Scgd
711.6Scgd#
721.6Scgd# "Workstation Console" glue; attaches frame buffer to emulator & kbd.
731.6Scgd#
741.11Scgddevice	wscons
751.11Scgdattach	wscons at wsconsdev
761.11Scgdfile	arch/alpha/wscons/wscons.c	wscons		needs-flag
771.11Scgdfile	arch/alpha/wscons/wscons_emul.c	wscons
781.11Scgd
791.11Scgdfile	arch/alpha/wscons/event.c	wscons
801.11Scgdfile	arch/alpha/wscons/kbd.c		wscons
811.11Scgdfile	arch/alpha/wscons/ms.c		wscons
821.6Scgd
831.39Scgd
841.39Scgd#
851.39Scgd# TurboLaser Bus Support
861.39Scgd#
871.39Scgd
881.39Scgddevice	tlsb { node = -1 ,  offset = -1  }
891.39Scgdattach	tlsb at mainbus
901.39Scgdfile	arch/alpha/tlsb/tlsb.c		tlsb & dec_kn8ae
911.39Scgd
921.39Scgddevice	kft { }
931.39Scgdattach	kft at tlsb
941.39Scgdfile	arch/alpha/tlsb/kftxx.c		kft
951.39Scgd
961.39Scgddevice	tlsbmem
971.39Scgdattach	tlsbmem at tlsb
981.39Scgdfile	arch/alpha/tlsb/tlsbmem.c	tlsbmem
991.39Scgd
1001.39Scgddevice	gbus { offset = -1 }
1011.39Scgdattach	gbus at tlsb
1021.39Scgdfile	arch/alpha/tlsb/gbus.c		gbus
1031.39Scgd
1041.39Scgd
1051.6Scgd#
1061.4Scgd# TurboChannel Devices
1071.4Scgd#
1081.4Scgd
1091.26Scgdinclude "dev/tc/files.tc"
1101.9Scgd
1111.11Scgddevice	tcasic: tcbus
1121.11Scgdattach	tcasic at mainbus
1131.9Scgdfile	arch/alpha/tc/tcasic.c		tcasic
1141.18Scgdfile	arch/alpha/tc/tc_bus_mem.c	tcasic
1151.13Scgdfile	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
1161.13Scgdfile	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
1171.1Scgd
1181.4Scgd# the TurboChannel IOCTL ASIC
1191.11Scgddevice	ioasic { offset = -1 }
1201.11Scgdattach	ioasic at tc
1211.13Scgdfile	arch/alpha/tc/ioasic.c		ioasic
1221.1Scgd
1231.16Scgd# Color Frame buffer
1241.16Scgddevice	cfb: raster, wsconsdev
1251.16Scgdattach	cfb at tc
1261.16Scgdfile	arch/alpha/tc/cfb.c		cfb
1271.16Scgd
1281.16Scgd# Smart Frame buffer
1291.15Scgddevice	sfb: raster, wsconsdev
1301.11Scgdattach	sfb at tc
1311.1Scgdfile	arch/alpha/tc/sfb.c		sfb
1321.1Scgd
1331.4Scgd# 8530 UARTs
1341.11Scgddevice	scc
1351.11Scgdattach	scc at ioasic
1361.4Scgdfile	arch/alpha/tc/scc.c		scc		needs-count
1371.1Scgd
1381.4Scgd# the TCDS ASIC
1391.11Scgddevice	tcds { slot = -1 }
1401.11Scgdattach	tcds at tc
1411.4Scgdfile	arch/alpha/tc/tcds.c		tcds		needs-count
1421.4Scgd
1431.4Scgd# 53C[F]90 SCSI
1441.38Sthorpejdevice	asc: scsi, ncr53c9x
1451.38Sthorpejattach	asc at tcds
1461.38Sthorpejfile	arch/alpha/tc/asc.c		asc		needs-count
1471.38Sthorpejfile	arch/alpha/tc/tcds_dma.c	asc
1481.4Scgd
1491.9Scgd# Baseboard Lance ethernet.
1501.14Scgdattach	le at ioasic with le_ioasic
1511.14Scgdattach	le at tc with le_tc
1521.17Sthorpejfile	dev/tc/if_le_dec.c		(le_ioasic | le_tc)
1531.14Scgdfile	dev/tc/if_le_ioasic.c		le_ioasic	needs-flag #for le_iomem
1541.14Scgdfile	dev/tc/if_le_tc.c		le_tc
1551.8Scgd
1561.8Scgd#
1571.8Scgd# ISA Bus support
1581.8Scgd#
1591.8Scgd
1601.26Scgdinclude "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
1611.26Scgdinclude "dev/isa/files.isa"
1621.46Scgd
1631.46Scgd# Hacked version of ISA "wd" (ESDI/IDE/etc.) controller driver
1641.46Scgddevice	awdc {drive = -1}
1651.46Scgdattach	awdc at isa
1661.46Scgddevice	awd: disk
1671.46Scgdattach	awd at awdc
1681.46Scgdfile	arch/alpha/isa/awd.c		awdc needs-flag
1691.46Scgd
1701.46Scgdmajor { awd = 4 }
1711.8Scgd
1721.8Scgd#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
1731.8Scgd
1741.8Scgd
1751.4Scgd#
1761.8Scgd# ISA Bus devices
1771.4Scgd#
1781.1Scgd
1791.11Scgd#device	ibus at mainbus { }
1801.11Scgd#device	jcombo at ibus: isabus
1811.11Scgd#device	jeisa at ibus: eisabus
1821.8Scgd
1831.31Scgdfile	arch/alpha/isa/isa_machdep.c	isa
1841.31Scgd
1851.32Scgddevice	pcppi { }
1861.32Scgdattach	pcppi at isa
1871.32Scgdfile	arch/alpha/isa/pcppi.c		pcppi
1881.32Scgd
1891.32Scgddevice	pckbd
1901.32Scgdattach	pckbd at pcppi
1911.32Scgdfile	arch/alpha/isa/pckbd.c		pckbd
1921.32Scgd
1931.32Scgddevice	pms
1941.32Scgdattach	pms at pcppi
1951.32Scgdfile	arch/alpha/isa/pms.c		pms
1961.8Scgd
1971.31Scgdattach	vga at isa with vga_isa
1981.31Scgdfile	arch/alpha/isa/vga_isa.c	vga_isa		needs-flag
1991.8Scgd
2001.35Scgd# Floppy disk controller
2011.35Scgddevice	fdc { drive = -1 }
2021.35Scgdattach	fdc at isa
2031.35Scgddevice	fd: disk, isadma
2041.35Scgdattach	fd at fdc
2051.36Scgdfile	arch/alpha/isa/fd.c		fdc needs-flag
2061.35Scgdmajor	{ fd = 0 }
2071.35Scgd
2081.35Scgd# PC speaker
2091.8Scgd#
2101.8Scgd# EISA Bus support
2111.8Scgd#
2121.8Scgd
2131.26Scgdinclude "dev/eisa/files.eisa"
2141.8Scgd
2151.8Scgd
2161.8Scgd#
2171.8Scgd# PCI Bus support
2181.8Scgd#
2191.8Scgd
2201.26Scgd# include "dev/pci/files.pci" XXX SEE ABOVE
2211.8Scgd
2221.10Sthorpejdevice	apecs: pcibus
2231.10Sthorpejattach	apecs at mainbus
2241.5Scgdfile	arch/alpha/pci/apecs.c		apecs
2251.32Scgdfile	arch/alpha/pci/apecs_bus_io.c	apecs
2261.32Scgdfile	arch/alpha/pci/apecs_bus_mem.c	apecs
2271.5Scgdfile	arch/alpha/pci/apecs_pci.c	apecs
2281.4Scgd
2291.11Scgddevice	lca: pcibus
2301.11Scgdattach	lca at mainbus
2311.11Scgdfile	arch/alpha/pci/lca.c		lca
2321.32Scgdfile	arch/alpha/pci/lca_bus_io.c	lca
2331.32Scgdfile	arch/alpha/pci/lca_bus_mem.c	lca
2341.11Scgdfile	arch/alpha/pci/lca_pci.c	lca
2351.11Scgd
2361.10Sthorpejdevice	cia: pcibus
2371.10Sthorpejattach	cia at mainbus
2381.8Scgdfile	arch/alpha/pci/cia.c		cia
2391.11Scgdfile	arch/alpha/pci/cia_bus_io.c	cia
2401.11Scgdfile	arch/alpha/pci/cia_bus_mem.c	cia
2411.8Scgdfile	arch/alpha/pci/cia_pci.c	cia
2421.8Scgd
2431.44Scgddevice	dwlpx:	pcibus
2441.44Scgdattach	dwlpx at kft
2451.44Scgdfile	arch/alpha/pci/dwlpx.c		dwlpx
2461.44Scgdfile	arch/alpha/pci/dwlpx_pci.c	dwlpx
2471.44Scgdfile	arch/alpha/pci/pci_kn8ae.c	dwlpx
2481.44Scgdfile	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
2491.44Scgdfile	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
2501.44Scgd
2511.44Scgd# common support files
2521.44Scgdfile	arch/alpha/pci/pci_swiz_io_common.c	apecs | cia | dwlpx | lca
2531.44Scgdfile	arch/alpha/pci/pci_swiz_mem_common.c	apecs | cia | dwlpx | lca
2541.44Scgd
2551.44Scgd# CPU support files
2561.5Scgdfile	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
2571.28Scgdfile	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
2581.28Scgdfile	arch/alpha/pci/pci_eb164.c	dec_eb164
2591.32Scgdfile	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
2601.41Scgdfile	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
2611.41Scgdfile	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
2621.8Scgdfile	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
2631.8Scgd
2641.4Scgd
2651.4Scgd#
2661.8Scgd# PCI Bus devices
2671.4Scgd#
2681.1Scgd
2691.4Scgdfile	arch/alpha/pci/pci_machdep.c	pci
2701.1Scgd
2711.30Scgddevice	sio: isabus, alpha_shared_intr
2721.10Sthorpejattach	sio at pci
2731.11Scgddevice	pceb: isabus, eisabus
2741.10Sthorpejattach	pceb at pci
2751.11Scgdfile	arch/alpha/pci/sio.c		sio | pceb	needs-flag
2761.11Scgdfile	arch/alpha/pci/sio_pic.c	sio | pceb
2771.5Scgd
2781.11Scgddevice	tga: raster, wsconsdev
2791.10Sthorpejattach	tga at pci
2801.6Scgdfile	arch/alpha/pci/tga.c		tga		needs-flag
2811.11Scgdfile	arch/alpha/pci/tga_conf.c	tga
2821.11Scgdfile	arch/alpha/pci/tga_bt463.c	tga
2831.11Scgdfile	arch/alpha/pci/tga_bt485.c	tga
2841.11Scgd
2851.31Scgdattach	vga at pci with vga_pci
2861.31Scgdfile	arch/alpha/pci/vga_pci.c	vga_pci		needs-flag
2871.6Scgd
2881.8Scgd
2891.5Scgd#
2901.8Scgd# Devices that can live on multiple busses
2911.5Scgd#
2921.5Scgd
2931.12Scgddevice	mcclock
2941.12Scgdattach	mcclock at ioasic with mcclock_ioasic
2951.12Scgdattach	mcclock at isa with mcclock_isa
2961.39Scgdattach	mcclock at gbus with mcclock_tlsb
2971.12Scgdfile	arch/alpha/alpha/mcclock.c	mcclock
2981.12Scgdfile	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
2991.12Scgdfile	arch/alpha/isa/mcclock_isa.c	mcclock_isa
3001.39Scgdfile	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
3011.39Scgd
3021.5Scgd
3031.4Scgd#
3041.4Scgd# Standard files
3051.4Scgd#
3061.1Scgdfile	arch/alpha/alpha/autoconf.c
3071.12Scgdfile	arch/alpha/alpha/clock.c
3081.1Scgdfile	arch/alpha/alpha/conf.c
3091.1Scgdfile	arch/alpha/alpha/interrupt.c
3101.1Scgdfile	arch/alpha/alpha/machdep.c
3111.1Scgdfile	arch/alpha/alpha/mainbus.c
3121.1Scgdfile	arch/alpha/alpha/mem.c
3131.24Scgdfile	arch/alpha/alpha/pmap.c			new_pmap
3141.24Scgdfile	arch/alpha/alpha/pmap.old.c		!new_pmap
3151.1Scgdfile	arch/alpha/alpha/process_machdep.c
3161.1Scgdfile	arch/alpha/alpha/prom.c
3171.1Scgdfile	arch/alpha/alpha/support.c
3181.1Scgdfile	arch/alpha/alpha/sys_machdep.c
3191.1Scgdfile	arch/alpha/alpha/trap.c
3201.1Scgdfile	arch/alpha/alpha/vm_machdep.c
3211.1Scgdfile	arch/alpha/alpha/disksubr.c
3221.1Scgdfile	dev/cons.c
3231.4Scgd
3241.44Scgd# Network protocol checksum routines
3251.44Scgdfile	arch/alpha/alpha/in_cksum.c		inet
3261.19Scgdfile	netns/ns_cksum.c			ns
3271.1Scgd
3281.44Scgd# PROM console support (for ports that don't have native console support)
3291.5Scgdfile	arch/alpha/alpha/promcons.c
3301.6Scgd
3311.44Scgd# CPU support
3321.29Scgdfile	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50	needs-flag
3331.29Scgdfile	arch/alpha/alpha/dec_3000_300.c		dec_3000_300	needs-flag
3341.29Scgdfile	arch/alpha/alpha/dec_3000_500.c		dec_3000_500	needs-flag
3351.29Scgdfile	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33	needs-flag
3361.29Scgdfile	arch/alpha/alpha/dec_eb164.c		dec_eb164	needs-flag
3371.41Scgdfile	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus	needs-flag
3381.29Scgdfile	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa	needs-flag
3391.39Scgdfile	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae	needs-flag
3401.7Sthorpej
3411.7Sthorpej# OSF/1 Binary Compatibility (COMPAT_OSF1)
3421.26Scgdinclude "compat/osf1/files.osf1"
343