files.alpha revision 1.61
11.61Sthorpej# $NetBSD: files.alpha,v 1.61 1998/01/15 07:09:24 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.60Sthorpejdevice	vga class dull: wsconsdev
371.31Scgdfile	arch/alpha/common/vga.c		vga
381.31Scgd
391.4Scgd#
401.4Scgd# Bus-independent devices
411.4Scgd#
421.4Scgd
431.60Sthorpejdevice	mainbus class dull { }		# no locators (yet?)
441.11Scgdattach	mainbus at root
451.1Scgd
461.60Sthorpejdevice	cpu class 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.61Sthorpej#
611.61Sthorpej# Machine-independent ATA drivers
621.61Sthorpej#
631.61Sthorpej
641.61Sthorpejinclude "dev/ata/files.ata"
651.61Sthorpejmajor { wd = 4 }
661.61Sthorpej
671.33Spk# Memory Disk
681.33Spkfile	arch/alpha/alpha/md_root.c	memory_disk_hooks
691.33Spkmajor { md = 6 }
701.8Scgd
711.4Scgd#
721.6Scgd# raster console routines
731.6Scgd#
741.8Scgd
751.11Scgddefine	raster
761.26Scgdinclude "dev/rcons/files.rcons"
771.11Scgdfile	arch/alpha/wscons/wscons_rinit.c	raster
781.11Scgdfile	arch/alpha/wscons/wscons_rops.c		raster
791.6Scgd
801.8Scgd
811.6Scgd#
821.6Scgd# "Workstation Console" glue; attaches frame buffer to emulator & kbd.
831.6Scgd#
841.60Sthorpejdevice	wscons class tty
851.11Scgdattach	wscons at wsconsdev
861.11Scgdfile	arch/alpha/wscons/wscons.c	wscons		needs-flag
871.11Scgdfile	arch/alpha/wscons/wscons_emul.c	wscons
881.11Scgd
891.11Scgdfile	arch/alpha/wscons/event.c	wscons
901.11Scgdfile	arch/alpha/wscons/kbd.c		wscons
911.11Scgdfile	arch/alpha/wscons/ms.c		wscons
921.6Scgd
931.39Scgd
941.39Scgd#
951.39Scgd# TurboLaser Bus Support
961.39Scgd#
971.39Scgd
981.60Sthorpejdevice	tlsb class dull { node = -1, offset = -1 }
991.39Scgdattach	tlsb at mainbus
1001.39Scgdfile	arch/alpha/tlsb/tlsb.c		tlsb & dec_kn8ae
1011.39Scgd
1021.60Sthorpejdevice	kft class dull { }
1031.39Scgdattach	kft at tlsb
1041.39Scgdfile	arch/alpha/tlsb/kftxx.c		kft
1051.39Scgd
1061.60Sthorpejdevice	tlsbmem class dull
1071.39Scgdattach	tlsbmem at tlsb
1081.39Scgdfile	arch/alpha/tlsb/tlsbmem.c	tlsbmem
1091.39Scgd
1101.60Sthorpejdevice	gbus class dull { offset = -1 }
1111.39Scgdattach	gbus at tlsb
1121.39Scgdfile	arch/alpha/tlsb/gbus.c		gbus
1131.39Scgd
1141.39Scgd
1151.6Scgd#
1161.48Sjonathan# Bus-independent support for DEC devices
1171.48Sjonathan#
1181.48Sjonathaninclude "dev/dec/files.dec"
1191.48Sjonathan
1201.48Sjonathan#
1211.4Scgd# TurboChannel Devices
1221.4Scgd#
1231.48Sjonathaninclude "dev/tc/files.tc"
1241.4Scgd
1251.48Sjonathan# TC attachment is MD
1261.48Sjonathanattach	tc at tcbus
1271.9Scgd
1281.60Sthorpejdevice	tcasic class dull: tcbus
1291.11Scgdattach	tcasic at mainbus
1301.9Scgdfile	arch/alpha/tc/tcasic.c		tcasic
1311.18Scgdfile	arch/alpha/tc/tc_bus_mem.c	tcasic
1321.47Sthorpejfile	arch/alpha/tc/tc_dma.c		tcasic
1331.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_300.c	tcasic & dec_3000_300
1341.47Sthorpejfile	arch/alpha/tc/tc_dma_3000_500.c	tcasic & dec_3000_500
1351.47Sthorpejfile	arch/alpha/tc/tc_sgmap.c	tcasic & dec_3000_500
1361.13Scgdfile	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
1371.13Scgdfile	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
1381.1Scgd
1391.4Scgd# the TurboChannel IOCTL ASIC
1401.48Sjonathan#  IOASIC device and attachment defined in sys/dev/tc/files.tc
1411.13Scgdfile	arch/alpha/tc/ioasic.c		ioasic
1421.1Scgd
1431.16Scgd# Color Frame buffer
1441.60Sthorpejdevice	cfb class dull: raster, wsconsdev
1451.16Scgdattach	cfb at tc
1461.16Scgdfile	arch/alpha/tc/cfb.c		cfb
1471.16Scgd
1481.16Scgd# Smart Frame buffer
1491.60Sthorpejdevice	sfb class dull: raster, wsconsdev
1501.11Scgdattach	sfb at tc
1511.1Scgdfile	arch/alpha/tc/sfb.c		sfb
1521.1Scgd
1531.4Scgd# 8530 UARTs
1541.60Sthorpejdevice	scc class tty
1551.11Scgdattach	scc at ioasic
1561.4Scgdfile	arch/alpha/tc/scc.c		scc		needs-count
1571.1Scgd
1581.4Scgd# the TCDS ASIC
1591.60Sthorpejdevice	tcds class dull { slot = -1 }
1601.11Scgdattach	tcds at tc
1611.4Scgdfile	arch/alpha/tc/tcds.c		tcds		needs-count
1621.4Scgd
1631.4Scgd# 53C[F]90 SCSI
1641.60Sthorpejdevice	asc class dull: scsi, ncr53c9x
1651.38Sthorpejattach	asc at tcds
1661.38Sthorpejfile	arch/alpha/tc/asc.c		asc		needs-count
1671.38Sthorpejfile	arch/alpha/tc/tcds_dma.c	asc
1681.4Scgd
1691.48Sjonathan# TC and baseboard ioasic Lance ethernet are in files.tc
1701.8Scgd
1711.8Scgd#
1721.8Scgd# ISA Bus support
1731.8Scgd#
1741.8Scgd
1751.26Scgdinclude "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
1761.26Scgdinclude "dev/isa/files.isa"
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.60Sthorpejdevice	pcppi class dull { }
1921.32Scgdattach	pcppi at isa
1931.32Scgdfile	arch/alpha/isa/pcppi.c		pcppi
1941.32Scgd
1951.60Sthorpejdevice	pckbd class dull
1961.32Scgdattach	pckbd at pcppi
1971.32Scgdfile	arch/alpha/isa/pckbd.c		pckbd
1981.32Scgd
1991.60Sthorpejdevice	pms class dull
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.60Sthorpejdevice	fdc class dull { drive = -1 }
2081.35Scgdattach	fdc at isa
2091.60Sthorpejdevice	fd class disk: 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.50Scgddefine	alpha_pci_sgmap_pte32
2291.50Scgdfile	arch/alpha/pci/pci_sgmap_pte32.c	alpha_pci_sgmap_pte32
2301.50Scgd
2311.50Scgddefine	alpha_pci_sgmap_pte64
2321.50Scgdfile	arch/alpha/pci/pci_sgmap_pte64.c	alpha_pci_sgmap_pte64
2331.50Scgd
2341.60Sthorpejdevice	apecs class dull: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2351.10Sthorpejattach	apecs at mainbus
2361.5Scgdfile	arch/alpha/pci/apecs.c		apecs
2371.32Scgdfile	arch/alpha/pci/apecs_bus_io.c	apecs
2381.32Scgdfile	arch/alpha/pci/apecs_bus_mem.c	apecs
2391.47Sthorpejfile	arch/alpha/pci/apecs_dma.c	apecs
2401.5Scgdfile	arch/alpha/pci/apecs_pci.c	apecs
2411.4Scgd
2421.60Sthorpejdevice	cia class dull: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2431.10Sthorpejattach	cia at mainbus
2441.8Scgdfile	arch/alpha/pci/cia.c		cia
2451.47Sthorpejfile	arch/alpha/pci/cia_dma.c	cia
2461.8Scgdfile	arch/alpha/pci/cia_pci.c	cia
2471.51Scgdfile	arch/alpha/pci/cia_swiz_bus_io.c cia
2481.51Scgdfile	arch/alpha/pci/cia_swiz_bus_mem.c cia
2491.8Scgd
2501.60Sthorpejdevice	dwlpx class dull: pcibus, alpha_sgmap, alpha_pci_sgmap_pte32
2511.44Scgdattach	dwlpx at kft
2521.44Scgdfile	arch/alpha/pci/dwlpx.c		dwlpx
2531.47Sthorpejfile	arch/alpha/pci/dwlpx_dma.c	dwlpx
2541.44Scgdfile	arch/alpha/pci/dwlpx_pci.c	dwlpx
2551.50Scgdfile	arch/alpha/pci/pci_kn8ae.c	dwlpx	# XXX doesn't really fit here
2561.44Scgdfile	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
2571.44Scgdfile	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
2581.44Scgd
2591.60Sthorpejdevice	lca class dull: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
2601.50Scgdattach	lca at mainbus
2611.50Scgdfile	arch/alpha/pci/lca.c		lca
2621.50Scgdfile	arch/alpha/pci/lca_bus_io.c	lca
2631.50Scgdfile	arch/alpha/pci/lca_bus_mem.c	lca
2641.50Scgdfile	arch/alpha/pci/lca_dma.c	lca
2651.50Scgdfile	arch/alpha/pci/lca_pci.c	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.57Sthorpej#file	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.60Sthorpejdevice	sio class dull: isabus, alpha_shared_intr
2841.10Sthorpejattach	sio at pci
2851.60Sthorpejdevice	pceb class dull: 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.60Sthorpejdevice	tga class dull: 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.60Sthorpejdevice	mcclock class dull
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.55Sthorpejfile	arch/alpha/alpha/cpuconf.c
3221.1Scgdfile	arch/alpha/alpha/interrupt.c
3231.1Scgdfile	arch/alpha/alpha/machdep.c
3241.1Scgdfile	arch/alpha/alpha/mainbus.c
3251.1Scgdfile	arch/alpha/alpha/mem.c
3261.24Scgdfile	arch/alpha/alpha/pmap.c			new_pmap
3271.24Scgdfile	arch/alpha/alpha/pmap.old.c		!new_pmap
3281.1Scgdfile	arch/alpha/alpha/process_machdep.c
3291.1Scgdfile	arch/alpha/alpha/prom.c
3301.1Scgdfile	arch/alpha/alpha/support.c
3311.1Scgdfile	arch/alpha/alpha/sys_machdep.c
3321.1Scgdfile	arch/alpha/alpha/trap.c
3331.1Scgdfile	arch/alpha/alpha/vm_machdep.c
3341.1Scgdfile	arch/alpha/alpha/disksubr.c
3351.47Sthorpejfile	arch/alpha/common/bus_dma.c
3361.1Scgdfile	dev/cons.c
3371.4Scgd
3381.44Scgd# Network protocol checksum routines
3391.44Scgdfile	arch/alpha/alpha/in_cksum.c		inet
3401.19Scgdfile	netns/ns_cksum.c			ns
3411.1Scgd
3421.44Scgd# PROM console support (for ports that don't have native console support)
3431.5Scgdfile	arch/alpha/alpha/promcons.c
3441.6Scgd
3451.44Scgd# CPU support
3461.59Sthorpejfile	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50
3471.59Sthorpejfile	arch/alpha/alpha/dec_3000_300.c		dec_3000_300
3481.59Sthorpejfile	arch/alpha/alpha/dec_3000_500.c		dec_3000_500
3491.59Sthorpejfile	arch/alpha/alpha/dec_550.c		dec_550
3501.59Sthorpejfile	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33
3511.59Sthorpejfile	arch/alpha/alpha/dec_eb164.c		dec_eb164
3521.59Sthorpejfile	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus
3531.59Sthorpejfile	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa
3541.59Sthorpejfile	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae
3551.58Sthorpej
3561.58Sthorpej# Kernel debugger support
3571.58Sthorpejfile	arch/alpha/alpha/db_disasm.c		ddb
3581.58Sthorpejfile	arch/alpha/alpha/db_interface.c		ddb
3591.58Sthorpejfile	arch/alpha/alpha/db_trace.c		ddb
3601.7Sthorpej
3611.7Sthorpej# OSF/1 Binary Compatibility (COMPAT_OSF1)
3621.26Scgdinclude "compat/osf1/files.osf1"
363