Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74731
b: refs/heads/master
c: 3d72256
h: refs/heads/master
i:
  74729: fffdb7a
  74727: d8e6e29
v: v3
  • Loading branch information
Hugh Blemings authored and Jeff Garzik committed Dec 7, 2007
1 parent 92e5428 commit baaea5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bff713b562d495658093f1716a80c6ad76920e8b
refs/heads/master: 3d722562d734834282bccd97e0badd213ec311e9
4 changes: 4 additions & 0 deletions trunk/drivers/net/ibm_newemac/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2550,6 +2550,10 @@ static int __devinit emac_probe(struct of_device *ofdev,
struct device_node **blist = NULL;
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 */
for (i = 0; i < EMAC_BOOT_LIST_SIZE; i++)
if (emac_boot_list[i] == np)
Expand Down

0 comments on commit baaea5e

Please sign in to comment.