mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-29 20:54:13 +01:00
Back out my previous change and disable the floppy tape controller again
by default. It's hosing up my test machine's floppy pretty good.
This commit is contained in:
parent
8150a31389
commit
35d5f9af69
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user