Commit db891a76 authored by Dave Jones's avatar Dave Jones

[PATCH] region handling cleanup for de600

parent 35f66574
......@@ -444,7 +444,10 @@ int __init de600_probe(struct net_device *dev)
return -ENODEV;
}
request_region(DE600_IO, 3, "de600");
if (!request_region(DE600_IO, 3, "de600")) {
printk(KERN_WARNING "DE600: port 0x%x busy\n", DE600_IO);
return -EBUSY;
}
printk(", Ethernet Address: %02X", dev->dev_addr[0]);
for (i = 1; i < ETH_ALEN; i++)
......
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