projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e0ae3d
)
staging: et131x: Add link status to adapter struct
author
Mark Einon
<mark.einon@gmail.com>
Sun, 25 Sep 2011 18:17:53 +0000
(19:17 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 27 Sep 2011 00:39:15 +0000
(17:39 -0700)
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>
drivers/staging/et131x/et131x_adapter.h
patch
|
blob
|
history
diff --git
a/drivers/staging/et131x/et131x_adapter.h
b/drivers/staging/et131x/et131x_adapter.h
index 78f2894d76e855b839563b931cfbb4d59ba10275..fabc2c593b3fcfd72ffdeb5b329904c36e592396 100644
(file)
--- 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];