|
@@ -385,6 +385,7 @@ static int __init el3_probe(int card_idx)
|
|
#if defined(__ISAPNP__)
|
|
#if defined(__ISAPNP__)
|
|
static int pnp_cards;
|
|
static int pnp_cards;
|
|
struct pnp_dev *idev = NULL;
|
|
struct pnp_dev *idev = NULL;
|
|
|
|
+ int pnp_found = 0;
|
|
|
|
|
|
if (nopnp == 1)
|
|
if (nopnp == 1)
|
|
goto no_pnp;
|
|
goto no_pnp;
|
|
@@ -430,6 +431,7 @@ __again:
|
|
pnp_cards++;
|
|
pnp_cards++;
|
|
|
|
|
|
netdev_boot_setup_check(dev);
|
|
netdev_boot_setup_check(dev);
|
|
|
|
+ pnp_found = 1;
|
|
goto found;
|
|
goto found;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -560,6 +562,8 @@ no_pnp:
|
|
lp = netdev_priv(dev);
|
|
lp = netdev_priv(dev);
|
|
#if defined(__ISAPNP__)
|
|
#if defined(__ISAPNP__)
|
|
lp->dev = &idev->dev;
|
|
lp->dev = &idev->dev;
|
|
|
|
+ if (pnp_found)
|
|
|
|
+ lp->type = EL3_PNP;
|
|
#endif
|
|
#endif
|
|
err = el3_common_init(dev);
|
|
err = el3_common_init(dev);
|
|
|
|
|