aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge/qlge.h
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2009-10-30 08:13:33 -0400
committerDavid S. Miller <davem@davemloft.net>2009-11-02 07:25:40 -0500
commit9dfbbaa6b0b9f7c4d6c9dc3a59006f44e6521138 (patch)
treed0c93bae849fc79ab01c38974b02b949f1b623ec /drivers/net/qlge/qlge.h
parent536b2e92f1b7a86e177aeced097e4c051eeebe7d (diff)
qlge: Add ethtool self-test.
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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h
index 73c7fd2badcd..872e95ee40ee 100644
--- a/drivers/net/qlge/qlge.h
+++ b/drivers/net/qlge/qlge.h
@@ -1581,6 +1581,8 @@ enum {
1581 QL_ALLMULTI = 6, 1581 QL_ALLMULTI = 6,
1582 QL_PORT_CFG = 7, 1582 QL_PORT_CFG = 7,
1583 QL_CAM_RT_SET = 8, 1583 QL_CAM_RT_SET = 8,
1584 QL_SELFTEST = 9,
1585 QL_LB_LINK_UP = 10,
1584}; 1586};
1585 1587
1586/* link_status bit definitions */ 1588/* link_status bit definitions */
@@ -1717,6 +1719,7 @@ struct ql_adapter {
1717 struct completion ide_completion; 1719 struct completion ide_completion;
1718 struct nic_operations *nic_ops; 1720 struct nic_operations *nic_ops;
1719 u16 device_id; 1721 u16 device_id;
1722 atomic_t lb_count;
1720}; 1723};
1721 1724
1722/* 1725/*
@@ -1808,6 +1811,9 @@ int ql_mb_set_port_cfg(struct ql_adapter *qdev);
1808int ql_wait_fifo_empty(struct ql_adapter *qdev); 1811int ql_wait_fifo_empty(struct ql_adapter *qdev);
1809void ql_gen_reg_dump(struct ql_adapter *qdev, 1812void ql_gen_reg_dump(struct ql_adapter *qdev,
1810 struct ql_reg_dump *mpi_coredump); 1813 struct ql_reg_dump *mpi_coredump);
1814netdev_tx_t ql_lb_send(struct sk_buff *skb, struct net_device *ndev);
1815void ql_check_lb_frame(struct ql_adapter *, struct sk_buff *);
1816int ql_clean_lb_rx_ring(struct rx_ring *rx_ring, int budget);
1811 1817
1812#if 1 1818#if 1
1813#define QL_ALL_DUMP 1819#define QL_ALL_DUMP