summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/fdreg.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-09-22 22:13:00 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-09-22 22:13:00 +0000
commitf3ecf07ff4fd224ca32417039ccb99d8532ec9ac (patch)
treeb6f8aece36832624c9052889bfe5795b335a3b5d /sys/arch/sparc/dev/fdreg.h
parentea075872881abbf59bd05df6aa7635696fe3e426 (diff)
Bring some enhancements and fixes to fdc(4) from NetBSD:
- better state machine, will prevent "eject fd0" with an empty drive to spin. - will not attach fd children to fdc if no floppy drive is present (though the PROM usually finds this for us). - use biowait() in fdformat() instead of rolling our own. - drop 5"1/4 formats table. - cope with non 512 bytes per sector formats.
Diffstat (limited to 'sys/arch/sparc/dev/fdreg.h')
-rw-r--r--sys/arch/sparc/dev/fdreg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/fdreg.h b/sys/arch/sparc/dev/fdreg.h
index 3cf4138c1bb..cca36cd82de 100644
--- a/sys/arch/sparc/dev/fdreg.h
+++ b/sys/arch/sparc/dev/fdreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdreg.h,v 1.4 2003/06/02 23:27:54 millert Exp $ */
+/* $OpenBSD: fdreg.h,v 1.5 2004/09/22 22:12:58 miod Exp $ */
/* $NetBSD: fdreg.h,v 1.6 1997/05/02 13:03:44 pk Exp $ */
/*-
@@ -84,6 +84,7 @@ union fdreg {
#define FDO_DEN 0x40 /* Density select */
#define FDO_EJ 0x80 /* Eject disk */
+/* Digital Input Register bits */
#define FDI_DCHG 0x80 /* diskette has been changed */
/* XXX - find a place for these... */