diff --git a/sys/pci/aic7870.c b/sys/pci/aic7870.c index f66888ad9750..dda058ca87ae 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 @@ -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) {