Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170693
b: refs/heads/master
c: aace495
h: refs/heads/master
i:
  170691: 48b732e
v: v3
  • Loading branch information
Manuel Lauss authored and David S. Miller committed Oct 13, 2009
1 parent a0e01d0 commit 4a70318
Show file tree
Hide file tree
Showing 3 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: b4efc5610980bc4b65a6cb49b939cf5f7dfa2723
refs/heads/master: aace495933a981274b6491d71b915165a61defdc
3 changes: 3 additions & 0 deletions trunk/drivers/net/smsc911x.c
Original file line number Diff line number Diff line change
Expand Up @@ -2071,6 +2071,9 @@ static int __devinit smsc911x_drv_probe(struct platform_device *pdev)
if (is_valid_ether_addr(dev->dev_addr)) {
smsc911x_set_hw_mac_address(pdata, dev->dev_addr);
SMSC_TRACE(PROBE, "MAC Address is specified by configuration");
} else if (is_valid_ether_addr(pdata->config.mac)) {
memcpy(dev->dev_addr, pdata->config.mac, 6);
SMSC_TRACE(PROBE, "MAC Address specified by platform data");
} else {
/* Try reading mac address from device. if EEPROM is present
* it will already have been set */
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/smsc911x.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ struct smsc911x_platform_config {
unsigned int irq_type;
unsigned int flags;
phy_interface_t phy_interface;
unsigned char mac[6];
};

/* Constants for platform_device irq polarity configuration */
Expand Down

0 comments on commit 4a70318

Please sign in to comment.