Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun2/conf Updated with VME machine support, a.out c...



details:   https://anonhg.NetBSD.org/src/rev/96484a5d5d33
branches:  trunk
changeset: 511810:96484a5d5d33
user:      fredette <fredette%NetBSD.org@localhost>
date:      Wed Jun 27 16:51:20 2001 +0000

description:
Updated with VME machine support, a.out compat,
some zs and console changes.

diffstat:

 sys/arch/sun2/conf/DISKLESS |  60 +++++++++++++++++++-------------------
 sys/arch/sun2/conf/FOURMEG  |  69 ++++++++++++++++++++++----------------------
 sys/arch/sun2/conf/GENERIC  |  68 ++++++++++++++++++++++----------------------
 sys/arch/sun2/conf/INSTALL  |  68 ++++++++++++++++++++++----------------------
 sys/arch/sun2/conf/RAMDISK  |  66 +++++++++++++++++++++---------------------
 5 files changed, 166 insertions(+), 165 deletions(-)

diffs (truncated from 731 to 300 lines):

diff -r 553b0614ad43 -r 96484a5d5d33 sys/arch/sun2/conf/DISKLESS
--- a/sys/arch/sun2/conf/DISKLESS       Wed Jun 27 16:47:33 2001 +0000
+++ b/sys/arch/sun2/conf/DISKLESS       Wed Jun 27 16:51:20 2001 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: DISKLESS,v 1.2 2001/06/11 01:50:56 wiz Exp $
+# $NetBSD: DISKLESS,v 1.3 2001/06/27 16:51:20 fredette Exp $
 
 # DISKLESS Sun2 (2/120, 2/170, 2/50, ...)
 # Supports root on: ie0
 
 include "arch/sun2/conf/std.sun2"
 
-#ident                 "DISKLESS-$Revision: 1.2 $"
+#ident                 "DISKLESS-$Revision: 1.3 $"
 
 # Machines to be supported by this kernel
 #options       FPU_EMULATE
@@ -42,6 +42,8 @@
 # Compatibility options
 #options       COMPAT_SUNOS    # can run SunOS 4.1.1 executables
 options        COMPAT_43       # and 4.3BSD and ...
+options                COMPAT_AOUT_M68K # support for NetBSD a.out executables
+options                EXEC_AOUT       # support for a.out executables
 
 # Filesystem options
 #file-system   FFS             # Berkeley Fast Filesystem
@@ -88,48 +90,35 @@
 obmem0 at mainbus?             # all Sun-2
 mbmem0 at mainbus?             # 2/120, 2/170
 mbio0  at mainbus?             # 2/120, 2/170
-#sun2vme0      at mainbus?     # 2/50, 2/130, 2/160
-#vme0  at sun2vme0             # mi VME attachment
+sun68kvme0     at mainbus?     # 2/50, 2/130, 2/160
+vme0   at sun68kvme0           # mi VME attachment
 
 #### Standard system devices.
 
 ## The AM9513 clock chip.
 clock0  at obio0 addr 0x002800 # 2/120, 2/170
+clock0  at obio0 addr 0x7f2800 # 2/50, 2/130, 2/160
 
 ## The MM58167 time-of-day chip.
 tod0    at obio0 addr 0x003800 # 2/120, 2/170
-#tod0  at vme0 addr 0x200800   # 2/50, 2/130, 2/160
+tod0   at vme0 addr 0x200800   # 2/50, 2/130, 2/160
 
 #### Serial port configuration.
 
-## Zilog 8530 serial chips.  Each has two-channels.
+## Zilog 8530 serial chips.  Each has two channels.
 ## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
 ## zs0 is REQUIRED to use KGDB.
 zs0    at obio0 addr 0x002000  # 2/120, 2/170
-#zs0   at obio0 addr 0x7f2000  # 2/50
-zstty0 at zs0 channel 0        # ttya
-zstty1 at zs0 channel 1        # ttyb
-
+zs0    at obio0 addr 0x7f2000  # 2/50
 zs1    at obmem0 addr 0x780000 # 2/120, 2/170
