summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-04-13 22:55:53 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-04-13 22:55:53 +0000
commit1f1416cd0f9b46a5dab104464331473d979ccad7 (patch)
treeface1a1bdffbb55f8b1c57796af56385a4a924be /sys/arch/sparc/conf
parent993dd75582bc1c1f6b4d565dff589cc656c46672 (diff)
Add a simple driver for the SBus ``Prestoserve'' NVRAM cards.
The Legato Prestoserve NFS accelerator used to be very popular, back when NFSv3 did not exist, and disks and network speeds were not as good as they are now... This driver does not attempt to play any game with filesystems, but will only provide access to the cards NVRAM, as a block device. If you have bright ideas on ``what to do with a few MB of battery-backed memory'', I am interested in realistic suggestions!
Diffstat (limited to 'sys/arch/sparc/conf')
-rw-r--r--sys/arch/sparc/conf/GENERIC5
-rw-r--r--sys/arch/sparc/conf/files.sparc9
2 files changed, 11 insertions, 3 deletions
diff --git a/sys/arch/sparc/conf/GENERIC b/sys/arch/sparc/conf/GENERIC
index 5fa3261bdfe..252a82f6edc 100644
--- a/sys/arch/sparc/conf/GENERIC
+++ b/sys/arch/sparc/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.62 2003/03/09 02:30:45 miod Exp $
+# $OpenBSD: GENERIC,v 1.63 2003/04/13 22:55:48 miod Exp $
# $NetBSD: GENERIC,v 1.48 1997/08/23 19:19:01 mjacob Exp $
# Machine architecture; required by config(8)
@@ -320,4 +320,7 @@ fd* at fdc0 # the drive itself
#fvme* at fga0 # FORCE CPU-5V
#daadio* at fvme? addr 0x0 level 1 vect 0x1f # Matrix MD-DAADIO board
+# Prestoserve NVRAM
+#presto* at sbus? slot ? offset ?
+
#pseudo-device strip 1 # radio clock
diff --git a/sys/arch/sparc/conf/files.sparc b/sys/arch/sparc/conf/files.sparc
index de9af4e574a..88e554b3b35 100644
--- a/sys/arch/sparc/conf/files.sparc
+++ b/sys/arch/sparc/conf/files.sparc
@@ -1,4 +1,4 @@
-# $OpenBSD: files.sparc,v 1.50 2003/03/09 02:30:45 miod Exp $
+# $OpenBSD: files.sparc,v 1.51 2003/04/13 22:55:48 miod Exp $
# $NetBSD: files.sparc,v 1.44 1997/08/31 21:29:16 pk Exp $
# @(#)files.sparc 8.1 (Berkeley) 7/19/93
@@ -321,7 +321,7 @@ device mtty
attach mtty at magma
device mbpp
attach mbpp at magma
-file arch/sparc/dev/magma.c magma | mtty | mbpp needs-flag
+file arch/sparc/dev/magma.c magma | mtty | mbpp needs-flag
device spif {}
attach spif at sbus
@@ -362,3 +362,8 @@ file arch/sparc/dev/daadio.c daadio needs-flag
device tctrl {}
attach tctrl at obio
file arch/sparc/dev/tctrl.c tctrl needs-flag
+
+# Prestoserve NVRAM
+device presto: disk
+attach presto at sbus
+file arch/sparc/dev/presto.c presto needs-flag