diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-11-30 12:04:28 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-11-30 12:04:28 +0000 |
commit | 1ca6f46d56a6107dd6bd1f25e1411953233da8a6 (patch) | |
tree | 69e4bd4ac21c0a633a84bdf9069c306bdb7329f2 /sys | |
parent | f8de0479226a7e0121e3256fedc3ddb5316c2a65 (diff) | |
download | src-1ca6f46d56a6107dd6bd1f25e1411953233da8a6.tar.gz src-1ca6f46d56a6107dd6bd1f25e1411953233da8a6.zip |
Reverse the meaning of previous change.
Now floppy tape support is *disabled* unless you specifically
request otherwise. Poul wanted it this way, and I guess I'm not going to argue
though it may seem counter-intuitive. We can always change it back, later.
Notes
Notes:
svn path=/head/; revision=4874
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/fdc/fdc.c | 12 | ||||
-rw-r--r-- | sys/i386/isa/fd.c | 12 | ||||
-rw-r--r-- | sys/isa/fd.c | 12 |
3 files changed, 15 insertions, 21 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index 39f14df47f71..628057cf9003 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -40,7 +40,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.43 1994/11/18 10:18:36 phk Exp $ + * $Id: fd.c,v 1.44 1994/11/29 15:46:20 jkh Exp $ * */ @@ -51,7 +51,7 @@ #include "fd.h" /* Flags */ -#define FT_DONT_PROBE 0x1 +#define FT_PROBE 0x1 #if NFDC > 0 @@ -432,11 +432,9 @@ fdattach(dev) fd->type = NO_TYPE; #endif #if NFT > 0 - /* If BIOS says no floppy, or > 2nd device */ - /* Probe for and attach a floppy tape. */ - if (dev->id_flags & FT_DONT_PROBE) - printf(" [fd%d: floppy tape not probed]", fdu); - else if (ftattach(dev, fdup)) + /* If BIOS says no floppy, or > 2nd device */ + /* Probe for and attach a floppy tape. */ + if ((dev->id_flags & FT_PROBE) && ftattach(dev, fdup)) continue; if (fdsu < DRVS_PER_CTLR) fd->type = NO_TYPE; diff --git a/sys/i386/isa/fd.c b/sys/i386/isa/fd.c index 39f14df47f71..628057cf9003 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.43 1994/11/18 10:18:36 phk Exp $ + * $Id: fd.c,v 1.44 1994/11/29 15:46:20 jkh Exp $ * */ @@ -51,7 +51,7 @@ #include "fd.h" /* Flags */ -#define FT_DONT_PROBE 0x1 +#define FT_PROBE 0x1 #if NFDC > 0 @@ -432,11 +432,9 @@ fdattach(dev) fd->type = NO_TYPE; #endif #if NFT > 0 - /* If BIOS says no floppy, or > 2nd device */ - /* Probe for and attach a floppy tape. */ - if (dev->id_flags & FT_DONT_PROBE) - printf(" [fd%d: floppy tape not probed]", fdu); - else if (ftattach(dev, fdup)) + /* If BIOS says no floppy, or > 2nd device */ + /* Probe for and attach a floppy tape. */ + if ((dev->id_flags & FT_PROBE) && ftattach(dev, fdup)) continue; if (fdsu < DRVS_PER_CTLR) fd->type = NO_TYPE; diff --git a/sys/isa/fd.c b/sys/isa/fd.c index 39f14df47f71..628057cf9003 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.c @@ -40,7 +40,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.43 1994/11/18 10:18:36 phk Exp $ + * $Id: fd.c,v 1.44 1994/11/29 15:46:20 jkh Exp $ * */ @@ -51,7 +51,7 @@ #include "fd.h" /* Flags */ -#define FT_DONT_PROBE 0x1 +#define FT_PROBE 0x1 #if NFDC > 0 @@ -432,11 +432,9 @@ fdattach(dev) fd->type = NO_TYPE; #endif #if NFT > 0 - /* If BIOS says no floppy, or > 2nd device */ - /* Probe for and attach a floppy tape. */ - if (dev->id_flags & FT_DONT_PROBE) - printf(" [fd%d: floppy tape not probed]", fdu); - else if (ftattach(dev, fdup)) + /* If BIOS says no floppy, or > 2nd device */ + /* Probe for and attach a floppy tape. */ + if ((dev->id_flags & FT_PROBE) && ftattach(dev, fdup)) continue; if (fdsu < DRVS_PER_CTLR) fd->type = NO_TYPE; |