-#zs1   at obio0 addr 0x7f1800  # 2/50
-kbd0   at zs1 channel 0        # keyboard
-ms0    at zs1 channel 1        # mouse
-
+zs1    at obio0 addr 0x7f1800  # 2/50
 #zs2   at mbmem0 addr 0x080800 # 2/120, 2/170 (first sc SCSI)
-#zstty2        at zs2 channel 0        # ttyc
-#zstty3        at zs2 channel 1        # ttyd
-
 #zs3   at mbmem0 addr 0x081000 # 2/120, 2/170 (first sc SCSI)
-#zstty4        at zs3 channel 0        # ttye
-#zstty5        at zs3 channel 1        # ttyf
-
 #zs4   at mbmem0 addr 0x084800 # 2/120, 2/170 (second sc SCSI)
-#zstty6        at zs4 channel 0        # ttyg
-#zstty7        at zs4 channel 1        # ttyh
-
 #zs5   at mbmem0 addr 0x085000 # 2/120, 2/170 (second sc SCSI)
-#zstty8        at zs4 channel 0        # ttyi
-#zstty9        at zs4 channel 1        # ttyj
+zstty* at zs? channel ?        # ttya
+kbd0   at zstty?               # keyboard
+ms0    at zstty?               # mouse
 
 #### Disk controllers and disks.
 
@@ -145,7 +134,7 @@
 ## and disable parity for targets 0-3
 
 #sc0   at mbmem0 addr 0x80000 ipl 2 flags 0xff
-#sc0 at vme0  addr 0x200000 ipl 2 vect 0x40 flags 0xff
+#sc0 at vme0  addr 0x200000 irq 2 vect 0x40 flags 0xff
 #sc1   at mbmem0 addr 0x84000 ipl 2 flags 0xff
 
 ## NCR5380-based "Sun SCSI 3" VME SCSI controller.
@@ -162,7 +151,7 @@
 ##
 ## By default, DMA is enabled in the driver.
 
-#si0   at vme0 addr 0x200000 ipl 2 vect 0x40
+#si0   at vme0 addr 0x200000 irq 2 vect 0x40
 
 ## These entries find devices on all SCSI busses and assign
 ## unit numbers dynamically.
@@ -189,14 +178,25 @@
 #### Network interfaces.
 
 ## Intel Ethernet (onboard, or Multibus/VME)
-#ie0   at obio0 0x7f0800 ipl 3         # 2/50
+ie0    at obio0 addr 0x7f0800 ipl 3            # 2/50
 ie0    at mbmem0 addr 0x88000 ipl 3
+ie1    at mbmem0 addr 0x8c000 ipl 3
+## VME: the first [addr,len] pair specifies the device registers;
+##     the second pair specifies the on-board memory buffer
+ie1    at vme0 addr 0xe88000,0xe00000 len -1,0x40000 irq 3 vect 0x75
+
+## 3Com Ethernet (Multibus only)
+ec0    at mbmem0 addr 0xe0000 ipl 3
+ec1    at mbmem0 addr 0xe2000 ipl 3
 
 ## Frame buffers.
 
 ## Sun "bwtwo" black and white framebuffer.
-bwtwo0  at obmem0 addr 0x00700000      # 2/120, 2/170
-#bwtwo0        at obio0 addr 0x0               # 2/50
+bwtwo0  at obmem0 addr 0x700000        # 2/120, 2/170
+bwtwo0 at obio0 addr 0x0       # 2/50
+
+## PROM console driver -- if all else fails
+pcons0 at mainbus0                     # PROM console
 
 #### Miscellaneous.
 pseudo-device  loop            1       # network loopback
diff -r 553b0614ad43 -r 96484a5d5d33 sys/arch/sun2/conf/FOURMEG
--- a/sys/arch/sun2/conf/FOURMEG        Wed Jun 27 16:47:33 2001 +0000
+++ b/sys/arch/sun2/conf/FOURMEG        Wed Jun 27 16:51:20 2001 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: FOURMEG,v 1.3 2001/06/11 01:50:56 wiz Exp $
+# $NetBSD: FOURMEG,v 1.4 2001/06/27 16:51:20 fredette Exp $
 
 # FOURMEG Sun2 (2/120, 2/170, 2/50, ...)
 # Supports root on: ie0, sd*, ...
 
 include "arch/sun2/conf/std.sun2"
 
