Home | History | Annotate | Line # | Download | only in conf
files.sparc64 revision 1.44
      1 #	$NetBSD: files.sparc64,v 1.44 2001/02/05 12:47:47 mrg 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 # can't use ppb for SUNW,simba
     51 device  simba: pcibus
     52 attach  simba at pci
     53 file	arch/sparc64/dev/simba.c		simba
     54 
     55 include "dev/ata/files.ata"
     56 file	arch/sparc64/dev/pciide_machdep.c	pciide
     57 
     58 device ebus {[addr = -1]}: pcibus
     59 attach ebus at pci
     60 file	arch/sparc64/dev/ebus.c			ebus
     61 
     62 # network devices MII bus
     63 include "dev/mii/files.mii"
     64 
     65 device clock: mk48txx
     66 attach clock at mainbus, sbus with clock_sbus
     67 attach clock at ebus with clock_ebus
     68 
     69 device timer
     70 attach timer at mainbus, sbus
     71 
     72 device eeprom
     73 attach eeprom at sbus, ebus
     74 file	arch/sparc64/sparc64/clock.c
     75 file	dev/clock_subr.c
     76 
     77 device power
     78 attach power at sbus, ebus
     79 file	arch/sparc64/dev/power.c		power
     80 
     81 device cpu
     82 attach cpu at mainbus
     83 file	arch/sparc64/sparc64/cpu.c
     84 
     85 # XXX bogus; this is in dev/isa/files.isa.  fix me please!
     86 # XXX we should attach a `bpp'-style device here rather than
     87 # `lpt' because the `bpp' driver supports DMA.
     88 device	lpt
     89 file	dev/ic/lpt.c				lpt needs-flag
     90 
     91 device	auxio
     92 attach	auxio at ebus with auxio_ebus
     93 attach	auxio at sbus with auxio_sbus
     94 file	arch/sparc64/dev/auxio.c		auxio
     95 
     96 attach lpt at ebus with lpt_ebus
     97 file	arch/sparc64/dev/lpt_ebus.c		lpt_ebus
     98 
     99 device fdc {}
    100 attach fdc at mainbus, sbus, ebus
    101 # attach fdc at ebus
    102 device fd: disk
    103 attach fd at fdc
    104 file	dev/sun/fd.c				fdc | fd needs-flag
    105 file	arch/sparc64/sparc64/bsd_fdintr.s	fdc
    106 
    107 attach	audiocs at ebus with audiocs_ebus
    108 file	arch/sparc64/dev/cs4231_ebus.c		audiocs_ebus
    109 
    110 #
    111 # Console related stuff
    112 #
    113 
    114 device zs {channel = -1}
    115 attach zs at mainbus, sbus
    116 file	arch/sparc64/dev/zs.c			zs needs-flag
    117 file	dev/ic/z8530sc.c			zs
    118 
    119 # siemens SAB82532; found on U5/U10/... for tty ports.
    120 #device sab {channel = -1}
    121 #attach sab at ebus
    122 #file	arch/sparc64/dev/sab_ebus.c		sab
    123 #file	dev/ic/sab82532.c			sab
    124 
    125 # "com" attachments for the kbd/mouse of the U5/U10/...
    126 attach com at ebus with com_ebus
    127 file	arch/sparc64/dev/com_ebus.c		com_ebus
    128 
    129 define zstty {}
    130 device zstty: tty
    131 attach zstty at zs
    132 file dev/ic/z8530tty.c			zstty needs-flag
    133 file arch/sparc/dev/zs_kgdb.c		kgdb
    134 
    135 #device sabtty: tty
    136 #attach sabtty at sab
    137 #file dev/ic/sabtty.c			sabtty needs-flag
    138 
    139 device kbd
    140 attach kbd at zs with kbd_zs
    141 attach kbd at zstty, com
    142 file dev/sun/kbd_zs.c			kbd_zs
    143 file dev/sun/kbd.c			kbd needs-flag
    144 file dev/sun/kbd_tables.c 		kbd
    145 file arch/sparc64/dev/kd.c 		kbd
    146 file dev/sun/sunkbd.c			kbd needs-flag
    147 
    148 device ms
    149 attach ms at zs with ms_zs
    150 attach ms at zstty, com
    151 file dev/sun/ms_zs.c			ms_zs
    152 file dev/sun/ms.c			ms needs-flag
    153 file dev/sun/sunms.c			ms needs-flag
    154 
    155 #
    156 # Machine-independent SCSI drivers
    157 #
    158 include "dev/scsipi/files.scsipi"
    159 
    160 major	{ cd = 18 }
    161 major	{ fd = 16 }
    162 major	{ md = 5 }
    163 major	{ sd = 7 }
    164 major	{ wd = 12 }
    165 
    166 # RAIDframe
    167 major 	{ raid = 25 }
    168 
    169 device cgfourteen
    170 attach cgfourteen at sbus
    171 file	arch/sparc64/dev/cgfourteen.c	cgfourteen needs-flag
    172 
    173 #
    174 # Generic Sun stuff
    175 #
    176 
    177 file	dev/cons.c
    178 file	arch/sparc64/dev/consinit.c
    179 
    180 file	arch/sparc/fpu/fpu.c
    181 file	arch/sparc/fpu/fpu_add.c
    182 file	arch/sparc/fpu/fpu_compare.c
    183 file	arch/sparc/fpu/fpu_div.c
    184 file	arch/sparc/fpu/fpu_explode.c
    185 file	arch/sparc/fpu/fpu_implode.c
    186 file	arch/sparc/fpu/fpu_mul.c
    187 file	arch/sparc/fpu/fpu_sqrt.c
    188 file	arch/sparc/fpu/fpu_subr.c
    189 
    190 # N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
    191 # identified the exact problem yet.  NOOPT_C suffices for now.
    192 file	arch/sparc64/sparc64/autoconf.c
    193 file	arch/sparc64/sparc64/cache.c
    194 file	arch/sparc64/sparc64/conf.c
    195 file	arch/sparc64/sparc64/emul.c
    196 file	arch/sparc64/sparc64/in_cksum.c
    197 file	netinet/in4_cksum.c		inet
    198 file	arch/sparc64/sparc64/intr.c
    199 file	arch/sparc64/sparc64/kgdb_machdep.c kgdb
    200 # sparc/sparc/locore.s is handled specially in the makefile,
    201 # because it must come first in the "ld" command line.
    202 file	arch/sparc64/sparc64/locore2.c
    203 file	arch/sparc64/sparc64/machdep.c
    204 file	arch/sparc64/sparc64/process_machdep.c
    205 file	arch/sparc64/sparc64/procfs_machdep.c	procfs
    206 file	arch/sparc64/sparc64/mem.c
    207 file	arch/sparc64/sparc64/openprom.c
    208 file	arch/sparc64/sparc64/openfirm.c
    209 file	arch/sparc64/sparc64/ofw_machdep.c
    210 file	arch/sparc64/sparc64/pmap.c
    211 # the following overrides the generic "sys_process.c"
    212 # commented out by deraadt
    213 #file	arch/sparc64/sparc64/sys_process.c
    214 file	arch/sparc64/sparc64/sys_machdep.c
    215 file	arch/sparc64/sparc64/trap.c
    216 file	arch/sparc64/sparc64/vm_machdep.c
    217 file	arch/sparc64/sparc64/disksubr.c
    218 
    219 file	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
    220 file	arch/sparc64/sparc64/db_trace.c	ddb
    221 file	arch/sparc64/sparc64/db_disasm.c	ddb
    222 #file 	ddb/db_aout.c			ddb_aout
    223 #file	ddb/db_elf.c			ddb
    224 
    225 #
    226 # Raster Console
    227 #
    228 include "dev/rcons/files.rcons"
    229 include "dev/wsfont/files.wsfont"
    230 
    231 #
    232 # Compatibility modules
    233 #
    234 
    235 # Binary compatiblity with previous NetBSD releases.
    236 file	arch/sparc64/sparc64/compat_13_machdep.c compat_13
    237 
    238 # NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
    239 include "compat/netbsd32/files.netbsd32"
    240 file	arch/sparc64/sparc64/netbsd32_machdep.c	compat_netbsd32
    241 
    242 # NetBSD a.out Binary Compatibility (COMPAT_AOUT)
    243 include "compat/aout/files.aout"
    244 
    245 # SVR4 Binary Compatibility (COMPAT_SVR4)
    246 include "compat/svr4/files.svr4"
    247 file	arch/sparc64/sparc64/svr4_machdep.c	compat_svr4
    248 
    249 # SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
    250 # (64-bit also depends on COMPAT_NETBSD32)
    251 include "compat/sunos/files.sunos"
    252 file	arch/sparc64/sparc64/sunos_machdep.c	compat_sunos & !compat_netbsd32
    253 include "compat/sunos32/files.sunos32"
    254 file	arch/sparc64/sparc64/sunos32_machdep.c	compat_sunos & compat_netbsd32
    255 
    256 # Miscellaneous
    257 file	netns/ns_cksum.c		ns
    258 
    259 file	arch/sparc64/dev/md_root.c	memory_disk_hooks
    260