summaryrefslogtreecommitdiff
path: root/sys/dev/isa/wdlink.h
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-09-11 07:27:05 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-09-11 07:27:05 +0000
commit6a0f02558e2baff2ed58e3b490da8982a439e311 (patch)
tree0b8955f4955c1635ab436f5d2b17894e216b9d5c /sys/dev/isa/wdlink.h
parentd1fba2275a85904b21b255bc2d12f21b528e0425 (diff)
Rearrange much of the polling code so really, really *busted* NEC hardware
mostly works, along with various other bits of cleanup. Please, people, if you have any choice in the matter at all, avoid NEC IDE CD-ROM drives like the plague upon mankind they are. Especially DO NOT connect a NEC and another brand ATAPI drive to the same controller!
Diffstat (limited to 'sys/dev/isa/wdlink.h')
-rw-r--r--sys/dev/isa/wdlink.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/isa/wdlink.h b/sys/dev/isa/wdlink.h
index 50ca9c39bda..d72d677447a 100644
--- a/sys/dev/isa/wdlink.h
+++ b/sys/dev/isa/wdlink.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdlink.h,v 1.3 1996/08/07 01:53:03 downsj Exp $ */
+/* $OpenBSD: wdlink.h,v 1.4 1996/09/11 07:27:04 downsj Exp $ */
/*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
@@ -60,6 +60,7 @@ struct wdc_softc {
#define WDCF_WANTED 0x08 /* XXX locking for wd_get_parms() */
#define WDCF_IRQ_WAIT 0x10 /* controller is waiting for irq */
#define WDCF_ONESLAVE 0x20 /* ctrl. has one ATAPI slave attached */
+#define WDCF_BROKENPOLL 0x40 /* or, generally fucked up */
int sc_errors; /* errors during current transfer */
u_char sc_status; /* copy of status register */
u_char sc_error; /* copy of error register */