Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1090
b: refs/heads/master
c: c56943e
h: refs/heads/master
v: v3
  • Loading branch information
Domen Puncer authored and Jeff Garzik committed May 13, 2005
1 parent e2ff24e commit b32d5a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 10a87fcf40ce8cee1e85d936cd6d7662943c804e
refs/heads/master: c56943e655b0778d3a8517ae165ad4db15557b97
6 changes: 2 additions & 4 deletions trunk/drivers/net/3c505.c
Original file line number Diff line number Diff line change
Expand Up @@ -1317,8 +1317,7 @@ static int __init elp_sense(struct net_device *dev)
if (orig_HSR & DIR) {
/* If HCR.DIR is up, we pull it down. HSR.DIR should follow. */
outb(0, dev->base_addr + PORT_CONTROL);
set_current_state(TASK_UNINTERRUPTIBLE);
schedule_timeout(30*HZ/100);
msleep(300);
if (inb_status(addr) & DIR) {
if (elp_debug > 0)
printk(notfound_msg, 2);
Expand All @@ -1327,8 +1326,7 @@ static int __init elp_sense(struct net_device *dev)
} else {
/* If HCR.DIR is down, we pull it up. HSR.DIR should follow. */
outb(DIR, dev->base_addr + PORT_CONTROL);
set_current_state(TASK_UNINTERRUPTIBLE);
schedule_timeout(30*HZ/100);
msleep(300);
if (!(inb_status(addr) & DIR)) {
if (elp_debug > 0)
printk(notfound_msg, 3);
Expand Down

0 comments on commit b32d5a6

Please sign in to comment.