Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86407
b: refs/heads/master
c: 788d669
h: refs/heads/master
i:
  86405: 09aa751
  86403: a0785dc
  86399: 25a0c42
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Feb 26, 2008
1 parent 40ba19f commit 182d004
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: c53ea18dc29a1ac075119f651d6ac4386a549a34
refs/heads/master: 788d669736dd3d15195fea07bf97ec5a2e9f15e7
6 changes: 2 additions & 4 deletions trunk/drivers/ide/legacy/qd65xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,8 @@ static int __init qd_probe(int base)
printk(KERN_DEBUG "qd6580: config=%#x, control=%#x, ID3=%u\n",
config, control, QD_ID3);

outb(QD_DEF_CONTR, QD_CONTROL_PORT);

if (control & QD_CONTR_SEC_DISABLED) {
/* secondary disabled */

Expand All @@ -460,8 +462,6 @@ static int __init qd_probe(int base)

ide_device_add(idx, &qd65xx_port_info);

outb(QD_DEF_CONTR, QD_CONTROL_PORT);

return 1;
} else {
ide_hwif_t *mate;
Expand All @@ -487,8 +487,6 @@ static int __init qd_probe(int base)

ide_device_add(idx, &qd65xx_port_info);

outb(QD_DEF_CONTR, QD_CONTROL_PORT);

return 0; /* no other qd65xx possible */
}
}
Expand Down

0 comments on commit 182d004

Please sign in to comment.