summaryrefslogtreecommitdiff
path: root/sys/dev/fdc
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-01-27 20:03:07 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-01-27 20:03:07 +0000
commitae099941e32baab4b4b88d99676441552d3c2afb (patch)
treecd03291bedb4cfabe21746beeb6dba47c3afa12b /sys/dev/fdc
parentf16651aed0e4e6bd86f330609ed6c4a271762361 (diff)
Notes
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r--sys/dev/fdc/fdc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index daaa7f74dce0..4c70b2a0fa95 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -53,6 +53,9 @@
#endif
#include "fd.h"
+/* Flags */
+#define FT_PROBE 0x1
+
#if NFDC > 0
#include <sys/param.h>
@@ -578,7 +581,7 @@ fdattach(struct isa_device *dev)
#if NFT > 0
/* If BIOS says no floppy, or > 2nd device */
/* Probe for and attach a floppy tape. */
- if (ftattach(dev, fdup))
+ if ((dev->id_flags & FT_PROBE) && ftattach(dev, fdup))
continue;
if (fdsu < DRVS_PER_CTLR)
fd->type = NO_TYPE;