Home | History | Annotate | Line # | Download | only in conf
files.sparc64 revision 1.53
      1 #	$NetBSD: files.sparc64,v 1.53 2001/10/25 23:07:50 eeh Exp $
      2 
      3 # @(#)files.sparc64	8.1 (Berkeley) 7/19/93
      4 # sparc64-specific configuration info
      5 
      6 # maxpartitions must be first item in files.${ARCH}
      7 maxpartitions 8
      8 
      9 maxusers 2 8 1024
     10 
     11 #
     12 # XXXXXXXXXXX
     13 #
     14 # These files must be compiled w/no omtimization in 64-bit mode
     15 #
     16 
     17 file net/if_ppp.c		compile-with "${NOOPT_C}"
     18 file net/if_loop.c		compile-with "${NOOPT_C}"
     19 file net/if_sl.c		compile-with "${NOOPT_C}"
     20 file ufs/lfs/lfs_debug.c        compile-with "${NOOPT_C}"
     21 
     22 #
     23 # XXXXXXXXXXX
     24 #
     25 
     26 define mainbus {}
     27 device mainbus: pcibus, mainbus
     28 attach mainbus at root
     29 
     30 device pcons
     31 attach pcons at mainbus
     32 file	arch/sparc64/dev/pcons.c		pcons needs-flag
     33 
     34 include "dev/sun/files.sun"
     35 include "dev/i2o/files.i2o"
     36 
     37 include "dev/sbus/files.sbus"
     38 attach sbus at mainbus
     39 file	arch/sparc64/dev/sbus.c			sbus
     40 
     41 device  psycho: pcibus
     42 attach  psycho at mainbus
     43 include "dev/pci/files.pci"
     44 file	arch/sparc64/dev/psycho.c		psycho
     45 file	arch/sparc64/dev/pci_machdep.c		psycho
     46 
     47 # IOMMU is for both
     48 file	arch/sparc64/dev/iommu.c		sbus | psycho
     49 
     50 include "dev/ata/files.ata"
     51 
     52 device ebus {[addr = -1]}: pcibus
     53 attach ebus at pci
     54 file	arch/sparc64/dev/ebus.c			ebus
     55 
     56 # network devices MII bus
     57 include "dev/mii/files.mii"
     58 
     59 device clock: mk48txx
     60 attach clock at mainbus, sbus with clock_sbus
     61 attach clock at ebus with clock_ebus
     62 
     63 device rtc
     64 attach rtc at ebus with rtc_ebus
     65 
     66 device timer
     67 attach timer at mainbus, sbus
     68 
     69 device eeprom
     70 attach eeprom at sbus, ebus
     71 file	arch/sparc64/sparc64/clock.c
     72 file	dev/clock_subr.c
     73 
     74 device power
     75 attach power at sbus, ebus
     76 file	arch/sparc64/dev/power.c		power
     77 
     78 device cpu
     79 attach cpu at mainbus
     80 file	arch/sparc64/sparc64/cpu.c
     81 
     82 # XXX bogus; this is in dev/isa/files.isa.  fix me please!
     83 # XXX we should attach a `bpp'-style device here rather than
     84 # `lpt' because the `bpp' driver supports DMA.
     85 device	lpt
     86 file	dev/ic/lpt.c				lpt needs-flag
     87 
     88 device	auxio
     89 attach	auxio at ebus with auxio_ebus
     90 attach	auxio at sbus with auxio_sbus
     91 file	arch/sparc64/dev/auxio.c		auxio
     92 
     93 attach lpt at ebus with lpt_ebus
     94 file	arch/sparc64/dev/lpt_ebus.c		lpt_ebus
     95 
     96 device fdc {}
     97 attach fdc at mainbus, sbus, ebus
     98 # attach fdc at ebus
     99 device fd: disk
    100 attach fd at fdc
    101 file	dev/sun/fd.c				fdc | fd needs-flag
    102 file	arch/sparc64/sparc64/bsd_fdintr.s	fdc
    103 
    104 attach	audiocs at ebus with audiocs_ebus
    105 file	arch/sparc64/dev/cs4231_ebus.c		audiocs_ebus
    106 
    107 #
    108 # Console related stuff
    109 #
    110 
    111 device zs {channel = -1}
    112 attach zs at mainbus, sbus
    113 file	arch/sparc64/dev/zs.c			zs needs-flag
    114 file	dev/ic/z8530sc.c			zs
    115 
    116 # siemens SAB82532; found on U5/U10/... for tty ports.
    117 #device sab {channel = -1}
    118 #attach sab at ebus
    119 #file	arch/sparc64/dev/sab_ebus.c		sab
    120 #file	dev/ic/sab82532.c			sab
    121 
    122 # "com" attachments for the kbd/mouse of the U5/U10/...
    123 attach com at ebus with com_ebus
    124 file	arch/sparc64/dev/com_ebus.c		com_ebus
    125 
    126 define zstty {}
    127 device zstty: tty
    128 attach zstty at zs
    129 file dev/ic/z8530tty.c			zstty needs-flag
    130 file arch/sparc/dev/zs_kgdb.c		kgdb
    131 
    132 #device sabtty: tty
    133 #attach sabtty at sab
    134 #file dev/ic/sabtty.c			sabtty needs-flag
    135 
    136 device kbd
    137 attach kbd at zs with kbd_zs
    138 attach kbd at zstty, com
    139 file dev/sun/kbd_zs.c			kbd_zs
    140 file dev/sun/kbd.c			kbd needs-flag
    141 file dev/sun/kbd_tables.c 		kbd
    142 file arch/sparc64/dev/kd.c 		kbd
    143 file dev/sun/sunkbd.c			kbd needs-flag
    144 
    145 device ms
    146 attach ms at zs with ms_zs
    147 attach ms at zstty, com
    148 file dev/sun/ms_zs.c			ms_zs
    149 file dev/sun/ms.c			ms needs-flag
    150 file dev/sun/sunms.c			ms needs-flag
    151 
    152 #
    153 # Machine-independent SCSI drivers
    154 #
    155 include "dev/scsipi/files.scsipi"
    156 
    157 major	{ cd = 18 }
    158 major	{ fd = 16 }
    159 major	{ md = 5 }
    160 major	{ sd = 7 }
    161 major	{ wd = 12 }
    162 
    163 # RAIDframe
    164 major 	{ raid = 25 }
    165 
    166 device cgfourteen
    167 attach cgfourteen at sbus
    168 file	arch/sparc64/dev/cgfourteen.c	cgfourteen needs-flag
    169 
    170 #
    171 # Generic Sun stuff
    172 #
    173 
    174 file	dev/cons.c
    175 file	arch/sparc64/dev/consinit.c
    176 
    177 file	arch/sparc/fpu/fpu.c
    178 file	arch/sparc/fpu/fpu_add.c
    179 file	arch/sparc/fpu/fpu_compare.c
    180 file	arch/sparc/fpu/fpu_div.c
    181 file	arch/sparc/fpu/fpu_explode.c
    182 file	arch/sparc/fpu/fpu_implode.c
    183 file	arch/sparc/fpu/fpu_mul.c
    184 file	arch/sparc/fpu/fpu_sqrt.c
    185 file	arch/sparc/fpu/fpu_subr.c
    186 
    187 # N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
    188 # identified the exact problem yet.  NOOPT_C suffices for now.
    189 file	arch/sparc64/sparc64/autoconf.c
    190 file	arch/sparc64/sparc64/cache.c
    191 file	arch/sparc64/sparc64/conf.c
    192 file	arch/sparc64/sparc64/emul.c
    193 file	arch/sparc64/sparc64/in_cksum.S
    194 file	arch/sparc64/sparc64/in4_cksum.c	inet
    195 file	arch/sparc64/sparc64/intr.c
    196 file	arch/sparc64/sparc64/kgdb_machdep.c kgdb
    197 # sparc/sparc/locore.s is handled specially in the makefile,
    198 # because it must come first in the "ld" command line.
    199 file	arch/sparc64/sparc64/locore2.c
    200 file	arch/sparc64/sparc64/machdep.c
    201 file	arch/sparc64/sparc64/process_machdep.c
    202 file	arch/sparc64/sparc64/procfs_machdep.c	procfs
    203 file	arch/sparc64/sparc64/mem.c
    204 file	arch/sparc64/sparc64/openprom.c
    205 file	arch/sparc64/sparc64/openfirm.c
    206 file	arch/sparc64/sparc64/ofw_machdep.c
    207 file	arch/sparc64/sparc64/pmap.c
    208 # the following overrides the generic "sys_process.c"
    209 # commented out by deraadt
    210 #file	arch/sparc64/sparc64/sys_process.c
    211 file	arch/sparc64/sparc64/sys_machdep.c
    212 file	arch/sparc64/sparc64/trap.c
    213 file	arch/sparc64/sparc64/vm_machdep.c
    214 file	arch/sparc64/sparc64/disksubr.c
    215 
    216 file	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
    217 file	arch/sparc64/sparc64/db_trace.c	ddb
    218 file	arch/sparc64/sparc64/db_disasm.c	ddb
    219 #file 	ddb/db_aout.c			ddb_aout
    220 #file	ddb/db_elf.c			ddb
    221 
    222 #
    223 # Raster Console support
    224 #
    225 include "dev/wsfont/files.wsfont"
    226 include "dev/rcons/files.rcons"
    227 
    228 # USB Support
    229 include "dev/usb/files.usb"
    230 
    231 # IEEE1394 Support
    232 include "dev/ieee1394/files.ieee1394"
    233 
    234 #
    235 # Compatibility modules
    236 #
    237 
    238 # Binary compatiblity with previous NetBSD releases.
    239 file	arch/sparc64/sparc64/compat_13_machdep.c compat_13
    240 
    241 # NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
    242 include "compat/netbsd32/files.netbsd32"
    243 file	arch/sparc64/sparc64/netbsd32_machdep.c	compat_netbsd32
    244 file	arch/sparc64/sparc64/netbsd32_sigcode.s	compat_netbsd32
    245 
    246 # NetBSD a.out Binary Compatibility (COMPAT_AOUT)
    247 include "compat/aout/files.aout"
    248 
    249 # SVR4 Binary Compatibility (COMPAT_SVR4)
    250 include "compat/svr4/files.svr4"
    251 file	arch/sparc64/sparc64/svr4_machdep.c	compat_svr4
    252 file	arch/sparc64/sparc64/svr4_sigcode64.s	compat_svr4 & exec_elf64
    253 
    254 # 32-bit SVR4 Binary Compatibility (COMPAT_SVR4_32)
    255 include "compat/svr4_32/files.svr4_32"
    256 file	arch/sparc64/sparc64/svr4_32_machdep.c	compat_svr4_32
    257 file	arch/sparc64/sparc64/svr4_32_sigcode.s	compat_svr4_32 | (compat_svr4 & !exec_elf64)
    258 
    259 # SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
    260 # (64-bit also depends on COMPAT_NETBSD32)
    261 include "compat/sunos/files.sunos"
    262 file	arch/sparc64/sparc64/sunos_sigcode.s	compat_sunos
    263 file	arch/sparc64/sparc64/sunos_machdep.c	compat_sunos & !compat_netbsd32
    264 include "compat/sunos32/files.sunos32"
    265 file	arch/sparc64/sparc64/sunos32_machdep.c	compat_sunos & compat_netbsd32
    266 
    267 # Miscellaneous
    268 file	netns/ns_cksum.c		ns
    269 
    270 file	arch/sparc64/dev/md_root.c	memory_disk_hooks
    271