summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qed/qed_dev_api.h
diff options
context:
space:
mode:
authorYuval Mintz2016-03-02 19:26:03 +0100
committerDavid S. Miller2016-03-02 20:04:18 +0100
commit8c925c443801721d2731e540055782bcdbbde03b (patch)
treea23554e1989923302427ff57a98e36efb6ebc7ee /drivers/net/ethernet/qlogic/qed/qed_dev_api.h
parentqed: Move statistics to L2 code (diff)
downloadkernel-qcow2-linux-8c925c443801721d2731e540055782bcdbbde03b.tar.gz
kernel-qcow2-linux-8c925c443801721d2731e540055782bcdbbde03b.tar.xz
kernel-qcow2-linux-8c925c443801721d2731e540055782bcdbbde03b.zip
qed: Fix error flow on slowpath start
In case of problems when initializing the chip, the error flows aren't being properly done. Specifically, it's possible that the chip would be left in a configuration allowing it [internally] to access the host memory, causing fatal problems in the device that would require power cycle to overcome. Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_dev_api.h')
-rw-r--r--drivers/net/ethernet/qlogic/qed/qed_dev_api.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_dev_api.h b/drivers/net/ethernet/qlogic/qed/qed_dev_api.h
index 155f26b938fc..d6c7ddf4f4d4 100644
--- a/drivers/net/ethernet/qlogic/qed/qed_dev_api.h
+++ b/drivers/net/ethernet/qlogic/qed/qed_dev_api.h
@@ -78,6 +78,15 @@ int qed_hw_init(struct qed_dev *cdev,
const u8 *bin_fw_data);
/**
+ * @brief qed_hw_timers_stop_all - stop the timers HW block
+ *
+ * @param cdev
+ *
+ * @return void
+ */
+void qed_hw_timers_stop_all(struct qed_dev *cdev);
+
+/**
* @brief qed_hw_stop -
*
* @param cdev