diff options
Diffstat (limited to 'sys/i386/isa/fd.c')
-rw-r--r-- | sys/i386/isa/fd.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/i386/isa/fd.c b/sys/i386/isa/fd.c index 045d02e..39f14df 100644 --- a/sys/i386/isa/fd.c +++ b/sys/i386/isa/fd.c @@ -40,7 +40,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.42 1994/11/08 06:34:04 ache Exp $ + * $Id: fd.c,v 1.43 1994/11/18 10:18:36 phk Exp $ * */ @@ -50,6 +50,9 @@ #endif #include "fd.h" +/* Flags */ +#define FT_DONT_PROBE 0x1 + #if NFDC > 0 #include <sys/param.h> @@ -431,7 +434,9 @@ fdattach(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_DONT_PROBE) + printf(" [fd%d: floppy tape not probed]", fdu); + else if (ftattach(dev, fdup)) continue; if (fdsu < DRVS_PER_CTLR) fd->type = NO_TYPE; |