diff options
author | Timur Tabi <timur@codeaurora.org> | 2017-01-27 16:43:47 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-29 19:07:02 -0500 |
commit | e7e7454b40d290f6efb63c792c56c416922dcef8 (patch) | |
tree | 26cb732cdf8b1f81b8ec0249858a52afa6c75b17 /drivers/net/ethernet/qualcomm/emac/emac.h | |
parent | net: qcom/emac: do not call emac_mac_start twice (diff) | |
download | linux-dev-e7e7454b40d290f6efb63c792c56c416922dcef8.tar.xz linux-dev-e7e7454b40d290f6efb63c792c56c416922dcef8.zip |
net: qcom/emac: remove extraneous wake-on-lan code
The EMAC driver does not support wake-on-lan, but there is still
code left-over that partially enables it. Remove that code and a few
macros that support it.
Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qualcomm/emac/emac.h')
-rw-r--r-- | drivers/net/ethernet/qualcomm/emac/emac.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/qualcomm/emac/emac.h b/drivers/net/ethernet/qualcomm/emac/emac.h index 2725507ae866..ef91dcc7f646 100644 --- a/drivers/net/ethernet/qualcomm/emac/emac.h +++ b/drivers/net/ethernet/qualcomm/emac/emac.h @@ -167,10 +167,6 @@ enum emac_clk_id { #define EMAC_MAX_SETUP_LNK_CYCLE 100 -/* Wake On Lan */ -#define EMAC_WOL_PHY 0x00000001 /* PHY Status Change */ -#define EMAC_WOL_MAGIC 0x00000002 /* Magic Packet */ - struct emac_stats { /* rx */ u64 rx_ok; /* good packets */ |