Skip to content

Commit

Permalink
staging: et131x: Add link status to adapter struct
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Einon authored and Greg Kroah-Hartman committed Sep 27, 2011
1 parent 8e0ae3d commit 66a0cc1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/staging/et131x/et131x_adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 66a0cc1

Please sign in to comment.