Commit f39de482 authored by Stephen Hemminger's avatar Stephen Hemminger

[PATCH] typo in net-drivers-2.5-exp 3c507

Fix auto-probing loop in new probing code for 3c507.
This patch is against net-drivers-2.5-exp repository.
Found by viro.
parent ae2b1120
...@@ -333,7 +333,7 @@ struct net_device * __init el16_probe(int unit) ...@@ -333,7 +333,7 @@ struct net_device * __init el16_probe(int unit)
err = -ENXIO; /* Don't probe at all. */ err = -ENXIO; /* Don't probe at all. */
else { else {
for (port = ports; *port; port++) { for (port = ports; *port; port++) {
err = el16_probe1(dev, io); err = el16_probe1(dev, *port);
if (!err) if (!err)
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment