summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/fd.c')
-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);