summaryrefslogtreecommitdiffstats
path: root/sys/isa/fdc.h
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>1997-09-17 20:16:17 +0000
committertegge <tegge@FreeBSD.org>1997-09-17 20:16:17 +0000
commitdc9fb7214712036d21e7066d05c5ddd251d1ddd4 (patch)
treed31b0e1d07074e4cc05262b9aec7fe4824e6974d /sys/isa/fdc.h
parent52f8c412b881dd0c998297025bb3d13b9a7157d8 (diff)
downloadFreeBSD-src-dc9fb7214712036d21e7066d05c5ddd251d1ddd4.zip
FreeBSD-src-dc9fb7214712036d21e7066d05c5ddd251d1ddd4.tar.gz
Enable the FIFO on enhanced floppy controllers. This reduces the
number of dma overruns/underruns for systems under heavy dma load. As a side effect, broken enhanced floppy controllers that sometimes don't detect dma overruns/underruns will give less errors. Reviewed by: j@uriah.heep.sax.de (J Wunsch)
Diffstat (limited to 'sys/isa/fdc.h')
-rw-r--r--sys/isa/fdc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/isa/fdc.h b/sys/isa/fdc.h
index 99b33bb..34d7011 100644
--- a/sys/isa/fdc.h
+++ b/sys/isa/fdc.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id$
+ * $Id: fdc.h,v 1.8 1997/02/22 09:36:10 peter Exp $
*
*/
@@ -54,6 +54,7 @@ struct fdc_data
#define FDC_HASFTAPE 0x02
#define FDC_TAPE_BUSY 0x04
#define FDC_STAT_VALID 0x08
+#define FDC_HAS_FIFO 0x10
struct fd_data *fd;
int fdu; /* the active drive */
int state;
OpenPOWER on IntegriCloud