diff options
Diffstat (limited to 'drivers/net/ibm_newemac')
-rw-r--r-- | drivers/net/ibm_newemac/core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c index ac9fd46509c1..a77207f19671 100644 --- a/drivers/net/ibm_newemac/core.c +++ b/drivers/net/ibm_newemac/core.c | |||
@@ -2550,6 +2550,10 @@ static int __devinit emac_probe(struct of_device *ofdev, | |||
2550 | struct device_node **blist = NULL; | 2550 | struct device_node **blist = NULL; |
2551 | int err, i; | 2551 | int err, i; |
2552 | 2552 | ||
2553 | /* Skip unused/unwired EMACS */ | ||
2554 | if (of_get_property(np, "unused", NULL)) | ||
2555 | return -ENODEV; | ||
2556 | |||
2553 | /* Find ourselves in the bootlist if we are there */ | 2557 | /* Find ourselves in the bootlist if we are there */ |
2554 | for (i = 0; i < EMAC_BOOT_LIST_SIZE; i++) | 2558 | for (i = 0; i < EMAC_BOOT_LIST_SIZE; i++) |
2555 | if (emac_boot_list[i] == np) | 2559 | if (emac_boot_list[i] == np) |