files.alpha revision 1.44
11.44Scgd# $NetBSD: files.alpha,v 1.44 1997/04/10 23:09:33 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.42Scgd					dec_eb64plus | dec_kn20aa
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.37Scgdmajor { wd = 4 }
1631.8Scgd
1641.8Scgd#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
1651.8Scgd
1661.8Scgd
1671.4Scgd#
1681.8Scgd# ISA Bus devices
1691.4Scgd#
1701.1Scgd
1711.11Scgd#device	ibus at mainbus { }
1721.11Scgd#device	jcombo at ibus: isabus
1731.11Scgd#device	jeisa at ibus: eisabus
1741.8Scgd
1751.31Scgdfile	arch/alpha/isa/isa_machdep.c	isa
1761.31Scgd
1771.32Scgddevice	pcppi { }
1781.32Scgdattach	pcppi at isa
1791.32Scgdfile	arch/alpha/isa/pcppi.c		pcppi
1801.32Scgd
1811.32Scgddevice	pckbd
1821.32Scgdattach	pckbd at pcppi
1831.32Scgdfile	arch/alpha/isa/pckbd.c		pckbd
1841.32Scgd
1851.32Scgddevice	pms
1861.32Scgdattach	pms at pcppi
1871.32Scgdfile	arch/alpha/isa/pms.c		pms
1881.8Scgd
1891.31Scgdattach	vga at isa with vga_isa
1901.31Scgdfile	arch/alpha/isa/vga_isa.c	vga_isa		needs-flag
1911.8Scgd
1921.35Scgd# Floppy disk controller
1931.35Scgddevice	fdc { drive = -1 }
1941.35Scgdattach	fdc at isa
1951.35Scgddevice	fd: disk, isadma
1961.35Scgdattach	fd at fdc
1971.36Scgdfile	arch/alpha/isa/fd.c		fdc needs-flag
1981.35Scgdmajor	{ fd = 0 }
1991.35Scgd
2001.35Scgd# PC speaker
2011.8Scgd#
2021.8Scgd# EISA Bus support
2031.8Scgd#
2041.8Scgd
2051.26Scgdinclude "dev/eisa/files.eisa"
2061.8Scgd
2071.8Scgd
2081.8Scgd#
2091.8Scgd# PCI Bus support
2101.8Scgd#
2111.8Scgd
2121.26Scgd# include "dev/pci/files.pci" XXX SEE ABOVE
2131.8Scgd
2141.10Sthorpejdevice	apecs: pcibus
2151.10Sthorpejattach	apecs at mainbus
2161.5Scgdfile	arch/alpha/pci/apecs.c		apecs
2171.32Scgdfile	arch/alpha/pci/apecs_bus_io.c	apecs
2181.32Scgdfile	arch/alpha/pci/apecs_bus_mem.c	apecs
2191.5Scgdfile	arch/alpha/pci/apecs_pci.c	apecs
2201.4Scgd
2211.11Scgddevice	lca: pcibus
2221.11Scgdattach	lca at mainbus
2231.11Scgdfile	arch/alpha/pci/lca.c		lca
2241.32Scgdfile	arch/alpha/pci/lca_bus_io.c	lca
2251.32Scgdfile	arch/alpha/pci/lca_bus_mem.c	lca
2261.11Scgdfile	arch/alpha/pci/lca_pci.c	lca
2271.11Scgd
2281.10Sthorpejdevice	cia: pcibus
2291.10Sthorpejattach	cia at mainbus
2301.8Scgdfile	arch/alpha/pci/cia.c		cia
2311.11Scgdfile	arch/alpha/pci/cia_bus_io.c	cia
2321.11Scgdfile	arch/alpha/pci/cia_bus_mem.c	cia
2331.8Scgdfile	arch/alpha/pci/cia_pci.c	cia
2341.8Scgd
2351.44Scgddevice	dwlpx:	pcibus
2361.44Scgdattach	dwlpx at kft
2371.44Scgdfile	arch/alpha/pci/dwlpx.c		dwlpx
2381.44Scgdfile	arch/alpha/pci/dwlpx_pci.c	dwlpx
2391.44Scgdfile	arch/alpha/pci/pci_kn8ae.c	dwlpx
2401.44Scgdfile	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
2411.44Scgdfile	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
2421.44Scgd
2431.44Scgd# common support files
2441.44Scgdfile	arch/alpha/pci/pci_swiz_io_common.c	apecs | cia | dwlpx | lca
2451.44Scgdfile	arch/alpha/pci/pci_swiz_mem_common.c	apecs | cia | dwlpx | lca
2461.44Scgd
2471.44Scgd# CPU support files
2481.5Scgdfile	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
2491.28Scgdfile	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
2501.28Scgdfile	arch/alpha/pci/pci_eb164.c	dec_eb164
2511.32Scgdfile	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
2521.41Scgdfile	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
2531.41Scgdfile	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
2541.8Scgdfile	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
2551.8Scgd
2561.4Scgd
2571.4Scgd#
2581.8Scgd# PCI Bus devices
2591.4Scgd#
2601.1Scgd
2611.4Scgdfile	arch/alpha/pci/pci_machdep.c	pci
2621.1Scgd
2631.30Scgddevice	sio: isabus, alpha_shared_intr
2641.10Sthorpejattach	sio at pci
2651.11Scgddevice	pceb: isabus, eisabus
2661.10Sthorpejattach	pceb at pci
2671.11Scgdfile	arch/alpha/pci/sio.c		sio | pceb	needs-flag
2681.11Scgdfile	arch/alpha/pci/sio_pic.c	sio | pceb
2691.5Scgd
2701.11Scgddevice	tga: raster, wsconsdev
2711.10Sthorpejattach	tga at pci
2721.6Scgdfile	arch/alpha/pci/tga.c		tga		needs-flag
2731.11Scgdfile	arch/alpha/pci/tga_conf.c	tga
2741.11Scgdfile	arch/alpha/pci/tga_bt463.c	tga
2751.11Scgdfile	arch/alpha/pci/tga_bt485.c	tga
2761.11Scgd
2771.31Scgdattach	vga at pci with vga_pci
2781.31Scgdfile	arch/alpha/pci/vga_pci.c	vga_pci		needs-flag
2791.6Scgd
2801.8Scgd
2811.5Scgd#
2821.8Scgd# Devices that can live on multiple busses
2831.5Scgd#
2841.5Scgd
2851.12Scgddevice	mcclock
2861.12Scgdattach	mcclock at ioasic with mcclock_ioasic
2871.12Scgdattach	mcclock at isa with mcclock_isa
2881.39Scgdattach	mcclock at gbus with mcclock_tlsb
2891.12Scgdfile	arch/alpha/alpha/mcclock.c	mcclock
2901.12Scgdfile	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
2911.12Scgdfile	arch/alpha/isa/mcclock_isa.c	mcclock_isa
2921.39Scgdfile	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
2931.39Scgd
2941.5Scgd
2951.4Scgd#
2961.4Scgd# Standard files
2971.4Scgd#
2981.1Scgdfile	arch/alpha/alpha/autoconf.c
2991.12Scgdfile	arch/alpha/alpha/clock.c
3001.1Scgdfile	arch/alpha/alpha/conf.c
3011.1Scgdfile	arch/alpha/alpha/interrupt.c
3021.1Scgdfile	arch/alpha/alpha/machdep.c
3031.1Scgdfile	arch/alpha/alpha/mainbus.c
3041.1Scgdfile	arch/alpha/alpha/mem.c
3051.24Scgdfile	arch/alpha/alpha/pmap.c			new_pmap
3061.24Scgdfile	arch/alpha/alpha/pmap.old.c		!new_pmap
3071.1Scgdfile	arch/alpha/alpha/process_machdep.c
3081.1Scgdfile	arch/alpha/alpha/prom.c
3091.1Scgdfile	arch/alpha/alpha/support.c
3101.1Scgdfile	arch/alpha/alpha/sys_machdep.c
3111.1Scgdfile	arch/alpha/alpha/trap.c
3121.1Scgdfile	arch/alpha/alpha/vm_machdep.c
3131.1Scgdfile	arch/alpha/alpha/disksubr.c
3141.1Scgdfile	dev/cons.c
3151.4Scgd
3161.44Scgd# Network protocol checksum routines
3171.44Scgdfile	arch/alpha/alpha/in_cksum.c		inet
3181.19Scgdfile	netns/ns_cksum.c			ns
3191.1Scgd
3201.44Scgd# PROM console support (for ports that don't have native console support)
3211.5Scgdfile	arch/alpha/alpha/promcons.c
3221.6Scgd
3231.44Scgd# CPU support
3241.29Scgdfile	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50	needs-flag
3251.29Scgdfile	arch/alpha/alpha/dec_3000_300.c		dec_3000_300	needs-flag
3261.29Scgdfile	arch/alpha/alpha/dec_3000_500.c		dec_3000_500	needs-flag
3271.29Scgdfile	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33	needs-flag
3281.29Scgdfile	arch/alpha/alpha/dec_eb164.c		dec_eb164	needs-flag
3291.41Scgdfile	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus	needs-flag
3301.29Scgdfile	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa	needs-flag
3311.39Scgdfile	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae	needs-flag
3321.7Sthorpej
3331.7Sthorpej# OSF/1 Binary Compatibility (COMPAT_OSF1)
3341.26Scgdinclude "compat/osf1/files.osf1"
335