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