diff options
author | joerg <joerg@FreeBSD.org> | 1995-05-06 19:34:28 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1995-05-06 19:34:28 +0000 |
commit | 09a74d468d8a1a0c4e36cddb3053598075a3ebc4 (patch) | |
tree | baa17f4183a802c7a3c7ef1b60fc45fccab27343 /sys/dev | |
parent | 9369e9783877d7da0269acf377e7651b9d634fcc (diff) | |
download | FreeBSD-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/dev')
-rw-r--r-- | sys/dev/fdc/fdc.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index e573e83..86bcc55 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.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; |