projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcbe6e9
)
pata_hpt37x: Fix HPT374 detection
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Wed, 19 Dec 2007 17:50:32 +0000
(17:50 +0000)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 19 Dec 2007 22:29:01 +0000
(14:29 -0800)
Bug #9261
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/ata/pata_hpt37x.c
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_hpt37x.c
b/drivers/ata/pata_hpt37x.c
index 46dc70e0dee7ee7d8add0e4541d28d64cc17f5ff..c79f066c2bc9ed796e35b1b6b3816d42d8c824ff 100644
(file)
--- a/
drivers/ata/pata_hpt37x.c
+++ b/
drivers/ata/pata_hpt37x.c
@@
-375,7
+375,7
@@
static int hpt374_pre_reset(struct ata_link *link, unsigned long deadline)
pci_write_config_word(pdev, mcrbase + 2, mcr3 | 0x8000);
pci_read_config_byte(pdev, 0x5A, &ata66);
/* Reset TCBLID/FCBLID to output */
- pci_write_config_word(pdev,
0x5
2, mcr3);
+ pci_write_config_word(pdev,
mcrbase +
2, mcr3);
if (ata66 & (2 >> ap->port_no))
ap->cbl = ATA_CBL_PATA40;