summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorgrr <grr@cvs.openbsd.org>1997-05-11 22:37:35 +0000
committergrr <grr@cvs.openbsd.org>1997-05-11 22:37:35 +0000
commit505bcd88640ee8b91fe7388b219e85453bb64574 (patch)
treefb73b5afea8b748e135de7fcd65114154092d9f2 /sys
parent5fed545c4a8e6b1d6e4c983f6f08e7570912befd (diff)
don't config the floppy on Sun4m's, since the the driver isn't right and doing anything near the floppy blows the system
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/dev/fd.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/fd.c b/sys/arch/sparc/dev/fd.c
index 0d3c957ac54..ca8c1fde423 100644
--- a/sys/arch/sparc/dev/fd.c
+++ b/sys/arch/sparc/dev/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.15 1997/04/02 18:28:48 deraadt Exp $ */
+/* $OpenBSD: fd.c,v 1.16 1997/05/11 22:37:34 grr Exp $ */
/* $NetBSD: fd.c,v 1.33.4.1 1996/06/12 20:52:25 pk Exp $ */
/*-
@@ -281,6 +281,14 @@ fdcmatch(parent, match, aux)
if ((CPU_ISSUN4M) && (ca->ca_bustype != BUS_OBIO))
return (0);
+#ifndef FDSUN4M
+ /*
+ * XXX Floppy doesn't work yet sun4m, nasty things happen if you try
+ */
+ if (CPU_ISSUN4M)
+ return (0);
+#endif
+
/* Sun PROMs call the controller an "fd" or "SUNW,fdtwo" */
if (strcmp(OBP_FDNAME, ra->ra_name))
return (0);