mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 03:20:25 -04:00
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: Mark Einon <mark.einon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8e0ae3d55a
commit
66a0cc1a02
@@ -147,6 +147,9 @@ struct et131x_adapter {
|
||||
/* Flags that indicate current state of the adapter */
|
||||
u32 flags;
|
||||
|
||||
/* local link state, to determine if a state change has occurred */
|
||||
int link;
|
||||
|
||||
/* Configuration */
|
||||
u8 rom_addr[ETH_ALEN];
|
||||
u8 addr[ETH_ALEN];
|
||||
|
||||
Reference in New Issue
Block a user