From 66a0cc1a02054a53ae8e6d1af0870d4ab799416d Mon Sep 17 00:00:00 2001 From: Mark Einon Date: Sun, 25 Sep 2011 19:17:53 +0100 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/et131x/et131x_adapter.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/et131x/et131x_adapter.h b/drivers/staging/et131x/et131x_adapter.h index 78f2894d76e8..fabc2c593b3f 100644 --- a/drivers/staging/et131x/et131x_adapter.h +++ b/drivers/staging/et131x/et131x_adapter.h @@ -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]; -- 2.20.1