files.sparc revision 1.72
11.72Skleink# $NetBSD: files.sparc,v 1.72 1999/04/17 21:26:59 kleink 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.50Spkattach vme at mainbus with vme_mainbus 231.50Spkattach vme at iommu with vme_iommu 241.39Spk 251.48Spkfile arch/sparc/dev/obio.c obio 261.48Spkfile arch/sparc/dev/vme_machdep.c vme 271.1Sderaadt 281.49Sthorpejdevice auxreg 291.50Spkattach auxreg at mainbus with auxreg_mainbus 301.50Spkattach auxreg at obio with auxreg_obio 311.2Scgdfile arch/sparc/sparc/auxreg.c 321.1Sderaadt 331.49Sthorpejdevice clock 341.50Spkattach clock at mainbus with clock_mainbus 351.50Spkattach clock at obio with clock_obio 361.20Sthorpej 371.49Sthorpejdevice oclock 381.16Sthorpejattach oclock at obio 391.20Sthorpej 401.49Sthorpejdevice timer 411.50Spkattach timer at mainbus with timer_mainbus 421.50Spkattach timer at obio with timer_obio 431.20Sthorpej 441.49Sthorpejdevice eeprom 451.16Sthorpejattach eeprom at obio 461.2Scgdfile arch/sparc/sparc/clock.c 471.20Sthorpej 481.49Sthorpejdevice power 491.18Spkattach power at obio 501.54Sthorpejfile arch/sparc/dev/power.c power needs-flag 511.1Sderaadt 521.49Sthorpejdevice cpu 531.16Sthorpejattach cpu at mainbus 541.2Scgdfile arch/sparc/sparc/cpu.c 551.1Sderaadt 561.49Sthorpejdevice memreg 571.50Spkattach memreg at mainbus with memreg_mainbus 581.50Spkattach memreg at obio with memreg_obio 591.2Scgdfile arch/sparc/sparc/memreg.c 601.66Spk 611.66Spkdevice eccmemctl 621.66Spkattach eccmemctl at mainbus 631.66Spkfile arch/sparc/sparc/memecc.c eccmemctl 641.1Sderaadt 651.49Sthorpejdevice zs {channel = -1} 661.50Spkattach zs at mainbus with zs_mainbus 671.50Spkattach zs at obio with zs_obio 681.2Scgdfile arch/sparc/dev/zs.c zs needs-count 691.45Sgwrfile dev/ic/z8530sc.c zs 701.2Scgd 711.49Sthorpejdevice fdc {} 721.50Spkattach fdc at mainbus with fdc_mainbus 731.50Spkattach fdc at obio with fdc_obio 741.49Sthorpejdevice fd: disk 751.16Sthorpejattach fd at fdc 761.19Spkfile arch/sparc/dev/fd.c fdc | fd needs-flag 771.19Spkfile arch/sparc/sparc/bsd_fdintr.s fdc 781.1Sderaadt 791.72Skleinkinclude "dev/sbus/files.sbus" 801.50Spkattach sbus at mainbus with sbus_mainbus 811.50Spkattach sbus at iommu with sbus_iommu 821.20Sthorpejfile arch/sparc/dev/sbus.c sbus 831.69Spk 841.69Spk# network devices MII bus 851.72Skleinkinclude "dev/mii/files.mii" 861.69Spk 871.69Spk# PCMCIA bus 881.72Skleinkinclude "dev/pcmcia/files.pcmcia" 891.72Skleinkinclude "dev/ata/files.ata" 901.18Spk 911.45Sgwr# 921.45Sgwr# Console (zs) related stuff 931.45Sgwr# 941.45Sgwr 951.49Sthorpejdevice zstty: tty 961.45Sgwrattach zstty at zs 971.45Sgwrfile dev/ic/z8530tty.c zstty needs-flag 981.45Sgwrfile arch/sparc/dev/zs_kgdb.c kgdb 991.45Sgwr 1001.45Sgwrdefine zsevent 1011.45Sgwrfile dev/sun/event.c zsevent 1021.45Sgwr 1031.49Sthorpejdevice kbd: zsevent 1041.45Sgwrattach kbd at zs 1051.45Sgwrfile dev/sun/kbd.c kbd needs-flag 1061.45Sgwrfile dev/sun/kbd_tables.c kbd 1071.45Sgwrfile arch/sparc/dev/kd.c kbd 1081.45Sgwr 1091.49Sthorpejdevice ms: zsevent 1101.45Sgwrattach ms at zs 1111.45Sgwrfile dev/sun/ms.c ms needs-flag 1121.2Scgd 1131.5Spk# 1141.5Spk# Machine-independent SCSI drivers 1151.5Spk# 1161.72Skleinkinclude "dev/scsipi/files.scsipi" 1171.1Sderaadt 1181.64Spkmajor { cd = 18 } 1191.64Spkmajor { fd = 16 } 1201.64Spkmajor { md = 5 } 1211.64Spkmajor { sd = 7 } 1221.64Spkmajor { vnd = 8 } 1231.64Spkmajor { xd = 10 } 1241.64Spkmajor { xy = 3 } 1251.2Scgd 1261.50Spkattach dma at obio with dma_obio 1271.63Spkfile arch/sparc/dev/dma_obio.c dma_obio 1281.63Spk 1291.50Spkattach esp at obio with esp_obio 1301.63Spkfile arch/sparc/dev/esp_obio.c esp_obio 1311.1Sderaadt 1321.50Spkattach audioamd at mainbus with audioamd_mainbus 1331.50Spkattach audioamd at sbus with audioamd_sbus 1341.55Sjonathanfile arch/sparc/dev/am7930_sparc.c audioamd 1351.55Sjonathanfile arch/sparc/sparc/amd7930intr.s audioamd 1361.30Spk 1371.16Sthorpej# Brooktree DAC attribute 1381.16Sthorpejdefine bt_dac 1391.16Sthorpej 1401.46Stv# Include /dev/fb driver only if a framebuffer card is included 1411.46Stvdefine fb 1421.46Stv 1431.49Sthorpejdevice bwtwo: fb 1441.50Spkattach bwtwo at sbus with bwtwo_sbus 1451.50Spkattach bwtwo at obio with bwtwo_obio 1461.2Scgdfile arch/sparc/dev/bwtwo.c bwtwo needs-flag 1471.1Sderaadt 1481.49Sthorpejdevice cgtwo: fb 1491.50Spkattach cgtwo at vme 1501.10Spkfile arch/sparc/dev/cgtwo.c cgtwo needs-flag 1511.10Spk 1521.49Sthorpejdevice cgthree: bt_dac, fb 1531.50Spkattach cgthree at sbus with cgthree_sbus 1541.50Spkattach cgthree at obio with cgthree_obio 1551.2Scgdfile arch/sparc/dev/cgthree.c cgthree needs-flag 1561.1Sderaadt 1571.49Sthorpejdevice cgfour: bt_dac, fb 1581.16Sthorpejattach cgfour at obio 1591.14Sthorpejfile arch/sparc/dev/cgfour.c cgfour needs-flag 1601.14Sthorpej 1611.49Sthorpejdevice cgsix: bt_dac, fb 1621.50Spkattach cgsix at sbus with cgsix_sbus 1631.50Spkattach cgsix at obio with cgsix_obio 1641.2Scgdfile arch/sparc/dev/cgsix.c cgsix needs-flag 1651.67Spkfile arch/sparc/dev/cgsix_sbus.c cgsix_sbus & (sbus | obio) 1661.67Spkfile arch/sparc/dev/cgsix_obio.c cgsix_obio & obio 1671.1Sderaadt 1681.49Sthorpejdevice cgeight: bt_dac, fb 1691.16Sthorpejattach cgeight at obio 1701.14Sthorpejfile arch/sparc/dev/cgeight.c cgeight needs-flag 1711.25Spk 1721.49Sthorpejdevice tcx: bt_dac, fb 1731.25Spkattach tcx at sbus 1741.25Spkfile arch/sparc/dev/tcx.c tcx needs-flag 1751.29Sabrown 1761.49Sthorpejdevice cgfourteen: fb 1771.29Sabrownattach cgfourteen at obio 1781.29Sabrownfile arch/sparc/dev/cgfourteen.c cgfourteen needs-flag 1791.14Sthorpej 1801.16Sthorpejfile arch/sparc/dev/bt_subr.c bt_dac 1811.46Stvfile arch/sparc/dev/fb.c fb needs-flag 1821.1Sderaadt 1831.21Sthorpej# device definition in sys/conf/files 1841.57Sdrochnerattach le at obio with le_obio: le24 1851.60Spkfile arch/sparc/dev/if_le_obio.c le_obio 1861.2Scgd 1871.48Spkattach ie at obio with ie_obio 1881.48Spkfile arch/sparc/dev/if_ie_obio.c ie_obio 1891.7Spk 1901.49Sthorpejdevice si: scsi, ncr5380sbc 1911.48Spkattach si at vme 1921.49Sthorpejdevice sw: scsi, ncr5380sbc 1931.16Sthorpejattach sw at obio 1941.17Scgdfile arch/sparc/dev/si.c si | sw 1951.2Scgd 1961.24Spk# 1971.24Spk# Generic Sun stuff 1981.24Spk# 1991.24Spk 2001.45Sgwrfile dev/cons.c 2011.2Scgd 2021.2Scgdfile arch/sparc/fpu/fpu.c 2031.2Scgdfile arch/sparc/fpu/fpu_add.c 2041.2Scgdfile arch/sparc/fpu/fpu_compare.c 2051.2Scgdfile arch/sparc/fpu/fpu_div.c 2061.2Scgdfile arch/sparc/fpu/fpu_explode.c 2071.2Scgdfile arch/sparc/fpu/fpu_implode.c 2081.2Scgdfile arch/sparc/fpu/fpu_mul.c 2091.2Scgdfile arch/sparc/fpu/fpu_sqrt.c 2101.2Scgdfile arch/sparc/fpu/fpu_subr.c 2111.1Sderaadt 2121.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not 2131.1Sderaadt# identified the exact problem yet. NOOPT_C suffices for now. 2141.2Scgdfile arch/sparc/sparc/autoconf.c 2151.2Scgdfile arch/sparc/sparc/cache.c 2161.2Scgdfile arch/sparc/sparc/conf.c 2171.37Schristosfile arch/sparc/sparc/emul.c 2181.2Scgdfile arch/sparc/sparc/in_cksum.c 2191.2Scgdfile arch/sparc/sparc/intr.c 2201.44Spkfile arch/sparc/sparc/kgdb_machdep.c kgdb 2211.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile, 2221.1Sderaadt# because it must come first in the "ld" command line. 2231.2Scgdfile arch/sparc/sparc/locore2.c 2241.2Scgdfile arch/sparc/sparc/machdep.c 2251.2Scgdfile arch/sparc/sparc/process_machdep.c 2261.2Scgdfile arch/sparc/sparc/mem.c 2271.70Spkfile arch/sparc/sparc/promlib.c 2281.70Spkfile arch/sparc/sparc/openfirm.c 2291.2Scgdfile arch/sparc/sparc/openprom.c 2301.2Scgdfile arch/sparc/sparc/pmap.c 2311.1Sderaadt# the following overrides the generic "sys_process.c" 2321.2Scgd# commented out by deraadt 2331.2Scgd#file arch/sparc/sparc/sys_process.c 2341.2Scgdfile arch/sparc/sparc/sys_machdep.c 2351.2Scgdfile arch/sparc/sparc/trap.c 2361.2Scgdfile arch/sparc/sparc/vm_machdep.c 2371.2Scgdfile arch/sparc/sparc/disksubr.c 2381.2Scgd 2391.44Spkfile arch/sparc/sparc/db_interface.c ddb | kgdb 2401.2Scgdfile arch/sparc/sparc/db_trace.c ddb 2411.2Scgdfile arch/sparc/sparc/db_disasm.c ddb 2421.12Spk 2431.12Spk# 2441.12Spk# Raster Console 2451.12Spk# 2461.72Skleinkinclude "dev/rcons/files.rcons" 2471.72Skleinkinclude "dev/rasops/files.rasops" 2481.72Skleinkinclude "dev/wsfont/files.wsfont" 2491.2Scgd 2501.2Scgd# 2511.2Scgd# Compatibility modules 2521.2Scgd# 2531.2Scgd 2541.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4) 2551.72Skleinkinclude "compat/svr4/files.svr4" 2561.2Scgdfile arch/sparc/sparc/svr4_machdep.c compat_svr4 2571.2Scgd 2581.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS) 2591.72Skleinkinclude "compat/sunos/files.sunos" 2601.65Spkfile arch/sparc/sparc/sunos_machdep.c compat_sunos 2611.65Spk 2621.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX) 2631.65Spkfile arch/sparc/sparc/compat_13_machdep.c compat_13 2641.15Spk 2651.15Spk# Miscellaneous 2661.15Spkfile netns/ns_cksum.c ns 2671.24Spk 2681.33Spkfile arch/sparc/dev/md_root.c memory_disk_hooks 269