files.sparc revision 1.83
11.83Smatt# $NetBSD: files.sparc,v 1.83 1999/08/09 18:34:43 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.83Smattdevice tctrl 671.83Smattattach tctrl at obio 681.83Smattfile arch/sparc/dev/tctrl.c tctrl needs-flag 691.83Smatt 701.49Sthorpejdevice zs {channel = -1} 711.50Spkattach zs at mainbus with zs_mainbus 721.50Spkattach zs at obio with zs_obio 731.2Scgdfile arch/sparc/dev/zs.c zs needs-count 741.45Sgwrfile dev/ic/z8530sc.c zs 751.2Scgd 761.49Sthorpejdevice fdc {} 771.50Spkattach fdc at mainbus with fdc_mainbus 781.50Spkattach fdc at obio with fdc_obio 791.49Sthorpejdevice fd: disk 801.16Sthorpejattach fd at fdc 811.19Spkfile arch/sparc/dev/fd.c fdc | fd needs-flag 821.19Spkfile arch/sparc/sparc/bsd_fdintr.s fdc 831.1Sderaadt 841.72Skleinkinclude "dev/sbus/files.sbus" 851.50Spkattach sbus at mainbus with sbus_mainbus 861.50Spkattach sbus at iommu with sbus_iommu 871.20Sthorpejfile arch/sparc/dev/sbus.c sbus 881.83Smatt 891.83Smattdevice tpcic: pcmciabus 901.83Smattattach tpcic at sbus 911.83Smattfile arch/sparc/dev/ts102.c tpcic 921.69Spk 931.69Spk# network devices MII bus 941.72Skleinkinclude "dev/mii/files.mii" 951.69Spk 961.69Spk# PCMCIA bus 971.72Skleinkinclude "dev/pcmcia/files.pcmcia" 981.72Skleinkinclude "dev/ata/files.ata" 991.18Spk 1001.45Sgwr# 1011.45Sgwr# Console (zs) related stuff 1021.45Sgwr# 1031.45Sgwr 1041.49Sthorpejdevice zstty: tty 1051.45Sgwrattach zstty at zs 1061.45Sgwrfile dev/ic/z8530tty.c zstty needs-flag 1071.45Sgwrfile arch/sparc/dev/zs_kgdb.c kgdb 1081.45Sgwr 1091.45Sgwrdefine zsevent 1101.45Sgwrfile dev/sun/event.c zsevent 1111.45Sgwr 1121.49Sthorpejdevice kbd: zsevent 1131.75Smrgattach kbd at zs with kbd_zs 1141.75Smrgfile dev/sun/kbd_zs.c kbd_zs 1151.45Sgwrfile dev/sun/kbd.c kbd needs-flag 1161.45Sgwrfile dev/sun/kbd_tables.c kbd 1171.45Sgwrfile arch/sparc/dev/kd.c kbd 1181.45Sgwr 1191.49Sthorpejdevice ms: zsevent 1201.75Smrgattach ms at zs with ms_zs 1211.75Smrgfile dev/sun/ms_zs.c ms_zs 1221.45Sgwrfile dev/sun/ms.c ms needs-flag 1231.2Scgd 1241.5Spk# 1251.5Spk# Machine-independent SCSI drivers 1261.5Spk# 1271.72Skleinkinclude "dev/scsipi/files.scsipi" 1281.1Sderaadt 1291.64Spkmajor { cd = 18 } 1301.64Spkmajor { fd = 16 } 1311.64Spkmajor { md = 5 } 1321.64Spkmajor { sd = 7 } 1331.64Spkmajor { xd = 10 } 1341.64Spkmajor { xy = 3 } 1351.2Scgd 1361.50Spkattach dma at obio with dma_obio 1371.63Spkfile arch/sparc/dev/dma_obio.c dma_obio 1381.63Spk 1391.50Spkattach esp at obio with esp_obio 1401.63Spkfile arch/sparc/dev/esp_obio.c esp_obio 1411.1Sderaadt 1421.50Spkattach audioamd at mainbus with audioamd_mainbus 1431.50Spkattach audioamd at sbus with audioamd_sbus 1441.55Sjonathanfile arch/sparc/dev/am7930_sparc.c audioamd 1451.55Sjonathanfile arch/sparc/sparc/amd7930intr.s audioamd 1461.30Spk 1471.16Sthorpej# Brooktree DAC attribute 1481.16Sthorpejdefine bt_dac 1491.16Sthorpej 1501.73Sad# Raster operations for RASTERCONSOLE (this is here so dependancies work). 1511.73Sadinclude "dev/rasops/files.rasops" 1521.73Sad 1531.46Stv# Include /dev/fb driver only if a framebuffer card is included 1541.46Stvdefine fb 1551.46Stv 1561.73Saddevice bwtwo: fb, rasops1 1571.50Spkattach bwtwo at sbus with bwtwo_sbus 1581.50Spkattach bwtwo at obio with bwtwo_obio 1591.2Scgdfile arch/sparc/dev/bwtwo.c bwtwo needs-flag 1601.1Sderaadt 1611.73Saddevice cgtwo: fb, rasops8 1621.50Spkattach cgtwo at vme 1631.10Spkfile arch/sparc/dev/cgtwo.c cgtwo needs-flag 1641.10Spk 1651.73Saddevice cgthree: bt_dac, fb, rasops8 1661.50Spkattach cgthree at sbus with cgthree_sbus 1671.50Spkattach cgthree at obio with cgthree_obio 1681.2Scgdfile arch/sparc/dev/cgthree.c cgthree needs-flag 1691.1Sderaadt 1701.73Saddevice cgfour: bt_dac, fb, rasops8 1711.16Sthorpejattach cgfour at obio 1721.14Sthorpejfile arch/sparc/dev/cgfour.c cgfour needs-flag 1731.14Sthorpej 1741.73Saddevice cgsix: bt_dac, fb, rasops8 1751.50Spkattach cgsix at sbus with cgsix_sbus 1761.50Spkattach cgsix at obio with cgsix_obio 1771.2Scgdfile arch/sparc/dev/cgsix.c cgsix needs-flag 1781.67Spkfile arch/sparc/dev/cgsix_sbus.c cgsix_sbus & (sbus | obio) 1791.67Spkfile arch/sparc/dev/cgsix_obio.c cgsix_obio & obio 1801.1Sderaadt 1811.73Saddevice cgeight: bt_dac, fb, rasops24 1821.16Sthorpejattach cgeight at obio 1831.14Sthorpejfile arch/sparc/dev/cgeight.c cgeight needs-flag 1841.25Spk 1851.73Saddevice tcx: bt_dac, fb, rasops8, rasops24 1861.25Spkattach tcx at sbus 1871.25Spkfile arch/sparc/dev/tcx.c tcx needs-flag 1881.29Sabrown 1891.73Saddevice cgfourteen: fb, rasops32 1901.29Sabrownattach cgfourteen at obio 1911.29Sabrownfile arch/sparc/dev/cgfourteen.c cgfourteen needs-flag 1921.82Smatt 1931.82Smattdevice pnozz: fb, bt_dac, rasops8, rasops16, rasops32 1941.82Smattattach pnozz at sbus 1951.82Smattfile arch/sparc/dev/p9100.c pnozz needs-flag 1961.14Sthorpej 1971.16Sthorpejfile arch/sparc/dev/bt_subr.c bt_dac 1981.46Stvfile arch/sparc/dev/fb.c fb needs-flag 1991.1Sderaadt 2001.21Sthorpej# device definition in sys/conf/files 2011.57Sdrochnerattach le at obio with le_obio: le24 2021.60Spkfile arch/sparc/dev/if_le_obio.c le_obio 2031.2Scgd 2041.48Spkattach ie at obio with ie_obio 2051.48Spkfile arch/sparc/dev/if_ie_obio.c ie_obio 2061.81Smatt 2071.81Smattattach com at obio with com_obio 2081.81Smattfile arch/sparc/dev/com_obio.c com_obio 2091.7Spk 2101.49Sthorpejdevice si: scsi, ncr5380sbc 2111.48Spkattach si at vme 2121.49Sthorpejdevice sw: scsi, ncr5380sbc 2131.16Sthorpejattach sw at obio 2141.17Scgdfile arch/sparc/dev/si.c si | sw 2151.2Scgd 2161.24Spk# 2171.24Spk# Generic Sun stuff 2181.24Spk# 2191.24Spk 2201.45Sgwrfile dev/cons.c 2211.2Scgd 2221.2Scgdfile arch/sparc/fpu/fpu.c 2231.2Scgdfile arch/sparc/fpu/fpu_add.c 2241.2Scgdfile arch/sparc/fpu/fpu_compare.c 2251.2Scgdfile arch/sparc/fpu/fpu_div.c 2261.2Scgdfile arch/sparc/fpu/fpu_explode.c 2271.2Scgdfile arch/sparc/fpu/fpu_implode.c 2281.2Scgdfile arch/sparc/fpu/fpu_mul.c 2291.2Scgdfile arch/sparc/fpu/fpu_sqrt.c 2301.2Scgdfile arch/sparc/fpu/fpu_subr.c 2311.1Sderaadt 2321.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not 2331.1Sderaadt# identified the exact problem yet. NOOPT_C suffices for now. 2341.2Scgdfile arch/sparc/sparc/autoconf.c 2351.2Scgdfile arch/sparc/sparc/cache.c 2361.2Scgdfile arch/sparc/sparc/conf.c 2371.37Schristosfile arch/sparc/sparc/emul.c 2381.2Scgdfile arch/sparc/sparc/in_cksum.c 2391.2Scgdfile arch/sparc/sparc/intr.c 2401.44Spkfile arch/sparc/sparc/kgdb_machdep.c kgdb 2411.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile, 2421.1Sderaadt# because it must come first in the "ld" command line. 2431.2Scgdfile arch/sparc/sparc/locore2.c 2441.2Scgdfile arch/sparc/sparc/machdep.c 2451.2Scgdfile arch/sparc/sparc/process_machdep.c 2461.2Scgdfile arch/sparc/sparc/mem.c 2471.70Spkfile arch/sparc/sparc/promlib.c 2481.70Spkfile arch/sparc/sparc/openfirm.c 2491.2Scgdfile arch/sparc/sparc/openprom.c 2501.2Scgdfile arch/sparc/sparc/pmap.c 2511.1Sderaadt# the following overrides the generic "sys_process.c" 2521.2Scgd# commented out by deraadt 2531.2Scgd#file arch/sparc/sparc/sys_process.c 2541.2Scgdfile arch/sparc/sparc/sys_machdep.c 2551.2Scgdfile arch/sparc/sparc/trap.c 2561.2Scgdfile arch/sparc/sparc/vm_machdep.c 2571.2Scgdfile arch/sparc/sparc/disksubr.c 2581.2Scgd 2591.44Spkfile arch/sparc/sparc/db_interface.c ddb | kgdb 2601.2Scgdfile arch/sparc/sparc/db_trace.c ddb 2611.2Scgdfile arch/sparc/sparc/db_disasm.c ddb 2621.12Spk 2631.12Spk# 2641.12Spk# Raster Console 2651.12Spk# 2661.72Skleinkinclude "dev/rcons/files.rcons" 2671.72Skleinkinclude "dev/wsfont/files.wsfont" 2681.2Scgd 2691.2Scgd# 2701.2Scgd# Compatibility modules 2711.2Scgd# 2721.2Scgd 2731.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4) 2741.72Skleinkinclude "compat/svr4/files.svr4" 2751.2Scgdfile arch/sparc/sparc/svr4_machdep.c compat_svr4 2761.2Scgd 2771.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS) 2781.72Skleinkinclude "compat/sunos/files.sunos" 2791.65Spkfile arch/sparc/sparc/sunos_machdep.c compat_sunos 2801.74Smrg 2811.74Smrg# NetBSD a.out Binary Compatibility (COMPAT_AOUT) 2821.74Smrginclude "compat/aout/files.aout" 2831.65Spk 2841.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX) 2851.77Spk# Note: SunOS compatibility also uses some of `compat_13_machdep.c' 2861.77Spkfile arch/sparc/sparc/compat_13_machdep.c compat_13 | compat_sunos 2871.15Spk 2881.15Spk# Miscellaneous 2891.15Spkfile netns/ns_cksum.c ns 2901.24Spk 2911.33Spkfile arch/sparc/dev/md_root.c memory_disk_hooks 292