summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/fd.c
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-05-06 19:34:28 +0000
committerjoerg <joerg@FreeBSD.org>1995-05-06 19:34:28 +0000
commit09a74d468d8a1a0c4e36cddb3053598075a3ebc4 (patch)
treebaa17f4183a802c7a3c7ef1b60fc45fccab27343 /sys/i386/isa/fd.c
parent9369e9783877d7da0269acf377e7651b9d634fcc (diff)
downloadFreeBSD-src-09a74d468d8a1a0c4e36cddb3053598075a3ebc4.zip
FreeBSD-src-09a74d468d8a1a0c4e36cddb3053598075a3ebc4.tar.gz
Restructured the floppy tape probe.
The ``flags 1'' in the fdc line is now only needed for owners of an Insight tape (perhaps there aren't any? Mine is disfunctional). All other probes are safe wrt. to the motor-control line of floppy disk drives. Document the flag in LINT finally.
Diffstat (limited to 'sys/i386/isa/fd.c')
-rw-r--r--sys/i386/isa/fd.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/i386/isa/fd.c b/sys/i386/isa/fd.c
index e573e83..86bcc55 100644
--- a/sys/i386/isa/fd.c
+++ b/sys/i386/isa/fd.c
@@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.57 1995/04/12 20:47:41 wollman Exp $
+ * $Id: fd.c,v 1.58 1995/04/20 03:17:44 julian Exp $
*
*/
@@ -53,9 +53,6 @@
#endif
#include "fd.h"
-/* Flags */
-#define FT_PROBE 0x1
-
#if NFDC > 0
#include <sys/param.h>
@@ -605,8 +602,7 @@ fdattach(struct isa_device *dev)
unithasfd = 0;
if (fdu < NFD && fd->type != NO_TYPE)
unithasfd = 1;
- if ((dev->id_flags & FT_PROBE) &&
- ftattach(dev, fdup, unithasfd))
+ if (ftattach(dev, fdup, unithasfd))
continue;
if (fdsu < DRVS_PER_CTLR)
fd->type = NO_TYPE;
OpenPOWER on IntegriCloud