summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-03-09 18:41:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-03-09 18:41:51 +0000
commit4eaca50d846d95e18b1f4b8bfac26b5043bd3eaf (patch)
tree4ae984f5c65bb10ccafd67d33474d3c954766c71 /sys/arch/sparc64/conf
parent1da8f26758611ca48a0d63bbc6ac0af99badda46 (diff)
Preliminary support for the floppy drive on Ultrasparcs. Only tested on
SBus machines so far, although EBus attachment glue is provided but not enabled by default. Also, fdformat(8) does not work correctly yet, although reading and writing is safe; this will hopefully be fixed in the near future. ok deraadt@
Diffstat (limited to 'sys/arch/sparc64/conf')
-rw-r--r--sys/arch/sparc64/conf/GENERIC7
-rw-r--r--sys/arch/sparc64/conf/files.sparc6410
2 files changed, 15 insertions, 2 deletions
diff --git a/sys/arch/sparc64/conf/GENERIC b/sys/arch/sparc64/conf/GENERIC
index 6c42748dd4f..9b458cfd19c 100644
--- a/sys/arch/sparc64/conf/GENERIC
+++ b/sys/arch/sparc64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.119 2005/03/05 01:49:02 miod Exp $
+# $OpenBSD: GENERIC,v 1.120 2005/03/09 18:41:48 miod Exp $
# $NetBSD: GENERIC32,v 1.18 2001/07/20 00:07:12 eeh Exp $
machine sparc64
@@ -321,6 +321,11 @@ wi* at pcmcia? # WaveLAN IEEE 802.11DS
xbox* at sbus?
sbus* at xbox?
+# Floppy controller and drive
+fdc* at sbus?
+#fdc* at ebus?
+fd* at fdc?
+
#pseudo-device hotplug 1 # devices hot plugging
# mouse & keyboard multiplexor pseudo-devices
diff --git a/sys/arch/sparc64/conf/files.sparc64 b/sys/arch/sparc64/conf/files.sparc64
index e65b7af88e0..70019f3541c 100644
--- a/sys/arch/sparc64/conf/files.sparc64
+++ b/sys/arch/sparc64/conf/files.sparc64
@@ -1,4 +1,4 @@
-# $OpenBSD: files.sparc64,v 1.57 2005/03/08 20:00:24 tdeval Exp $
+# $OpenBSD: files.sparc64,v 1.58 2005/03/09 18:41:48 miod Exp $
# $NetBSD: files.sparc64,v 1.50 2001/08/10 20:53:50 eeh Exp $
# maxpartitions must be first item in files.${ARCH}
@@ -184,6 +184,14 @@ device zskbd: tty, wskbddev, sunkbd
attach zskbd at zs
file arch/sparc64/dev/z8530kbd.c zskbd needs-flag
+# Floppy drive
+device fdc {}
+attach fdc at sbus with fdc_sbus
+attach fdc at ebus with fdc_ebus
+device fd: disk
+attach fd at fdc
+file arch/sparc64/dev/fd.c fdc | fd needs-flag
+
file arch/sparc64/dev/consinit.c
file arch/sparc64/fpu/fpu.c