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