-#ident                 "FOURMEG-$Revision: 1.3 $"
+#ident                 "FOURMEG-$Revision: 1.4 $"
 
 # Machines to be supported by this kernel
 #options       FPU_EMULATE
@@ -42,6 +42,8 @@
 # Compatibility options
 #options       COMPAT_SUNOS    # can run SunOS 4.1.1 executables
 #options       COMPAT_43       # and 4.3BSD and ...
+options                COMPAT_AOUT_M68K # support for NetBSD a.out executables
+options                EXEC_AOUT       # support for a.out executables
 
 # Filesystem options
 file-system    FFS             # Berkeley Fast Filesystem
@@ -88,47 +90,35 @@
 obmem0 at mainbus?             # all Sun-2
 mbmem0 at mainbus?             # 2/120, 2/170
 mbio0  at mainbus?             # 2/120, 2/170
-#sun2vme0      at mainbus?     # 2/50, 2/130, 2/160
-#vme0  at sun2vme0             # mi VME attachment
+sun68kvme0     at mainbus?     # 2/50, 2/130, 2/160
+vme0   at sun68kvme0           # mi VME attachment
 
 #### Standard system devices.
 
 ## The AM9513 clock chip.
 clock0  at obio0 addr 0x002800 # 2/120, 2/170
+clock0  at obio0 addr 0x7f2800 # 2/50, 2/130, 2/160
 
 ## The MM58167 time-of-day chip.
 tod0    at obio0 addr 0x003800 # 2/120, 2/170
-#tod0  at vme0 addr 0x200800   # 2/50, 2/130, 2/160
+tod0   at vme0 addr 0x200800   # 2/50, 2/130, 2/160
 
 #### Serial port configuration.
 
-## Zilog 8530 serial chips.  Each has two-channels.
+## Zilog 8530 serial chips.  Each has two channels.
 ## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
+## zs0 is REQUIRED to use KGDB.
 zs0    at obio0 addr 0x002000  # 2/120, 2/170
-#zs0   at obio0 addr 0x7f2000  # 2/50
-zstty0 at zs0 channel 0        # ttya
-zstty1 at zs0 channel 1        # ttyb
-
+zs0    at obio0 addr 0x7f2000  # 2/50
 zs1    at obmem0 addr 0x780000 # 2/120, 2/170
-#zs1   at obio0 addr 0x7f1800  # 2/50
-kbd0   at zs1 channel 0        # keyboard
-ms0    at zs1 channel 1        # mouse
-
+zs1    at obio0 addr 0x7f1800  # 2/50
 zs2    at mbmem0 addr 0x080800 # 2/120, 2/170 (first sc SCSI)
-zstty2 at zs2 channel 0        # ttyc
-zstty3 at zs2 channel 1        # ttyd
-
 zs3    at mbmem0 addr 0x081000 # 2/120, 2/170 (first sc SCSI)
-zstty4 at zs3 channel 0        # ttye
-zstty5 at zs3 channel 1        # ttyf
-
 zs4    at mbmem0 addr 0x084800 # 2/120, 2/170 (second sc SCSI)
-zstty6 at zs4 channel 0        # ttyg
-zstty7 at zs4 channel 1        # ttyh
-
 zs5    at mbmem0 addr 0x085000 # 2/120, 2/170 (second sc SCSI)
-zstty8 at zs4 channel 0        # ttyi
-zstty9 at zs4 channel 1        # ttyj
+zstty* at zs? channel ?        # ttya
+kbd0   at zstty?               # keyboard
+ms0    at zstty?               # mouse
 
 #### Disk controllers and disks.
 
@@ -144,7 +134,7 @@
 ## and disable parity for targets 0-3
 
 sc0    at mbmem0 addr 0x80000 ipl 2 flags 0xff
