aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
diff options
context:
space:
mode:
authorManish Chopra <manish.chopra@qlogic.com>2013-08-02 00:57:40 -0400
committerDavid S. Miller <davem@davemloft.net>2013-08-02 02:04:27 -0400
commite5c4e6c696aea58fbea5758e8b2841d2b0309cf7 (patch)
tree7ca3ca10c3c0b1adbcfe2b223b2cdbb1494126b4 /drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
parentb9c119844c42a46a6c6006d158ee33af81fe76ae (diff)
qlcnic: Interrupt based driver firmware mailbox mechanism
o Driver firmware mailbox interface was operating in polling mode because of limitations with the earlier versions of 83xx adapter firmware. These issues are resolved and we are implementing interrupt based mailbox mechanism. o Data structures and API's for interrupt mode mailbox mechanism. Signed-off-by: Manish Chopra <manish.chopra@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c')
-rw-r--r--drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
index f41dfab1e9a3..0c5110c74311 100644
--- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
+++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
@@ -617,7 +617,7 @@ int qlcnic_83xx_idc_reattach_driver(struct qlcnic_adapter *adapter)
617 if (err) 617 if (err)
618 return err; 618 return err;
619 619
620 qlcnic_83xx_enable_mbx_intrpt(adapter); 620 qlcnic_83xx_enable_mbx_interrupt(adapter);
621 621
622 if (qlcnic_83xx_configure_opmode(adapter)) { 622 if (qlcnic_83xx_configure_opmode(adapter)) {
623 qlcnic_83xx_idc_enter_failed_state(adapter, 1); 623 qlcnic_83xx_idc_enter_failed_state(adapter, 1);
@@ -2120,7 +2120,7 @@ int qlcnic_83xx_init(struct qlcnic_adapter *adapter, int pci_using_dac)
2120 /* Initilaize 83xx mailbox spinlock */ 2120 /* Initilaize 83xx mailbox spinlock */
2121 spin_lock_init(&ahw->mbx_lock); 2121 spin_lock_init(&ahw->mbx_lock);
2122 2122
2123 set_bit(QLC_83XX_MBX_READY, &adapter->ahw->idc.status); 2123 set_bit(QLC_83XX_MBX_READY, &ahw->idc.status);
2124 qlcnic_83xx_clear_function_resources(adapter); 2124 qlcnic_83xx_clear_function_resources(adapter);
2125 2125
2126 /* register for NIC IDC AEN Events */ 2126 /* register for NIC IDC AEN Events */