files.sparc revision 1.81
11.81Smatt# $NetBSD: files.sparc,v 1.81 1999/07/30 23:58:25 matt Exp $ 21.2Scgd 31.2Scgd# @(#)files.sparc 8.1 (Berkeley) 7/19/93 41.1Sderaadt# sparc-specific configuration info 51.1Sderaadt 61.32Spk# maxpartitions must be first item in files.${ARCH} 71.2Scgdmaxpartitions 8 81.2Scgd 91.40Spkmaxusers 2 8 1024 101.1Sderaadt 111.49Sthorpejdevice mainbus {} 121.16Sthorpejattach mainbus at root 131.2Scgd 141.49Sthorpejdevice iommu {} 151.32Spkattach iommu at mainbus 161.32Spkfile arch/sparc/sparc/iommu.c iommu 171.32Spk 181.50Spkdevice obio { [addr = -1], [level = -1] } 191.50Spkattach obio at mainbus 201.50Spk 211.72Skleinkinclude "dev/vme/files.vme" 221.80Sdrochnerdevice sparcvme: vmebus 231.78Sdrochnerattach sparcvme at mainbus with vme_mainbus 241.78Sdrochnerattach sparcvme at iommu with vme_iommu 251.39Spk 261.48Spkfile arch/sparc/dev/obio.c obio 271.78Sdrochnerfile arch/sparc/dev/vme_machdep.c sparcvme 281.1Sderaadt 291.49Sthorpejdevice auxreg 301.50Spkattach auxreg at mainbus with auxreg_mainbus 311.50Spkattach auxreg at obio with auxreg_obio 321.2Scgdfile arch/sparc/sparc/auxreg.c 331.1Sderaadt 341.49Sthorpejdevice clock 351.50Spkattach clock at mainbus with clock_mainbus 361.50Spkattach clock at obio with clock_obio 371.20Sthorpej 381.49Sthorpejdevice oclock 391.16Sthorpejattach oclock at obio 401.20Sthorpej 411.49Sthorpejdevice timer 421.50Spkattach timer at mainbus with timer_mainbus 431.50Spkattach timer at obio with timer_obio 441.20Sthorpej 451.49Sthorpejdevice eeprom 461.16Sthorpejattach eeprom at obio 471.2Scgdfile arch/sparc/sparc/clock.c 481.20Sthorpej 491.49Sthorpejdevice power 501.18Spkattach power at obio 511.54Sthorpejfile arch/sparc/dev/power.c power needs-flag 521.1Sderaadt 531.49Sthorpejdevice cpu 541.16Sthorpejattach cpu at mainbus 551.2Scgdfile arch/sparc/sparc/cpu.c 561.1Sderaadt 571.49Sthorpejdevice memreg 581.50Spkattach memreg at mainbus with memreg_mainbus 591.50Spkattach memreg at obio with memreg_obio 601.2Scgdfile arch/sparc/sparc/memreg.c 611.66Spk 621.66Spkdevice eccmemctl 631.66Spkattach eccmemctl at mainbus 641.66Spkfile arch/sparc/sparc/memecc.c eccmemctl 651.1Sderaadt 661.49Sthorpejdevice zs {channel = -1} 671.50Spkattach zs at mainbus with zs_mainbus 681.50Spkattach zs at obio with zs_obio 691.2Scgdfile arch/sparc/dev/zs.c zs needs-count 701.45Sgwrfile dev/ic/z8530sc.c zs 711.2Scgd 721.49Sthorpejdevice fdc {} 731.50Spkattach fdc at mainbus with fdc_mainbus 741.50Spkattach fdc at obio with fdc_obio 751.49Sthorpejdevice fd: disk 761.16Sthorpejattach fd at fdc 771.19Spkfile arch/sparc/dev/fd.c fdc | fd needs-flag 781.19Spkfile arch/sparc/sparc/bsd_fdintr.s fdc 791.1Sderaadt 801.72Skleinkinclude "dev/sbus/files.sbus" 811.50Spkattach sbus at mainbus with sbus_mainbus 821.50Spkattach sbus at iommu with sbus_iommu 831.20Sthorpejfile arch/sparc/dev/sbus.c sbus 841.69Spk 851.69Spk# network devices MII bus 861.72Skleinkinclude "dev/mii/files.mii" 871.69Spk 881.69Spk# PCMCIA bus 891.72Skleinkinclude "dev/pcmcia/files.pcmcia" 901.72Skleinkinclude "dev/ata/files.ata" 911.18Spk 921.45Sgwr# 931.45Sgwr# Console (zs) related stuff 941.45Sgwr# 951.45Sgwr 961.49Sthorpejdevice zstty: tty 971.45Sgwrattach zstty at zs 981.45Sgwrfile dev/ic/z8530tty.c zstty needs-flag 991.45Sgwrfile arch/sparc/dev/zs_kgdb.c kgdb 1001.45Sgwr 1011.45Sgwrdefine zsevent 1021.45Sgwrfile dev/sun/event.c zsevent 1031.45Sgwr 1041.49Sthorpejdevice kbd: zsevent 1051.75Smrgattach kbd at zs with kbd_zs 1061.75Smrgfile dev/sun/kbd_zs.c kbd_zs 1071.45Sgwrfile dev/sun/kbd.c kbd needs-flag 1081.45Sgwrfile dev/sun/kbd_tables.c kbd 1091.45Sgwrfile arch/sparc/dev/kd.c kbd 1101.45Sgwr 1111.49Sthorpejdevice ms: zsevent 1121.75Smrgattach ms at zs with ms_zs 1131.75Smrgfile dev/sun/ms_zs.c ms_zs 1141.45Sgwrfile dev/sun/ms.c ms needs-flag 1151.2Scgd 1161.5Spk# 1171.5Spk# Machine-independent SCSI drivers 1181.5Spk# 1191.72Skleinkinclude "dev/scsipi/files.scsipi" 1201.1Sderaadt 1211.64Spkmajor { cd = 18 } 1221.64Spkmajor { fd = 16 } 1231.64Spkmajor { md = 5 } 1241.64Spkmajor { sd = 7 } 1251.64Spkmajor { xd = 10 } 1261.64Spkmajor { xy = 3 } 1271.2Scgd 1281.50Spkattach dma at obio with dma_obio 1291.63Spkfile arch/sparc/dev/dma_obio.c dma_obio 1301.63Spk 1311.50Spkattach esp at obio with esp_obio 1321.63Spkfile arch/sparc/dev/esp_obio.c esp_obio 1331.1Sderaadt 1341.50Spkattach audioamd at mainbus with audioamd_mainbus 1351.50Spkattach audioamd at sbus with audioamd_sbus 1361.55Sjonathanfile arch/sparc/dev/am7930_sparc.c audioamd 1371.55Sjonathanfile arch/sparc/sparc/amd7930intr.s audioamd 1381.30Spk 1391.16Sthorpej# Brooktree DAC attribute 1401.16Sthorpejdefine bt_dac 1411.16Sthorpej 1421.73Sad# Raster operations for RASTERCONSOLE (this is here so dependancies work). 1431.73Sadinclude "dev/rasops/files.rasops" 1441.73Sad 1451.46Stv# Include /dev/fb driver only if a framebuffer card is included 1461.46Stvdefine fb 1471.46Stv 1481.73Saddevice bwtwo: fb, rasops1 1491.50Spkattach bwtwo at sbus with bwtwo_sbus 1501.50Spkattach bwtwo at obio with bwtwo_obio 1511.2Scgdfile arch/sparc/dev/bwtwo.c bwtwo needs-flag 1521.1Sderaadt 1531.73Saddevice cgtwo: fb, rasops8 1541.50Spkattach cgtwo at vme 1551.10Spkfile arch/sparc/dev/cgtwo.c cgtwo needs-flag 1561.10Spk 1571.73Saddevice cgthree: bt_dac, fb, rasops8 1581.50Spkattach cgthree at sbus with cgthree_sbus 1591.50Spkattach cgthree at obio with cgthree_obio 1601.2Scgdfile arch/sparc/dev/cgthree.c cgthree needs-flag 1611.1Sderaadt 1621.73Saddevice cgfour: bt_dac, fb, rasops8 1631.16Sthorpejattach cgfour at obio 1641.14Sthorpejfile arch/sparc/dev/cgfour.c cgfour needs-flag 1651.14Sthorpej 1661.73Saddevice cgsix: bt_dac, fb, rasops8 1671.50Spkattach cgsix at sbus with cgsix_sbus 1681.50Spkattach cgsix at obio with cgsix_obio 1691.2Scgdfile arch/sparc/dev/cgsix.c cgsix needs-flag 1701.67Spkfile arch/sparc/dev/cgsix_sbus.c cgsix_sbus & (sbus | obio) 1711.67Spkfile arch/sparc/dev/cgsix_obio.c cgsix_obio & obio 1721.1Sderaadt 1731.73Saddevice cgeight: bt_dac, fb, rasops24 1741.16Sthorpejattach cgeight at obio 1751.14Sthorpejfile arch/sparc/dev/cgeight.c cgeight needs-flag 1761.25Spk 1771.73Saddevice tcx: bt_dac, fb, rasops8, rasops24 1781.25Spkattach tcx at sbus 1791.25Spkfile arch/sparc/dev/tcx.c tcx needs-flag 1801.29Sabrown 1811.73Saddevice cgfourteen: fb, rasops32 1821.29Sabrownattach cgfourteen at obio 1831.29Sabrownfile arch/sparc/dev/cgfourteen.c cgfourteen needs-flag 1841.14Sthorpej 1851.16Sthorpejfile arch/sparc/dev/bt_subr.c bt_dac 1861.46Stvfile arch/sparc/dev/fb.c fb needs-flag 1871.1Sderaadt 1881.21Sthorpej# device definition in sys/conf/files 1891.57Sdrochnerattach le at obio with le_obio: le24 1901.60Spkfile arch/sparc/dev/if_le_obio.c le_obio 1911.2Scgd 1921.48Spkattach ie at obio with ie_obio 1931.48Spkfile arch/sparc/dev/if_ie_obio.c ie_obio 1941.81Smatt 1951.81Smattattach com at obio with com_obio 1961.81Smattfile arch/sparc/dev/com_obio.c com_obio 1971.7Spk 1981.49Sthorpejdevice si: scsi, ncr5380sbc 1991.48Spkattach si at vme 2001.49Sthorpejdevice sw: scsi, ncr5380sbc 2011.16Sthorpejattach sw at obio 2021.17Scgdfile arch/sparc/dev/si.c si | sw 2031.2Scgd 2041.24Spk# 2051.24Spk# Generic Sun stuff 2061.24Spk# 2071.24Spk 2081.45Sgwrfile dev/cons.c 2091.2Scgd 2101.2Scgdfile arch/sparc/fpu/fpu.c 2111.2Scgdfile arch/sparc/fpu/fpu_add.c 2121.2Scgdfile arch/sparc/fpu/fpu_compare.c 2131.2Scgdfile arch/sparc/fpu/fpu_div.c 2141.2Scgdfile arch/sparc/fpu/fpu_explode.c 2151.2Scgdfile arch/sparc/fpu/fpu_implode.c 2161.2Scgdfile arch/sparc/fpu/fpu_mul.c 2171.2Scgdfile arch/sparc/fpu/fpu_sqrt.c 2181.2Scgdfile arch/sparc/fpu/fpu_subr.c 2191.1Sderaadt 2201.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not 2211.1Sderaadt# identified the exact problem yet. NOOPT_C suffices for now. 2221.2Scgdfile arch/sparc/sparc/autoconf.c 2231.2Scgdfile arch/sparc/sparc/cache.c 2241.2Scgdfile arch/sparc/sparc/conf.c 2251.37Schristosfile arch/sparc/sparc/emul.c 2261.2Scgdfile arch/sparc/sparc/in_cksum.c 2271.2Scgdfile arch/sparc/sparc/intr.c 2281.44Spkfile arch/sparc/sparc/kgdb_machdep.c kgdb 2291.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile, 2301.1Sderaadt# because it must come first in the "ld" command line. 2311.2Scgdfile arch/sparc/sparc/locore2.c 2321.2Scgdfile arch/sparc/sparc/machdep.c 2331.2Scgdfile arch/sparc/sparc/process_machdep.c 2341.2Scgdfile arch/sparc/sparc/mem.c 2351.70Spkfile arch/sparc/sparc/promlib.c 2361.70Spkfile arch/sparc/sparc/openfirm.c 2371.2Scgdfile arch/sparc/sparc/openprom.c 2381.2Scgdfile arch/sparc/sparc/pmap.c 2391.1Sderaadt# the following overrides the generic "sys_process.c" 2401.2Scgd# commented out by deraadt 2411.2Scgd#file arch/sparc/sparc/sys_process.c 2421.2Scgdfile arch/sparc/sparc/sys_machdep.c 2431.2Scgdfile arch/sparc/sparc/trap.c 2441.2Scgdfile arch/sparc/sparc/vm_machdep.c 2451.2Scgdfile arch/sparc/sparc/disksubr.c 2461.2Scgd 2471.44Spkfile arch/sparc/sparc/db_interface.c ddb | kgdb 2481.2Scgdfile arch/sparc/sparc/db_trace.c ddb 2491.2Scgdfile arch/sparc/sparc/db_disasm.c ddb 2501.12Spk 2511.12Spk# 2521.12Spk# Raster Console 2531.12Spk# 2541.72Skleinkinclude "dev/rcons/files.rcons" 2551.72Skleinkinclude "dev/wsfont/files.wsfont" 2561.2Scgd 2571.2Scgd# 2581.2Scgd# Compatibility modules 2591.2Scgd# 2601.2Scgd 2611.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4) 2621.72Skleinkinclude "compat/svr4/files.svr4" 2631.2Scgdfile arch/sparc/sparc/svr4_machdep.c compat_svr4 2641.2Scgd 2651.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS) 2661.72Skleinkinclude "compat/sunos/files.sunos" 2671.65Spkfile arch/sparc/sparc/sunos_machdep.c compat_sunos 2681.74Smrg 2691.74Smrg# NetBSD a.out Binary Compatibility (COMPAT_AOUT) 2701.74Smrginclude "compat/aout/files.aout" 2711.65Spk 2721.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX) 2731.77Spk# Note: SunOS compatibility also uses some of `compat_13_machdep.c' 2741.77Spkfile arch/sparc/sparc/compat_13_machdep.c compat_13 | compat_sunos 2751.15Spk 2761.15Spk# Miscellaneous 2771.15Spkfile netns/ns_cksum.c ns 2781.24Spk 2791.33Spkfile arch/sparc/dev/md_root.c memory_disk_hooks 280