Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 55125
b: refs/heads/master
c: a5fd22e
h: refs/heads/master
i:
  55123: 8528f22
v: v3
  • Loading branch information
Olof Johansson authored and Jeff Garzik committed May 8, 2007
1 parent 6005048 commit adaff63
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bb6e9590792834f905a92e439a083254649c985c
refs/heads/master: a5fd22ebc71eecb7b61e542d34ac50a417b3031b
7 changes: 6 additions & 1 deletion trunk/drivers/net/pasemi_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@ static int pasemi_get_mac_addr(struct pasemi_mac *mac)
return -ENOENT;
}

maddr = get_property(dn, "mac-address", NULL);
maddr = get_property(dn, "local-mac-address", NULL);

/* Fall back to mac-address for older firmware */
if (maddr == NULL)
maddr = get_property(dn, "mac-address", NULL);

if (maddr == NULL) {
dev_warn(&pdev->dev,
"no mac address in device tree, not configuring\n");
Expand Down

0 comments on commit adaff63

Please sign in to comment.