Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/arch/sun3/conf Make "dma" a real device so it can a...



details:   https://anonhg.NetBSD.org/src/rev/895b4aedf359
branches:  netbsd-1-4
changeset: 468116:895b4aedf359
user:      gwr <gwr%NetBSD.org@localhost>
date:      Thu Apr 08 04:37:01 1999 +0000

description:
Make "dma" a real device so it can attach before esp.

diffstat:

 sys/arch/sun3/conf/files.sun3 |  272 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 272 insertions(+), 0 deletions(-)

diffs (276 lines):

diff -r 11aebe470932 -r 895b4aedf359 sys/arch/sun3/conf/files.sun3
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/sun3/conf/files.sun3     Thu Apr 08 04:37:01 1999 +0000
@@ -0,0 +1,272 @@
+#      $NetBSD: files.sun3,v 1.50.2.2 1999/04/08 04:37:01 gwr Exp $
+
+#
+# sun3-specific configuration info
+#
+
+# maxpartitions must be first item in files.${ARCH}
+maxpartitions 8
+
+maxusers 2 8 64
+
+# Standard stuff (Sun3-specific)
+file arch/sun3/sun3/bus_subr.c                 _sun3_
+file arch/sun3/sun3/cache.c                    _sun3_ & havecache
+file arch/sun3/sun3/control.c                  _sun3_
+file arch/sun3/sun3/ctrlsp.S                   _sun3_
+file arch/sun3/sun3/dvma.c                     _sun3_
+file arch/sun3/sun3/enable.c                   _sun3_
+file arch/sun3/sun3/locore2.c                  _sun3_
+file arch/sun3/sun3/machdep.c                  _sun3_
+file arch/sun3/sun3/mem.c                      _sun3_
+file arch/sun3/sun3/pmap.c                     _sun3_
+
+# Standard stuff (Sun3X-specific)
+file arch/sun3/sun3x/bus_subr.c                        _sun3x_
+file arch/sun3/sun3x/dvma.c                    _sun3x_
+file arch/sun3/sun3x/enable.c                  _sun3x_
+file arch/sun3/sun3x/locore2.c                 _sun3x_
+file arch/sun3/sun3x/machdep.c                 _sun3x_
+file arch/sun3/sun3x/mem.c                     _sun3x_
+file arch/sun3/sun3x/pmap.c                    _sun3x_
+
+# Standard stuff (common to Sun3 and Sun3X)
+file arch/sun3/sun3/autoconf.c
+file arch/sun3/sun3/conf.c
+file arch/sun3/sun3/db_machdep.c               ddb
+file arch/sun3/sun3/db_memrw.c                 ddb | kgdb
+file arch/sun3/sun3/disksubr.c
+file arch/sun3/sun3/fpu.c
+file arch/sun3/sun3/isr.c
+file arch/sun3/sun3/kgdb_machdep.c             kgdb
+file arch/sun3/sun3/leds.c
+file arch/sun3/sun3/stub.c
+file arch/sun3/sun3/sunmon.c
+file arch/sun3/sun3/sys_machdep.c
+file arch/sun3/sun3/trap.c
+file arch/sun3/sun3/vector.c
+file arch/sun3/sun3/vm_machdep.c
+
+include "arch/m68k/fpe/files.fpe"
+
+# Console support
+#file arch/sun3/sun3/cninit.c
+file dev/cons.c
+
+#
+# Bus types
+#
+
+device mainbus {}
+attach mainbus at root
+file   arch/sun3/sun3/mainbus.c
+
+# On-board I/O space (required).
+device obio {addr = -1, [ipl = -1], [vect = -1]}
+attach obio at mainbus
+file arch/sun3/sun3/obio.c             _sun3_
+file arch/sun3/sun3x/obio.c            _sun3x_
+
+# On-board MEMory space (optional).
+device obmem {addr = -1, [ipl = -1], [vect = -1]}
+attach obmem at mainbus
+file arch/sun3/sun3/obmem.c            obmem
+
+# VME (unit encodes address/data sizes)
+device vme {addr = -1, [ipl = -1], [vect = -1]}
+attach vme at mainbus
+file arch/sun3/sun3/vme.c              vme
+
+#
+# Machine-independent SCSI drivers
+#
+include "../../../dev/scsipi/files.scsipi"
+
+#
+# Devices and attributes needed below
+#
+
+device ie: ifnet, ether, arp
+file arch/sun3/dev/if_ie.c             ie
+
+device si: scsi, ncr5380sbc
+file   arch/sun3/dev/si.c              si
+
+define fb
+file arch/sun3/dev/fb.c                        fb needs-flag
+
+#
+# On-Board I/O (OBIO), in attach order.
+# The following are all required.
+#
+
+# The IDPROM could have a device config line, but this
+# driver has to do its initialization before autoconfig,
+# and there is nothing left to do at attach time.
+file arch/sun3/sun3/idprom.c           _sun3_
+file arch/sun3/sun3x/idprom.c          _sun3x_
+
+# Interrupt register
+device intreg
+attach intreg at obio
+file arch/sun3/sun3/intreg.c           intreg
+
+# Memory error register
+device memerr
+attach memerr at obio
+file arch/sun3/dev/memerr.c            memerr
+
+# Zilog Serial (ZS)
+device zsc {channel = -1}
+attach zsc at obio
+file arch/sun3/dev/zs.c                zsc needs-flag
+file dev/ic/z8530sc.c                  zsc
+
+# Intersil or Mostek clock
+device clock
+attach clock at obio
+device oclock
+attach oclock at obio
+file arch/sun3/sun3/clock.c            _sun3_
+file arch/sun3/sun3x/clock.c           _sun3x_
+file dev/clock_subr.c
+
+# EEPROM (or NV-RAM)
+device eeprom
+attach eeprom at obio
+file arch/sun3/dev/eeprom.c            eeprom
+
+# I/O MMU (a.k.a I/O mapper)
+device iommu
+attach iommu at obio
+file arch/sun3/sun3x/iommu.c           _sun3x_
+
+#
+# Optional OBIO devices
+#
+
+# device defined above
+attach ie at obio with ie_obio
+file arch/sun3/dev/if_ie_obio.c                ie_obio
+
+# device defined in sys/conf/files
+attach le at obio: le24
+file arch/sun3/dev/if_le.c             le
+
+# Sun3/60 on-board SCSI
+attach si at obio with si_obio
+file   arch/sun3/dev/si_obio.c         si_obio
+
+# Sun3/80 on-board SCSI
+device esp: scsi, ncr53c9x
+attach esp at obio
+file arch/sun3/dev/esp.c               esp
+device dma
+attach dma at obio
+file arch/sun3/dev/dma.c               dma | esp
+
+# Sun3/80 Floppy disk
+device fdc {}
+attach fdc at obio
+device fd: disk
+attach fd at fdc
+file arch/sun3/dev/fd.c                fdc | fd needs-flag
+
+# Sun3/80 printer port
+device pp
+attach pp at obio
+file arch/sun3/dev/pp.c                pp needs-flag
+
+#
+# On-Board MEMory (OBMEM)
+#
+
+device bwtwo: fb
+attach bwtwo at obmem
+file arch/sun3/dev/bw2.c               bwtwo needs-flag
+
+device cgfour: fb
+attach cgfour at obmem
+file arch/sun3/dev/cg4.c               cgfour needs-flag
+
+#
+# VME
+#
+
+attach ie at vme with ie_vme
+file arch/sun3/dev/if_ie_vme.c         ie_vme
+
+attach si at vme with si_vme
+file   arch/sun3/dev/si_vme.c          si_vme
+
+# Sun3/E SCSI+Ethernet board
+device sebuf {}
+attach sebuf at vme
+file   arch/sun3/dev/sebuf.c           sebuf
+attach ie at sebuf with ie_sebuf
+file   arch/sun3/dev/if_ie_sebuf.c     ie_sebuf
+attach si at sebuf with si_sebuf
+file   arch/sun3/dev/si_sebuf.c        si_sebuf
+
+device cgtwo: fb
+attach cgtwo at vme
+file arch/sun3/dev/cg2.c               cgtwo needs-flag
+
+device xyc {drive = -1}
+attach xyc at vme
+device xy: disk
+attach xy at xyc
+file   arch/sun3/dev/xy.c              xy | xyc needs-flag
+
+device xdc {drive = -1}
+attach xdc at vme
+device xd: disk
+attach xd at xdc
+file   arch/sun3/dev/xd.c              xd | xdc needs-flag
+
+
+#
+# Console (zs) related stuff
+#
+
+device zstty: tty
+attach zstty at zsc
+file dev/ic/z8530tty.c                 zstty needs-flag
+file arch/sun3/dev/zs_kgdb.c           kgdb
+
+define zsevent
+file dev/sun/event.c                   zsevent
+
+device kbd: zsevent
+attach kbd at zsc
+file dev/sun/kbd.c                     kbd needs-flag
+file dev/sun/kbd_tables.c              kbd
+file arch/sun3/dev/kd.c                kbd
+
+device ms: zsevent
+attach ms at zsc
+file dev/sun/ms.c                      ms needs-flag
+
+
+# Memory Disk for boot tape
+file arch/sun3/dev/md_root.c           memory_disk_hooks
+
+# Compatibility modules
+
+# SunOS Binary Compatibility (COMPAT_SUNOS)
+include "../../../compat/sunos/files.sunos"
+file   arch/m68k/m68k/sunos_machdep.c  compat_sunos
+
+# Linux binary compatibility (COMPAT_LINUX)
+include "compat/linux/files.linux"
+include "compat/linux/arch/m68k/files.linux_m68k"
+
+# OSS audio driver compatibility
+include "compat/ossaudio/files.ossaudio"
+
+# Major numbers for root/swap device configuration
+major  {xy=3}  # Xylogics 450 and 451
+major  {vnd=5} # vnode pseudo-device
+major  {sd=7}  # SCSI disk
+major  {xd=10} # Xylogics 7053
+major  {md=13} # Memory disk (for mini-kernel)



Home | Main Index | Thread Index | Old Index