Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288229
b: refs/heads/master
c: 9d1dfc0
h: refs/heads/master
i:
  288227: 4ca4a6a
v: v3
  • Loading branch information
Santosh Nayak authored and David S. Miller committed Mar 5, 2012
1 parent e90d046 commit f6a114d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d1d81d4c3dd886d5fa25a2c4fa1e39cb89613712
refs/heads/master: 9d1dfc06b14df0818d86d6ba6aaec0f641e94990
5 changes: 2 additions & 3 deletions trunk/drivers/net/ethernet/qlogic/qla3xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -3017,7 +3017,6 @@ static int ql_adapter_initialize(struct ql3_adapter *qdev)
(void __iomem *)port_regs;
u32 delay = 10;
int status = 0;
unsigned long hw_flags = 0;

if (ql_mii_setup(qdev))
return -1;
Expand Down Expand Up @@ -3228,9 +3227,9 @@ static int ql_adapter_initialize(struct ql3_adapter *qdev)
value = ql_read_page0_reg(qdev, &port_regs->portStatus);
if (value & PORT_STATUS_IC)
break;
spin_unlock_irqrestore(&qdev->hw_lock, hw_flags);
spin_unlock_irq(&qdev->hw_lock);
msleep(500);
spin_lock_irqsave(&qdev->hw_lock, hw_flags);
spin_lock_irq(&qdev->hw_lock);
} while (--delay);

if (delay == 0) {
Expand Down

0 comments on commit f6a114d

Please sign in to comment.