diff options
author | joerg <joerg@FreeBSD.org> | 1995-01-06 15:20:00 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1995-01-06 15:20:00 +0000 |
commit | 08cb0571ab09c586e2dab6da5ef67a89f30d1739 (patch) | |
tree | 59e85172d0f0879e0d6be3b17ccb0f10ddd40c33 /sys/isa/ic/nec765.h | |
parent | f3185e4419e9c16dc85a4d39abaf556fcce86363 (diff) | |
download | FreeBSD-src-08cb0571ab09c586e2dab6da5ef67a89f30d1739.zip FreeBSD-src-08cb0571ab09c586e2dab6da5ef67a89f30d1739.tar.gz |
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>
Diffstat (limited to 'sys/isa/ic/nec765.h')
-rw-r--r-- | sys/isa/ic/nec765.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/isa/ic/nec765.h b/sys/isa/ic/nec765.h index 9f93b70..810e825 100644 --- a/sys/isa/ic/nec765.h +++ b/sys/isa/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 |