Home | History | Annotate | Line # | Download | only in conf
files.sparc64 revision 1.81
      1 #	$NetBSD: files.sparc64,v 1.81 2003/07/27 01:19:32 thorpej 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 dev/ic/elink3.c		compile-with "${NOOPT_C}"
     20 file net/if_ppp.c		compile-with "${NOOPT_C}"
     21 file net/if_loop.c		compile-with "${NOOPT_C}"
     22 file net/if_sl.c		compile-with "${NOOPT_C}"
     23 file ufs/lfs/lfs_debug.c	compile-with "${NOOPT_C}"
     24 
     25 #
     26 # XXXXXXXXXXX
     27 #
     28 
     29 define mainbus {}
     30 device mainbus: mainbus
     31 attach mainbus at root
     32 
     33 device pcons
     34 attach pcons at mainbus
     35 file	arch/sparc64/dev/pcons.c		pcons needs-flag
     36 
     37 include "dev/sun/files.sun"
     38 include "dev/i2o/files.i2o"
     39 
     40 include "dev/sbus/files.sbus"
     41 attach sbus at mainbus
     42 file	arch/sparc64/dev/sbus.c			sbus
     43 
     44 device	psycho: pcibus, sysmon_power, sysmon_taskq
     45 attach	psycho at mainbus
     46 include "dev/pci/files.pci"
     47 file	arch/sparc64/dev/psycho.c		psycho
     48 file	arch/sparc64/dev/pci_machdep.c		psycho
     49 
     50 # IOMMU is for both
     51 file	arch/sparc64/dev/iommu.c		sbus | psycho
     52 
     53 include "dev/ata/files.ata"
     54 
     55 device ebus {[addr = -1]}: pcibus
     56 attach ebus at pci
     57 file	arch/sparc64/dev/ebus.c			ebus
     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 
     73 device power
     74 attach power at sbus, ebus
     75 file	arch/sparc64/dev/power.c		power
     76 
     77 device cpu
     78 attach cpu at mainbus
     79 file	arch/sparc64/sparc64/cpu.c
     80 
     81 # XXX bogus; this is in dev/isa/files.isa.  fix me please!
     82 # XXX we should attach a `bpp'-style device here rather than
     83 # `lpt' because the `bpp' driver supports DMA.
     84 device	lpt
     85 file	dev/ic/lpt.c				lpt needs-flag
     86 
     87 device	auxio
     88 attach	auxio at ebus with auxio_ebus
     89 attach	auxio at sbus with auxio_sbus
     90 file	arch/sparc64/dev/auxio.c		auxio
     91 
     92 defflag	opt_auxio.h	BLINK
     93 
     94 attach lpt at ebus with lpt_ebus
     95 file	arch/sparc64/dev/lpt_ebus.c		lpt_ebus
     96 
     97 device fdc {}
     98 attach fdc at mainbus, sbus, ebus
     99 # attach fdc at ebus
    100 device fd: disk
    101 attach fd at fdc
    102 file	dev/sun/fd.c				fdc | fd needs-flag
    103 file	arch/sparc64/sparc64/bsd_fdintr.s	fdc
    104 
    105 attach	audiocs at ebus with audiocs_ebus
    106 file	dev/ebus/cs4231_ebus.c			audiocs_ebus
    107 
    108 # PCMCIA bus (references fdc)
    109 include "dev/pcmcia/files.pcmcia"
    110 
    111 # CardBus Support
    112 include "dev/cardbus/files.cardbus"
    113 file	arch/sparc64/sparc64/rbus_machdep.c	cardbus
    114 
    115 #
    116 # Console related stuff
    117 #
    118 
    119 device zs {channel = -1}
    120 attach zs at mainbus, sbus
    121 file	arch/sparc64/dev/zs.c			zs needs-flag
    122 file	dev/ic/z8530sc.c			zs
    123 
    124 # siemens SAB82532; found on U5/U10/... for tty ports.
    125 device sab {channel = -1}
    126 attach sab at ebus
    127 file	arch/sparc64/dev/sab.c			sab | sabtty needs-flag
    128 
    129 # "com" attachments for the kbd/mouse of the U5/U10/...
    130 attach com at ebus with com_ebus
    131 file	arch/sparc64/dev/com_ebus.c		com_ebus
    132 
    133 device zstty {}: tty
    134 attach zstty at zs
    135 file dev/ic/z8530tty.c			zstty needs-flag
    136 # file arch/sparc/dev/zs_kgdb.c		kgdb
    137 
    138 device sabtty {}: tty
    139 attach sabtty at sab
    140 
    141 file arch/sparc64/dev/kd.c 		kbd
    142 
    143 attach kbd at zs with kbd_zs
    144 attach kbd at zstty, com with kbd_tty
    145 file dev/sun/kbd_zs.c			kbd_zs
    146 file dev/sun/sunkbd.c			kbd_tty
    147 file dev/sun/kbdsun.c			kbd_zs | kbd_tty
    148 
    149 attach ms at zs with ms_zs
    150 attach ms at zstty, com with ms_tty
    151 file dev/sun/ms_zs.c			ms_zs
    152 file dev/sun/sunms.c			ms_tty
    153 
    154 #
    155 # Machine-independent SCSI drivers
    156 #
    157 include "dev/scsipi/files.scsipi"
    158 
    159 device cgfourteen
    160 attach cgfourteen at sbus
    161 file	arch/sparc64/dev/cgfourteen.c	cgfourteen needs-flag
    162 
    163 device ffb: wsemuldisplaydev, rasops8, rasops16, rasops24, rasops32, fb
    164 file	arch/sparc64/dev/ffb.c			ffb
    165 
    166 attach ffb at mainbus with ffb_mainbus
    167 file	arch/sparc64/dev/ffb_mainbus.c		ffb_mainbus
    168 
    169 # CP1500/1400 watchdog timer
    170 device	pldwdog: sysmon_wdog
    171 attach	pldwdog at ebus
    172 file	arch/sparc64/dev/pld_wdog.c		pldwdog
    173 
    174 #
    175 # Generic Sun stuff
    176 #
    177 
    178 file	dev/cons.c
    179 file	arch/sparc64/dev/consinit.c
    180 file	kern/kern_microtime.c
    181 
    182 file	arch/sparc/fpu/fpu.c
    183 file	arch/sparc/fpu/fpu_add.c
    184 file	arch/sparc/fpu/fpu_compare.c
    185 file	arch/sparc/fpu/fpu_div.c
    186 file	arch/sparc/fpu/fpu_explode.c
    187 file	arch/sparc/fpu/fpu_implode.c
    188 file	arch/sparc/fpu/fpu_mul.c
    189 file	arch/sparc/fpu/fpu_sqrt.c
    190 file	arch/sparc/fpu/fpu_subr.c
    191 
    192 file	arch/sparc64/sparc64/autoconf.c
    193 file	arch/sparc64/sparc64/emul.c
    194 file	arch/sparc64/sparc64/in_cksum.S
    195 file	arch/sparc64/sparc64/in4_cksum.c	inet
    196 file	arch/sparc64/sparc64/intr.c
    197 file	arch/sparc64/sparc64/kgdb_machdep.c	kgdb
    198 # sparc/sparc/locore.s is handled specially in the makefile,
    199 # because it must come first in the "ld" command line.
    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 file	arch/sparc64/sparc64/sys_machdep.c
    209 file	arch/sparc64/sparc64/trap.c
    210 file	arch/sparc64/sparc64/vm_machdep.c
    211 file	arch/sparc64/sparc64/disksubr.c
    212 
    213 file	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
    214 file	arch/sparc64/sparc64/db_trace.c	ddb
    215 file	arch/sparc64/sparc64/db_disasm.c	ddb
    216 
    217 #
    218 # Raster Console support
    219 #
    220 include "dev/wscons/files.wscons"
    221 include "dev/wsfont/files.wsfont"
    222 
    223 # USB Support
    224 include "dev/usb/files.usb"
    225 
    226 # IEEE1394 Support
    227 include "dev/ieee1394/files.ieee1394"
    228 
    229 #
    230 # Compatibility modules
    231 #
    232 
    233 # Binary compatibility with previous NetBSD releases.
    234 file	arch/sparc64/sparc64/compat_13_machdep.c compat_13
    235 
    236 # NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
    237 include "compat/netbsd32/files.netbsd32"
    238 file	arch/sparc64/sparc64/netbsd32_machdep.c	compat_netbsd32
    239 file	arch/sparc64/sparc64/netbsd32_sigcode.s	compat_netbsd32
    240 
    241 # NetBSD a.out Binary Compatibility (COMPAT_AOUT)
    242 include "compat/aout/files.aout"
    243 
    244 # SVR4 Binary Compatibility (COMPAT_SVR4)
    245 include "compat/svr4/files.svr4"
    246 file	arch/sparc64/sparc64/svr4_machdep.c	compat_svr4
    247 file	arch/sparc64/sparc64/svr4_sigcode64.s	compat_svr4 & exec_elf64
    248 
    249 # 32-bit SVR4 Binary Compatibility (COMPAT_SVR4_32)
    250 include "compat/svr4_32/files.svr4_32"
    251 file	arch/sparc64/sparc64/svr4_32_machdep.c	compat_svr4_32
    252 file	arch/sparc64/sparc64/svr4_32_sigcode.s	compat_svr4_32 | (compat_svr4 & !exec_elf64)
    253 
    254 # SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
    255 # (64-bit also depends on COMPAT_NETBSD32)
    256 include "compat/sunos/files.sunos"
    257 file	arch/sparc64/sparc64/sunos_sigcode.s	compat_sunos
    258 file	arch/sparc64/sparc64/sunos_machdep.c	compat_sunos & !compat_netbsd32
    259 include "compat/sunos32/files.sunos32"
    260 file	arch/sparc64/sparc64/sunos32_machdep.c	compat_sunos & compat_netbsd32
    261 
    262 # Miscellaneous
    263 file	netns/ns_cksum.c		ns
    264 
    265 file	dev/md_root.c			memory_disk_hooks
    266 
    267 include "arch/sparc64/conf/majors.sparc64"
    268