Commit 66a0cc1a authored by Mark Einon's avatar Mark Einon Committed by Greg Kroah-Hartman

staging: et131x: Add link status to adapter struct

This will be used to determine if the link state has changed when the phydev
informs the et131x that a change has occurred (in et131x_adjust_link)
Signed-off-by: default avatarMark Einon <mark.einon@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8e0ae3d5
...@@ -147,6 +147,9 @@ struct et131x_adapter { ...@@ -147,6 +147,9 @@ struct et131x_adapter {
/* Flags that indicate current state of the adapter */ /* Flags that indicate current state of the adapter */
u32 flags; u32 flags;
/* local link state, to determine if a state change has occurred */
int link;
/* Configuration */ /* Configuration */
u8 rom_addr[ETH_ALEN]; u8 rom_addr[ETH_ALEN];
u8 addr[ETH_ALEN]; u8 addr[ETH_ALEN];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment