Home | History | Annotate | Line # | Download | only in conf
files.sun3 revision 1.58
      1 #	$NetBSD: files.sun3,v 1.58 2000/11/03 05:52:42 tsutsui Exp $
      2 
      3 #
      4 # sun3-specific configuration info
      5 #
      6 
      7 # maxpartitions must be first item in files.${ARCH}
      8 maxpartitions 8
      9 
     10 maxusers 2 8 64
     11 
     12 # Standard stuff (Sun3-specific)
     13 file arch/sun3/sun3/bus_subr.c			_sun3_
     14 file arch/sun3/sun3/cache.c			_sun3_ & havecache
     15 file arch/sun3/sun3/control.c			_sun3_
     16 file arch/sun3/sun3/ctrlsp.S			_sun3_
     17 file arch/sun3/sun3/dvma.c			_sun3_
     18 file arch/sun3/sun3/enable.c			_sun3_
     19 file arch/sun3/sun3/locore2.c			_sun3_
     20 file arch/sun3/sun3/machdep.c			_sun3_
     21 file arch/sun3/sun3/mem.c			_sun3_
     22 file arch/sun3/sun3/pmap.c			_sun3_
     23 
     24 # Standard stuff (Sun3X-specific)
     25 file arch/sun3/sun3x/bus_subr.c			_sun3x_
     26 file arch/sun3/sun3x/dvma.c			_sun3x_
     27 file arch/sun3/sun3x/enable.c			_sun3x_
     28 file arch/sun3/sun3x/locore2.c			_sun3x_
     29 file arch/sun3/sun3x/machdep.c			_sun3x_
     30 file arch/sun3/sun3x/mem.c			_sun3x_
     31 file arch/sun3/sun3x/pmap.c			_sun3x_
     32 
     33 # Standard stuff (common to Sun3 and Sun3X)
     34 file arch/sun3/sun3/autoconf.c
     35 file arch/sun3/sun3/conf.c
     36 file arch/sun3/sun3/db_machdep.c		ddb
     37 file arch/sun3/sun3/db_memrw.c  		ddb | kgdb
     38 file arch/sun3/sun3/disksubr.c
     39 file arch/sun3/sun3/fpu.c
     40 file arch/sun3/sun3/isr.c
     41 file arch/sun3/sun3/kgdb_machdep.c 		kgdb
     42 file arch/sun3/sun3/leds.c
     43 file arch/sun3/sun3/stub.c
     44 file arch/sun3/sun3/sunmon.c
     45 file arch/sun3/sun3/sys_machdep.c
     46 file arch/sun3/sun3/trap.c
     47 file arch/sun3/sun3/vector.c
     48 file arch/sun3/sun3/vm_machdep.c
     49 
     50 include "arch/m68k/fpe/files.fpe"
     51 
     52 # Console support
     53 #file arch/sun3/sun3/cninit.c
     54 file dev/cons.c
     55 
     56 #
     57 # Bus types
     58 #
     59 
     60 device mainbus {}
     61 attach mainbus at root
     62 file	arch/sun3/sun3/mainbus.c
     63 
     64 # On-board I/O space (required).
     65 device obio {addr = -1, [ipl = -1], [vect = -1]}
     66 attach obio at mainbus
     67 file arch/sun3/sun3/obio.c		_sun3_
     68 file arch/sun3/sun3x/obio.c		_sun3x_
     69 
     70 # On-board MEMory space (optional).
     71 device obmem {addr = -1, [ipl = -1], [vect = -1]}
     72 attach obmem at mainbus
     73 file arch/sun3/sun3/obmem.c		obmem
     74 
     75 # VME (unit encodes address/data sizes)
     76 device vme {addr = -1, [ipl = -1], [vect = -1]}
     77 attach vme at mainbus
     78 file arch/sun3/sun3/vme.c		vme
     79 
     80 #
     81 # Machine-independent SCSI drivers
     82 #
     83 include "dev/scsipi/files.scsipi"
     84 
     85 #
     86 # Devices and attributes needed below
     87 #
     88 
     89 device ie: ifnet, ether, arp
     90 file arch/sun3/dev/if_ie.c		ie
     91 
     92 device si: scsi, ncr5380sbc
     93 file	arch/sun3/dev/si.c		si
     94 
     95 define fb
     96 file arch/sun3/dev/fb.c			fb needs-flag
     97 
     98 #
     99 # On-Board I/O (OBIO), in attach order.
    100 # The following are all required.
    101 #
    102 
    103 # The IDPROM could have a device config line, but this
    104 # driver has to do its initialization before autoconfig,
    105 # and there is nothing left to do at attach time.
    106 file arch/sun3/sun3/idprom.c		_sun3_
    107 file arch/sun3/sun3x/idprom.c		_sun3x_
    108 
    109 # Interrupt register
    110 device intreg
    111 attach intreg at obio
    112 file arch/sun3/sun3/intreg.c		intreg
    113 
    114 # Memory error register
    115 device memerr
    116 attach memerr at obio
    117 file arch/sun3/dev/memerr.c		memerr
    118 
    119 # Zilog Serial (ZS)
    120 device zsc {channel = -1}
    121 attach zsc at obio
    122 file arch/sun3/dev/zs.c 		zsc needs-flag
    123 file dev/ic/z8530sc.c			zsc
    124 
    125 # Intersil or Mostek clock
    126 device clock
    127 attach clock at obio
    128 device oclock
    129 attach oclock at obio
    130 file arch/sun3/sun3/clock.c		_sun3_
    131 file arch/sun3/sun3x/clock.c		_sun3x_
    132 file dev/clock_subr.c
    133 
    134 # EEPROM (or NV-RAM)
    135 device eeprom
    136 attach eeprom at obio
    137 file arch/sun3/dev/eeprom.c		eeprom
    138 
    139 # I/O MMU (a.k.a I/O mapper)
    140 device iommu
    141 attach iommu at obio
    142 file arch/sun3/sun3x/iommu.c		_sun3x_
    143 
    144 #
    145 # Optional OBIO devices
    146 #
    147 
    148 # device defined above
    149 attach ie at obio with ie_obio
    150 file arch/sun3/dev/if_ie_obio.c		ie_obio
    151 
    152 # device defined in sys/conf/files
    153 attach le at obio: le24
    154 file arch/sun3/dev/if_le.c		le
    155 
    156 # Sun3/60 on-board SCSI
    157 attach si at obio with si_obio
    158 file	arch/sun3/dev/si_obio.c		si_obio
    159 
    160 # Sun3/80 on-board SCSI
    161 attach esp at obio
    162 file arch/sun3/dev/esp.c		esp
    163 device dma
    164 attach dma at obio
    165 file arch/sun3/dev/dma.c		dma | esp
    166 
    167 # Sun3/80 Floppy disk
    168 device fdc {}
    169 attach fdc at obio
    170 device fd: disk
    171 attach fd at fdc
    172 file arch/sun3/dev/fd.c		fdc | fd needs-flag
    173 
    174 # Sun3/80 printer port
    175 device pp
    176 attach pp at obio
    177 file arch/sun3/dev/pp.c		pp needs-flag
    178 
    179 #
    180 # On-Board MEMory (OBMEM)
    181 #
    182 
    183 device bwtwo: fb
    184 attach bwtwo at obmem
    185 file arch/sun3/dev/bw2.c		bwtwo needs-flag
    186 
    187 device cgfour: fb
    188 attach cgfour at obmem
    189 file arch/sun3/dev/cg4.c		cgfour needs-flag
    190 
    191 #
    192 # VME
    193 #
    194 
    195 attach ie at vme with ie_vme
    196 file arch/sun3/dev/if_ie_vme.c		ie_vme
    197 
    198 attach si at vme with si_vme
    199 file	arch/sun3/dev/si_vme.c		si_vme
    200 
    201 # Sun3/E SCSI+Ethernet board
    202 device sebuf {}
    203 attach sebuf at vme
    204 file	arch/sun3/dev/sebuf.c		sebuf
    205 attach ie at sebuf with ie_sebuf
    206 file	arch/sun3/dev/if_ie_sebuf.c	ie_sebuf
    207 attach si at sebuf with si_sebuf
    208 file	arch/sun3/dev/si_sebuf.c	si_sebuf
    209 
    210 device cgtwo: fb
    211 attach cgtwo at vme
    212 file arch/sun3/dev/cg2.c		cgtwo needs-flag
    213 
    214 device	xyc {drive = -1}
    215 attach	xyc at vme
    216 device	xy: disk
    217 attach	xy at xyc
    218 file	arch/sun3/dev/xy.c		xy | xyc needs-flag
    219 
    220 device	xdc {drive = -1}
    221 attach	xdc at vme
    222 device	xd: disk
    223 attach	xd at xdc
    224 file	arch/sun3/dev/xd.c		xd | xdc needs-flag
    225 
    226 
    227 #
    228 # Console (zs) related stuff
    229 #
    230 
    231 device zstty: tty
    232 attach zstty at zsc
    233 file dev/ic/z8530tty.c			zstty needs-flag
    234 file arch/sun3/dev/zs_kgdb.c		kgdb
    235 
    236 define zsevent
    237 file dev/sun/event.c			zsevent
    238 
    239 device kbd: zsevent
    240 attach kbd at zsc with kbd_zs
    241 file dev/sun/kbd_zs.c			kbd_zs
    242 file dev/sun/kbd.c			kbd needs-flag
    243 file dev/sun/kbd_tables.c 		kbd
    244 file arch/sun3/dev/kd.c 		kbd
    245 
    246 device ms: zsevent
    247 attach ms at zsc with ms_zs
    248 file dev/sun/ms_zs.c			ms_zs
    249 file dev/sun/ms.c			ms needs-flag
    250 
    251 
    252 # Memory Disk for boot tape
    253 file dev/md_root.c			memory_disk_hooks
    254 
    255 # Compatibility modules
    256 
    257 # SunOS Binary Compatibility (COMPAT_SUNOS)
    258 include "compat/sunos/files.sunos"
    259 file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
    260 
    261 # SVR4 Binary Compatibility (COMPAT_SVR4)
    262 include "compat/svr4/files.svr4"
    263 
    264 # Linux binary compatibility (COMPAT_LINUX)
    265 include "compat/linux/files.linux"
    266 include "compat/linux/arch/m68k/files.linux_m68k"
    267 
    268 # OSS audio driver compatibility
    269 include "compat/ossaudio/files.ossaudio"
    270 
    271 # Major numbers for root/swap device configuration
    272 major	{xy=3}	# Xylogics 450 and 451
    273 major	{sd=7}	# SCSI disk
    274 major	{xd=10}	# Xylogics 7053
    275 major	{md=13}	# Memory disk (for mini-kernel)
    276 major	{raid=25} # RAIDframe
    277