-#sc0 at vme0  addr 0x200000 ipl 2 vect 0x40 flags 0xff
+sc0 at vme0  addr 0x200000 irq 2 vect 0x40 flags 0xff
 sc1    at mbmem0 addr 0x84000 ipl 2 flags 0xff
 
 ## NCR5380-based "Sun SCSI 3" VME SCSI controller.
@@ -161,12 +151,12 @@
 ##
 ## By default, DMA is enabled in the driver.
 
-#si0   at vme0 addr 0x200000 ipl 2 vect 0x40
+si0    at vme0 addr 0x200000 irq 2 vect 0x40
 
 ## These entries find devices on all SCSI busses and assign
 ## unit numbers dynamically.
 scsibus* at sc?
-#scsibus* at si?
+scsibus* at si?
 sd*    at scsibus? target ? lun ?              # SCSI disks
 st*    at scsibus? target ? lun ?              # SCSI tapes
 cd*    at scsibus? target ? lun ?              # SCSI CD-ROMs
@@ -177,10 +167,10 @@
 
 ## Xylogics 450 or 451 Multibus/VME SMD disk controllers and disks.
 #xyc0  at mbio0 addr 0xee40 ipl 2 
-#xyc0  at vme0 addr 0xee40 ipl 2 vect 0x48
+xyc0   at vme0 addr 0xee40 irq 2 vect 0x48
 #xyc1  at mbio0 addr 0xee48 ipl 2 
-#xyc1  at vme0 addr 0xee48 ipl 2 vect 0x49
-#xy*   at xyc? drive ?
+xyc1   at vme0 addr 0xee48 irq 2 vect 0x49
+xy*    at xyc? drive ?
 
 ## Memory-disk device.
 pseudo-device  md              2
@@ -188,14 +178,25 @@
 #### Network interfaces.
 
 ## Intel Ethernet (onboard, or Multibus/VME)
-#ie0   at obio0 0x7f0800 ipl 3         # 2/50
+ie0    at obio0 addr 0x7f0800 ipl 3            # 2/50
 ie0    at mbmem0 addr 0x88000 ipl 3
+ie1    at mbmem0 addr 0x8c000 ipl 3
+## VME: the first [addr,len] pair specifies the device registers;
+##     the second pair specifies the on-board memory buffer
+ie1    at vme0 addr 0xe88000,0xe00000 len -1,0x40000 irq 3 vect 0x75
+
+## 3Com Ethernet (Multibus only)
+ec0    at mbmem0 addr 0xe0000 ipl 3
+ec1    at mbmem0 addr 0xe2000 ipl 3
 
 ## Frame buffers.
 
 ## Sun "bwtwo" black and white framebuffer.
-bwtwo0  at obmem0 addr 0x00700000      # 2/120, 2/170
-#bwtwo0        at obio0 addr 0x0               # 2/50
+bwtwo0  at obmem0 addr 0x700000        # 2/120, 2/170
+bwtwo0 at obio0 addr 0x0       # 2/50
+
+## PROM console driver -- if all else fails
+pcons0 at mainbus0                     # PROM console
 
 #### Miscellaneous.
 pseudo-device  loop            1       # network loopback
diff -r 553b0614ad43 -r 96484a5d5d33 sys/arch/sun2/conf/GENERIC
--- a/sys/arch/sun2/conf/GENERIC        Wed Jun 27 16:47:33 2001 +0000
+++ b/sys/arch/sun2/conf/GENERIC        Wed Jun 27 16:51:20 2001 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: GENERIC,v 1.3 2001/06/11 01:50:56 wiz Exp $
+# $NetBSD: GENERIC,v 1.4 2001/06/27 16:51:20 fredette Exp $
 
 # GENERIC Sun2 (2/120, 2/170, 2/50, ...)
 # Supports root on: ie0, sd*, ...
 
 include "arch/sun2/conf/std.sun2"
 
-#ident                 "GENERIC-$Revision: 1.3 $"
+#ident                 "GENERIC-$Revision: 1.4 $"
 
 # Machines to be supported by this kernel



Home | Main Index | Thread Index | Old Index