diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-10-21 07:07:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-22 00:45:40 -0400 |
commit | bc083ce98eeb42205e99495481c8616d30916f6e (patch) | |
tree | b6111dd22d2d3a9102362b2e2a6b75e8aa928b74 /drivers/net/qlge/qlge.h | |
parent | d8eb59dc8b9e77bb4fa5420ff80142759ad5cd7b (diff) |
qlge: Add ethtool wake on LAN function.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r-- | drivers/net/qlge/qlge.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index a5bb3a536538..ba2977699204 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h | |||
@@ -796,6 +796,7 @@ enum { | |||
796 | MB_WOL_BCAST = (1 << 5), | 796 | MB_WOL_BCAST = (1 << 5), |
797 | MB_WOL_LINK_UP = (1 << 6), | 797 | MB_WOL_LINK_UP = (1 << 6), |
798 | MB_WOL_LINK_DOWN = (1 << 7), | 798 | MB_WOL_LINK_DOWN = (1 << 7), |
799 | MB_WOL_MODE_ON = (1 << 16), /* Wake on Lan Mode on */ | ||
799 | MB_CMD_SET_WOL_FLTR = 0x00000111, /* Wake On Lan Filter */ | 800 | MB_CMD_SET_WOL_FLTR = 0x00000111, /* Wake On Lan Filter */ |
800 | MB_CMD_CLEAR_WOL_FLTR = 0x00000112, /* Wake On Lan Filter */ | 801 | MB_CMD_CLEAR_WOL_FLTR = 0x00000112, /* Wake On Lan Filter */ |
801 | MB_CMD_SET_WOL_MAGIC = 0x00000113, /* Wake On Lan Magic Packet */ | 802 | MB_CMD_SET_WOL_MAGIC = 0x00000113, /* Wake On Lan Magic Packet */ |
@@ -1646,6 +1647,9 @@ int ql_mb_get_fw_state(struct ql_adapter *qdev); | |||
1646 | int ql_cam_route_initialize(struct ql_adapter *qdev); | 1647 | int ql_cam_route_initialize(struct ql_adapter *qdev); |
1647 | int ql_read_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 *data); | 1648 | int ql_read_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 *data); |
1648 | int ql_mb_about_fw(struct ql_adapter *qdev); | 1649 | int ql_mb_about_fw(struct ql_adapter *qdev); |
1650 | int ql_wol(struct ql_adapter *qdev); | ||
1651 | int ql_mb_wol_set_magic(struct ql_adapter *qdev, u32 enable_wol); | ||
1652 | int ql_mb_wol_mode(struct ql_adapter *qdev, u32 wol); | ||
1649 | int ql_mb_set_led_cfg(struct ql_adapter *qdev, u32 led_config); | 1653 | int ql_mb_set_led_cfg(struct ql_adapter *qdev, u32 led_config); |
1650 | int ql_mb_get_led_cfg(struct ql_adapter *qdev); | 1654 | int ql_mb_get_led_cfg(struct ql_adapter *qdev); |
1651 | void ql_link_on(struct ql_adapter *qdev); | 1655 | void ql_link_on(struct ql_adapter *qdev); |