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