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