mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 13:11:14 +00:00
net: smsc911x: allow platform_data to specify mac address
Extend the driver to accept a MAC address specified in platform_data. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b4efc56109
commit
aace495933
2 changed files with 4 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue