summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/pci/aic7870.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/aic7870.c b/sys/pci/aic7870.c
index f66888a..dda058c 100644
--- a/sys/pci/aic7870.c
+++ b/sys/pci/aic7870.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: aic7870.c,v 1.31 1996/05/12 01:46:11 gibbs Exp $
+ * $Id: aic7870.c,v 1.32 1996/05/12 01:50:33 gibbs Exp $
*/
#include <pci.h>
@@ -425,7 +425,7 @@ aic7870_attach(config_id, unit)
/* See if someone else set us up already */
u_long i;
for(i=io_port + TARG_SCRATCH; i < io_port + 0x60; i++) {
- if(inb(i) != 0xff)
+ if(inb(i) != 0x00)
break;
}
if(i != io_port + 0x60) {
OpenPOWER on IntegriCloud