]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/ewrk3.c
myri10ge: update driver version to 1.3.0-1.233
[linux-2.6-omap-h63xx.git] / drivers / net / ewrk3.c
index c8c41f0a47d6631c594b12e0dde3ae0f55c6fcf1..714ea1176ec7ce212c8bb66e7bf474d89d7934fb 100644 (file)
@@ -414,10 +414,9 @@ ewrk3_hw_init(struct net_device *dev, u_long iobase)
        icr &= 0x70;
        outb(icr, EWRK3_ICR);   /* Disable all the IRQs */
 
-       if (nicsr == (CSR_TXD | CSR_RXD))
+       if (nicsr != (CSR_TXD | CSR_RXD))
                return -ENXIO;
 
-
        /* Check that the EEPROM is alive and well and not living on Pluto... */
        for (chksum = 0, i = 0; i < EEPROM_MAX; i += 2) {
                union {