|
@@ -2550,6 +2550,10 @@ static int __devinit emac_probe(struct of_device *ofdev,
|
|
struct device_node **blist = NULL;
|
|
struct device_node **blist = NULL;
|
|
int err, i;
|
|
int err, i;
|
|
|
|
|
|
|
|
+ /* Skip unused/unwired EMACS */
|
|
|
|
+ if (of_get_property(np, "unused", NULL))
|
|
|
|
+ return -ENODEV;
|
|
|
|
+
|
|
/* Find ourselves in the bootlist if we are there */
|
|
/* Find ourselves in the bootlist if we are there */
|
|
for (i = 0; i < EMAC_BOOT_LIST_SIZE; i++)
|
|
for (i = 0; i < EMAC_BOOT_LIST_SIZE; i++)
|
|
if (emac_boot_list[i] == np)
|
|
if (emac_boot_list[i] == np)
|