diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-10-21 07:07:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-22 00:45:40 -0400 |
commit | d8eb59dc8b9e77bb4fa5420ff80142759ad5cd7b (patch) | |
tree | d0b331eca84dabceae8463ec119743907fabcd3b /drivers/net/qlge/qlge.h | |
parent | 1d30df24ec85477368e6e38fe1b4d1b67b3be9d4 (diff) |
qlge: Add ethtool blink 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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index 6118f50b00a2..a5bb3a536538 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h | |||
@@ -805,6 +805,9 @@ enum { | |||
805 | MB_CMD_SET_PORT_CFG = 0x00000122, | 805 | MB_CMD_SET_PORT_CFG = 0x00000122, |
806 | MB_CMD_GET_PORT_CFG = 0x00000123, | 806 | MB_CMD_GET_PORT_CFG = 0x00000123, |
807 | MB_CMD_GET_LINK_STS = 0x00000124, | 807 | MB_CMD_GET_LINK_STS = 0x00000124, |
808 | MB_CMD_SET_LED_CFG = 0x00000125, /* Set LED Configuration Register */ | ||
809 | QL_LED_BLINK = 0x03e803e8, | ||
810 | MB_CMD_GET_LED_CFG = 0x00000126, /* Get LED Configuration Register */ | ||
808 | MB_CMD_SET_MGMNT_TFK_CTL = 0x00000160, /* Set Mgmnt Traffic Control */ | 811 | MB_CMD_SET_MGMNT_TFK_CTL = 0x00000160, /* Set Mgmnt Traffic Control */ |
809 | MB_SET_MPI_TFK_STOP = (1 << 0), | 812 | MB_SET_MPI_TFK_STOP = (1 << 0), |
810 | MB_SET_MPI_TFK_RESUME = (1 << 1), | 813 | MB_SET_MPI_TFK_RESUME = (1 << 1), |
@@ -1551,6 +1554,7 @@ struct ql_adapter { | |||
1551 | u32 port_init; | 1554 | u32 port_init; |
1552 | u32 link_status; | 1555 | u32 link_status; |
1553 | u32 link_config; | 1556 | u32 link_config; |
1557 | u32 led_config; | ||
1554 | u32 max_frame_size; | 1558 | u32 max_frame_size; |
1555 | 1559 | ||
1556 | union flash_params flash; | 1560 | union flash_params flash; |
@@ -1642,6 +1646,8 @@ int ql_mb_get_fw_state(struct ql_adapter *qdev); | |||
1642 | int ql_cam_route_initialize(struct ql_adapter *qdev); | 1646 | int ql_cam_route_initialize(struct ql_adapter *qdev); |
1643 | int ql_read_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 *data); | 1647 | int ql_read_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 *data); |
1644 | int ql_mb_about_fw(struct ql_adapter *qdev); | 1648 | int ql_mb_about_fw(struct ql_adapter *qdev); |
1649 | int ql_mb_set_led_cfg(struct ql_adapter *qdev, u32 led_config); | ||
1650 | int ql_mb_get_led_cfg(struct ql_adapter *qdev); | ||
1645 | void ql_link_on(struct ql_adapter *qdev); | 1651 | void ql_link_on(struct ql_adapter *qdev); |
1646 | void ql_link_off(struct ql_adapter *qdev); | 1652 | void ql_link_off(struct ql_adapter *qdev); |
1647 | int ql_mb_set_mgmnt_traffic_ctl(struct ql_adapter *qdev, u32 control); | 1653 | int ql_mb_set_mgmnt_traffic_ctl(struct ql_adapter *qdev, u32 control); |