net: asix: init ASIX AX88772B MAC from EEPROM
The device comes up with a MAC address of all zeros. We need to read the initial device MAC from EEPROM so it can be set properly later. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a16af2ffa2
commit
5620df65d8
@@ -167,6 +167,9 @@ struct asix_data {
|
||||
u8 res;
|
||||
};
|
||||
|
||||
/* ASIX specific flags */
|
||||
#define FLAG_EEPROM_MAC (1UL << 0) /* init device MAC from eeprom */
|
||||
|
||||
int asix_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index,
|
||||
u16 size, void *data);
|
||||
|
||||
|
Reference in New Issue
Block a user