From 6a0f02558e2baff2ed58e3b490da8982a439e311 Mon Sep 17 00:00:00 2001 From: Jason Downs Date: Wed, 11 Sep 1996 07:27:05 +0000 Subject: 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! --- sys/dev/isa/wdlink.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/isa/wdlink.h') 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 */ -- cgit v1.2.3