aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ic/nec765.h
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1995-01-06 15:20:00 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1995-01-06 15:20:00 +0000
commitdc5df763e473f6204f45e438a84477b0f66668ed (patch)
tree59e85172d0f0879e0d6be3b17ccb0f10ddd40c33 /sys/dev/ic/nec765.h
parent123bcf5fda4007c62993b97e09c911ba5da48dec (diff)
downloadsrc-dc5df763e473f6204f45e438a84477b0f66668ed.tar.gz
src-dc5df763e473f6204f45e438a84477b0f66668ed.zip
Peter's work to work around one of the most annoying bugs in the
floppy driver (or in the hardware?). It turned out to be caused by spurious interrupts, right after an FDC reset. Also major cleanup in the low-level structure, there are now functions performing error-checks for the FDC I/O. Submitted by: (mostly) Peter Dufault <dufault@FreeBSD.org>
Notes
Notes: svn path=/head/; revision=5417
Diffstat (limited to 'sys/dev/ic/nec765.h')
-rw-r--r--sys/dev/ic/nec765.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ic/nec765.h b/sys/dev/ic/nec765.h
index 9f93b705efe4..810e825bd66e 100644
--- a/sys/dev/ic/nec765.h
+++ b/sys/dev/ic/nec765.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)nec765.h 7.1 (Berkeley) 5/9/91
- * $Id: nec765.h,v 1.2 1993/10/16 13:48:50 rgrimes Exp $
+ * $Id: nec765.h,v 1.3 1994/09/17 16:56:10 davidg Exp $
*/
/*
@@ -121,6 +121,11 @@
#define NE7CMD_SCNLE 0xf9 /* scan less or equal */
#define NE7CMD_SCNGE 0xfd /* scan greater or equal */
+/*
+ * Enhanced controller commands:
+ */
+#define NE7CMD_VERSION 0x10 /* version (ok for all controllers) */
+
/*
* "specify" definitions