aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/chelsio/subr.c')
-rw-r--r--drivers/net/chelsio/subr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/chelsio/subr.c b/drivers/net/chelsio/subr.c
index 22ed9a383c08..38dbaf28d439 100644
--- a/drivers/net/chelsio/subr.c
+++ b/drivers/net/chelsio/subr.c
@@ -612,7 +612,8 @@ int t1_elmer0_ext_intr_handler(adapter_t *adapter)
612 int i, port_bit; 612 int i, port_bit;
613 for_each_port(adapter, i) { 613 for_each_port(adapter, i) {
614 port_bit = i + 1; 614 port_bit = i + 1;
615 if (!(cause & (1 << port_bit))) continue; 615 if (!(cause & (1 << port_bit)))
616 continue;
616 617
617 phy = adapter->port[i].phy; 618 phy = adapter->port[i].phy;
618 phy_cause = phy->ops->interrupt_handler(phy); 619 phy_cause = phy->ops->interrupt_handler(phy);
@@ -688,7 +689,8 @@ int t1_elmer0_ext_intr_handler(adapter_t *adapter)
688 689
689 for_each_port(adapter, i) { 690 for_each_port(adapter, i) {
690 port_bit = i ? i + 1 : 0; 691 port_bit = i ? i + 1 : 0;
691 if (!(cause & (1 << port_bit))) continue; 692 if (!(cause & (1 << port_bit)))
693 continue;
692 694
693 phy = adapter->port[i].phy; 695 phy = adapter->port[i].phy;
694 phy_cause = phy->ops->interrupt_handler(phy); 696 phy_cause = phy->ops->interrupt_handler(phy);