files.sparc revision 1.156
11.156Smacallan# $NetBSD: files.sparc,v 1.156 2016/04/30 05:24:45 macallan Exp $ 21.2Scgd 31.2Scgd# @(#)files.sparc 8.1 (Berkeley) 7/19/93 41.1Sderaadt# sparc-specific configuration info 51.104Sdarrenr 61.105Slukemdefflag opt_sparc_arch.h SUN4 71.105Slukemdefflag opt_sparc_arch.h SUN4_MMU3L 81.105Slukemdefflag opt_sparc_arch.h SUN4C 91.105Slukemdefflag opt_sparc_arch.h SUN4M 101.113Sthorpejdefflag opt_sparc_arch.h SUN4D 111.105Slukemdefflag opt_sparc_arch.h SUN4U 121.106Suwedefflag opt_sparc_arch.h MSIIEP 131.1Sderaadt 141.32Spk# maxpartitions must be first item in files.${ARCH} 151.2Scgdmaxpartitions 8 161.2Scgd 171.40Spkmaxusers 2 8 1024 181.1Sderaadt 191.49Sthorpejdevice mainbus {} 201.16Sthorpejattach mainbus at root 211.2Scgd 221.110Suwedevice msiiep {} 231.110Suweattach msiiep at mainbus 241.110Suwe 251.106Suweinclude "dev/i2o/files.i2o" 261.106Suweinclude "dev/pci/files.pci" 271.110Suwedevice mspcic {}: pcibus 281.110Suweattach mspcic at msiiep 291.110Suwefile arch/sparc/sparc/msiiep.c msiiep | mspcic 301.110Suwefile arch/sparc/sparc/pci_machdep.c msiiep | mspcic 311.154Sjdcfile arch/sparc/sparc/pci_fixup.c msiiep | mspcic 321.106Suwe 331.129Sdrochnerdevice ebus {[addr = -1]} 341.106Suweattach ebus at pci 351.106Suwefile arch/sparc/dev/ebus.c ebus 361.106Suwe 371.106Suwedevice rtc 381.106Suweattach rtc at ebus with rtc_ebus 391.106Suwefile arch/sparc/dev/rtc.c rtc_ebus 401.106Suwe 411.49Sthorpejdevice iommu {} 421.32Spkattach iommu at mainbus 431.32Spkfile arch/sparc/sparc/iommu.c iommu 441.32Spk 451.50Spkdevice obio { [addr = -1], [level = -1] } 461.50Spkattach obio at mainbus 471.50Spk 481.115Sthorpejdevice cpuunit { } 491.115Sthorpejattach cpuunit at mainbus 501.115Sthorpejfile arch/sparc/sparc/cpuunit.c cpuunit 511.115Sthorpej 521.115Sthorpejdevice bootbus { [slot = -1], [offset = -1] } 531.115Sthorpejattach bootbus at cpuunit 541.115Sthorpejfile arch/sparc/dev/bootbus.c bootbus 551.115Sthorpej 561.72Skleinkinclude "dev/vme/files.vme" 571.80Sdrochnerdevice sparcvme: vmebus 581.78Sdrochnerattach sparcvme at mainbus with vme_mainbus 591.78Sdrochnerattach sparcvme at iommu with vme_iommu 601.39Spk 611.48Spkfile arch/sparc/dev/obio.c obio 621.78Sdrochnerfile arch/sparc/dev/vme_machdep.c sparcvme 631.1Sderaadt 641.49Sthorpejdevice auxreg 651.50Spkattach auxreg at mainbus with auxreg_mainbus 661.50Spkattach auxreg at obio with auxreg_obio 671.2Scgdfile arch/sparc/sparc/auxreg.c 681.99Skleink 691.103Slukemdefflag BLINK 701.88Sjdc 711.88Sjdcdevice auxiotwo 721.88Sjdcattach auxiotwo at obio with auxiotwo_obio 731.88Sjdcfile arch/sparc/sparc/auxiotwo.c 741.1Sderaadt 751.98Spkdevice clock: mk48txx 761.50Spkattach clock at mainbus with clock_mainbus 771.50Spkattach clock at obio with clock_obio 781.128Schsattach clock at bootbus with clock_bootbus 791.109Spkfile arch/sparc/sparc/mkclock.c clock 801.20Sthorpej 811.98Spkdevice oclock: intersil7170 821.16Sthorpejattach oclock at obio 831.109Spkfile arch/sparc/sparc/oclock.c oclock 841.20Sthorpej 851.49Sthorpejdevice timer 861.50Spkattach timer at mainbus with timer_mainbus 871.50Spkattach timer at obio with timer_obio 881.109Spkattach timer at msiiep with timer_msiiep 891.116Sthorpejfile arch/sparc/sparc/timer.c timer & !msiiep 901.116Sthorpejfile arch/sparc/sparc/timer_sun4.c timer & (sun4 | sun4c) 911.116Sthorpejfile arch/sparc/sparc/timer_sun4m.c timer & sun4m & !msiiep 921.116Sthorpejfile arch/sparc/sparc/timer_msiiep.c timer & msiiep 931.20Sthorpej 941.49Sthorpejdevice eeprom 951.16Sthorpejattach eeprom at obio 961.109Spkfile arch/sparc/sparc/eeprom.c eeprom 971.98Spk 981.2Scgdfile arch/sparc/sparc/clock.c 991.20Sthorpej 1001.49Sthorpejdevice power 1011.18Spkattach power at obio 1021.54Sthorpejfile arch/sparc/dev/power.c power needs-flag 1031.1Sderaadt 1041.49Sthorpejdevice cpu 1051.114Sthorpejattach cpu at mainbus with cpu_mainbus 1061.114Sthorpejattach cpu at cpuunit with cpu_cpuunit 1071.2Scgdfile arch/sparc/sparc/cpu.c 1081.1Sderaadt 1091.135Smacallandevice clkctrl 1101.135Smacallanattach clkctrl at obio 1111.135Smacallanfile arch/sparc/sparc/clkctrl.c clkctrl 1121.135Smacallan 1131.49Sthorpejdevice memreg 1141.50Spkattach memreg at mainbus with memreg_mainbus 1151.50Spkattach memreg at obio with memreg_obio 1161.2Scgdfile arch/sparc/sparc/memreg.c 1171.66Spk 1181.66Spkdevice eccmemctl 1191.66Spkattach eccmemctl at mainbus 1201.66Spkfile arch/sparc/sparc/memecc.c eccmemctl 1211.1Sderaadt 1221.153Smacallandevice sx {} 1231.153Smacallanattach sx at mainbus 1241.153Smacallanfile arch/sparc/dev/sx.c sx needs-flag 1251.153Smacallan 1261.133Smacallandevice tctrl: sysmon_envsys, sysmon_power, sysmon_taskq 1271.83Smattattach tctrl at obio 1281.83Smattfile arch/sparc/dev/tctrl.c tctrl needs-flag 1291.83Smatt 1301.95Spkinclude "dev/sun/files.sun" 1311.95Spk 1321.128Schsdevice zs { [channel = -1] } 1331.50Spkattach zs at mainbus with zs_mainbus 1341.50Spkattach zs at obio with zs_obio 1351.115Sthorpejattach zs at bootbus with zs_bootbus 1361.128Schsfile arch/sparc/dev/zs.c zs 1371.45Sgwrfile dev/ic/z8530sc.c zs 1381.2Scgd 1391.120Suwedevice zstty {}: tty 1401.118Suweattach zstty at zs 1411.128Schsfile dev/ic/z8530tty.c zstty 1421.118Suwefile arch/sparc/dev/zs_kgdb.c kgdb 1431.118Suwe 1441.49Sthorpejdevice fdc {} 1451.50Spkattach fdc at mainbus with fdc_mainbus 1461.50Spkattach fdc at obio with fdc_obio 1471.49Sthorpejdevice fd: disk 1481.16Sthorpejattach fd at fdc 1491.19Spkfile arch/sparc/dev/fd.c fdc | fd needs-flag 1501.19Spkfile arch/sparc/sparc/bsd_fdintr.s fdc 1511.1Sderaadt 1521.72Skleinkinclude "dev/sbus/files.sbus" 1531.50Spkattach sbus at mainbus with sbus_mainbus 1541.50Spkattach sbus at iommu with sbus_iommu 1551.87Spkfile arch/sparc/dev/sbus.c sbus needs-flag 1561.108Suwe 1571.108Suweattach audiocs at ebus with audiocs_ebus 1581.108Suwefile dev/ebus/cs4231_ebus.c audiocs_ebus 1591.83Smatt 1601.132Smacallandevice tslot: pcmciabus 1611.132Smacallanattach tslot at sbus 1621.132Smacallanfile arch/sparc/dev/ts102.c tslot 1631.69Spk 1641.69Spk# PCMCIA bus 1651.72Skleinkinclude "dev/pcmcia/files.pcmcia" 1661.72Skleinkinclude "dev/ata/files.ata" 1671.18Spk 1681.45Sgwr# 1691.118Suwe# Console related stuff 1701.45Sgwr# 1711.45Sgwr 1721.118Suwefile arch/sparc/dev/kd.c # console 1731.118Suwe 1741.126Sbjh21attach pckbc at obio with pckbc_obio: pckbport_machdep_cnattach 1751.126Sbjh21attach pckbc at ebus with pckbc_ebus: pckbport_machdep_cnattach 1761.118Suwefile arch/sparc/dev/pckbc_js.c pckbc_obio | pckbc_ebus 1771.45Sgwr 1781.45Sgwr 1791.118Suwe# sun keyboard at a serial port 1801.75Smrgattach kbd at zs with kbd_zs 1811.118Suwefile dev/sun/kbd_zs.c kbd_zs # kbd lower layer 1821.118Suwe 1831.118Suwe# sun keyboard at a tty line discipline 1841.120Suwe# only used by sparc64, but we can test-compile it here 1851.131Smacallanattach kbd at zstty with kbd_tty 1861.131Smacallanfile dev/sun/sunkbd.c kbd_tty # kbd lower layer 1871.131Smacallan 1881.45Sgwr 1891.118Suwe# shared middle layer for serial keyboard 1901.118Suwefile dev/sun/kbdsun.c kbd_zs | kbd_tty # kbd middle layer 1911.118Suwe 1921.118Suwe# PC/AT keyboard at 8042 (pckbc) for Mr.Coffee 1931.126Sbjh21attach kbd at pckbport with kbd_pckbport 1941.127Smattfile arch/sparc/dev/kbd_pckbport.c kbd_pckbport # kbd mid/lower layers 1951.118Suwe 1961.118Suwe 1971.118Suwe# sun (mouse systems) mouse at a serial port 1981.75Smrgattach ms at zs with ms_zs 1991.118Suwefile dev/sun/ms_zs.c ms_zs # mouse lower layer 2001.118Suwe 2011.118Suwe# sun (mouse systems) mouse at a tty line discipline 2021.120Suwe# only used by sparc64, but we can test-compile it here 2031.131Smacallanattach ms at zstty with ms_tty 2041.131Smacallanfile dev/sun/sunms.c ms_tty # mouse lower layer 2051.118Suwe 2061.118Suwe# XXX: middle layer for sun (mouse systems) serial mice consists of 2071.118Suwe# just one function in dev/sun/ms.c (upper layer). Split it out? 2081.118Suwe 2091.118Suwe# PS/2 mouse at 8042 (pckbc) for Mr.Coffee 2101.126Sbjh21attach ms at pckbport with ms_pckbport 2111.126Sbjh21file arch/sparc/dev/ms_pckbport.c ms_pckbport # lower/middle layers 2121.118Suwe 2131.152Salnsn# 2141.152Salnsn# Stack-less Just-In-Time compiler 2151.152Salnsn# 2161.152Salnsn 2171.152Salnsninclude "external/bsd/sljit/conf/files.sljit" 2181.2Scgd 2191.5Spk# 2201.5Spk# Machine-independent SCSI drivers 2211.5Spk# 2221.72Skleinkinclude "dev/scsipi/files.scsipi" 2231.1Sderaadt 2241.50Spkattach dma at obio with dma_obio 2251.63Spkfile arch/sparc/dev/dma_obio.c dma_obio 2261.63Spk 2271.50Spkattach esp at obio with esp_obio 2281.63Spkfile arch/sparc/dev/esp_obio.c esp_obio 2291.1Sderaadt 2301.112Saugustssdevice audioamd: audiobus, am7930 2311.91Saugustssattach audioamd at mainbus with audioamd_mainbus 2321.119Sjdcattach audioamd at obio with audioamd_obio 2331.91Saugustssattach audioamd at sbus with audioamd_sbus 2341.91Saugustssfile arch/sparc/dev/audioamd.c audioamd 2351.92Saugustssfile arch/sparc/sparc/amd7930intr.s audioamd 2361.30Spk 2371.149Sbouyerdevice apc 2381.149Sbouyerattach apc at sbus 2391.149Sbouyerfile arch/sparc/dev/apc.c apc 2401.149Sbouyer 2411.50Spkattach bwtwo at obio with bwtwo_obio 2421.84Schristosfile arch/sparc/dev/bwtwo_obio.c bwtwo_obio & obio 2431.1Sderaadt 2441.73Saddevice cgtwo: fb, rasops8 2451.50Spkattach cgtwo at vme 2461.10Spkfile arch/sparc/dev/cgtwo.c cgtwo needs-flag 2471.10Spk 2481.95Spkdevice cgfour: bt_dac, fb, rasops8, pfour 2491.16Sthorpejattach cgfour at obio 2501.14Sthorpejfile arch/sparc/dev/cgfour.c cgfour needs-flag 2511.14Sthorpej 2521.50Spkattach cgsix at obio with cgsix_obio 2531.67Spkfile arch/sparc/dev/cgsix_obio.c cgsix_obio & obio 2541.1Sderaadt 2551.95Spkdevice cgeight: bt_dac, fb, rasops24, pfour 2561.16Sthorpejattach cgeight at obio 2571.14Sthorpejfile arch/sparc/dev/cgeight.c cgeight needs-flag 2581.25Spk 2591.156Smacallandevice cgfourteen: fb, rasops8, wsemuldisplaydev, vcons, glyphcache 2601.29Sabrownattach cgfourteen at obio 2611.29Sabrownfile arch/sparc/dev/cgfourteen.c cgfourteen needs-flag 2621.1Sderaadt 2631.21Sthorpej# device definition in sys/conf/files 2641.57Sdrochnerattach le at obio with le_obio: le24 2651.60Spkfile arch/sparc/dev/if_le_obio.c le_obio 2661.2Scgd 2671.48Spkattach ie at obio with ie_obio 2681.48Spkfile arch/sparc/dev/if_ie_obio.c ie_obio 2691.81Smatt 2701.81Smattattach com at obio with com_obio 2711.81Smattfile arch/sparc/dev/com_obio.c com_obio 2721.106Suwe 2731.106Suweattach com at ebus with com_ebus 2741.106Suwefile arch/sparc/dev/com_ebus.c com_ebus 2751.93Spk 2761.49Sthorpejdevice sw: scsi, ncr5380sbc 2771.16Sthorpejattach sw at obio 2781.93Spkfile arch/sparc/dev/sw.c sw 2791.2Scgd 2801.24Spk# 2811.24Spk# Generic Sun stuff 2821.24Spk# 2831.24Spk 2841.45Sgwrfile dev/cons.c 2851.124Sbouyerfile dev/sun/disksubr.c 2861.2Scgd 2871.2Scgdfile arch/sparc/fpu/fpu.c 2881.2Scgdfile arch/sparc/fpu/fpu_add.c 2891.2Scgdfile arch/sparc/fpu/fpu_compare.c 2901.2Scgdfile arch/sparc/fpu/fpu_div.c 2911.2Scgdfile arch/sparc/fpu/fpu_explode.c 2921.2Scgdfile arch/sparc/fpu/fpu_implode.c 2931.2Scgdfile arch/sparc/fpu/fpu_mul.c 2941.2Scgdfile arch/sparc/fpu/fpu_sqrt.c 2951.2Scgdfile arch/sparc/fpu/fpu_subr.c 2961.1Sderaadt 2971.2Scgdfile arch/sparc/sparc/autoconf.c 2981.2Scgdfile arch/sparc/sparc/cache.c 2991.147Sadfile arch/sparc/sparc/core_machdep.c coredump 3001.150Stsutsuifile arch/sparc/sparc/cpu_in_cksum.c (inet | inet6) & cpu_in_cksum 3011.37Schristosfile arch/sparc/sparc/emul.c 3021.2Scgdfile arch/sparc/sparc/intr.c 3031.44Spkfile arch/sparc/sparc/kgdb_machdep.c kgdb 3041.143Sadfile arch/sparc/sparc/kobj_machdep.c modular 3051.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile, 3061.1Sderaadt# because it must come first in the "ld" command line. 3071.2Scgdfile arch/sparc/sparc/machdep.c 3081.2Scgdfile arch/sparc/sparc/process_machdep.c 3091.70Spkfile arch/sparc/sparc/promlib.c 3101.70Spkfile arch/sparc/sparc/openfirm.c 3111.2Scgdfile arch/sparc/sparc/openprom.c 3121.100Sfvdlfile arch/sparc/sparc/procfs_machdep.c procfs 3131.2Scgdfile arch/sparc/sparc/pmap.c 3141.134Schristosfile arch/sparc/sparc/syscall.c 3151.2Scgdfile arch/sparc/sparc/sys_machdep.c 3161.2Scgdfile arch/sparc/sparc/trap.c 3171.2Scgdfile arch/sparc/sparc/vm_machdep.c 3181.2Scgd 3191.44Spkfile arch/sparc/sparc/db_interface.c ddb | kgdb 3201.2Scgdfile arch/sparc/sparc/db_trace.c ddb 3211.2Scgdfile arch/sparc/sparc/db_disasm.c ddb 3221.12Spk 3231.126Sbjh21include "dev/pckbport/files.pckbport" 3241.118Suwe 3251.138Sjdc# USB Support 3261.138Sjdcinclude "dev/usb/files.usb" 3271.2Scgd 3281.2Scgd# 3291.2Scgd# Compatibility modules 3301.2Scgd# 3311.2Scgd 3321.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4) 3331.72Skleinkinclude "compat/svr4/files.svr4" 3341.102Smrgfile arch/sparc/sparc/svr4_sigcode.s compat_svr4 3351.2Scgdfile arch/sparc/sparc/svr4_machdep.c compat_svr4 3361.2Scgd 3371.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS) 3381.72Skleinkinclude "compat/sunos/files.sunos" 3391.102Smrgfile arch/sparc/sparc/sunos_sigcode.s compat_sunos 3401.65Spkfile arch/sparc/sparc/sunos_machdep.c compat_sunos 3411.74Smrg 3421.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX) 3431.77Spk# Note: SunOS compatibility also uses some of `compat_13_machdep.c' 3441.147Sadfile arch/sparc/sparc/compat_16_machdep.c compat_16 3451.77Spkfile arch/sparc/sparc/compat_13_machdep.c compat_13 | compat_sunos 3461.15Spk 3471.15Spk# Miscellaneous 3481.107Sjdolecekfile dev/md_root.c memory_disk_hooks 3491.117Sgehenna 3501.117Sgehennainclude "arch/sparc/conf/majors.sparc" 351