Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

pata_hpt37x: Fix HPT374 detection

Bug #9261

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Alan Cox and committed by
Linus Torvalds
f941b168 fcbe6e97

+1 -1
+1 -1
drivers/ata/pata_hpt37x.c
··· 375 375 pci_write_config_word(pdev, mcrbase + 2, mcr3 | 0x8000); 376 376 pci_read_config_byte(pdev, 0x5A, &ata66); 377 377 /* Reset TCBLID/FCBLID to output */ 378 - pci_write_config_word(pdev, 0x52, mcr3); 378 + pci_write_config_word(pdev, mcrbase + 2, mcr3); 379 379 380 380 if (ata66 & (2 >> ap->port_no)) 381 381 ap->cbl = ATA_CBL_PATA40;