]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/3c515.c
net: Rationalise email address: Network Specific Parts
[linux-2.6-omap-h63xx.git] / drivers / net / 3c515.c
index 105a8c7ca7e9dce46ab3aae935db671df7949b8f..a0f8b6e2d0af80af13b5774fe40ec9c5ee132db7 100644 (file)
@@ -18,7 +18,7 @@
 
        2001/11/17 - Added ethtool support (jgarzik)
 
-       2002/10/28 - Locking updates for 2.5 (alan@redhat.com)
+       2002/10/28 - Locking updates for 2.5 (alan@lxorguk.ukuu.org.uk)
 
 */
 
@@ -572,12 +572,16 @@ static int corkscrew_setup(struct net_device *dev, int ioaddr,
        int irq;
        DECLARE_MAC_BUF(mac);
 
+#ifdef __ISAPNP__
        if (idev) {
                irq = pnp_irq(idev, 0);
                vp->dev = &idev->dev;
        } else {
                irq = inw(ioaddr + 0x2002) & 15;
        }
+#else
+       irq = inw(ioaddr + 0x2002) & 15;
+#endif
 
        dev->base_addr = ioaddr;
        dev->irq = irq;