I managed to send you the pata file versions before I did the last fix
(forgot to rsync them back off a build box). This corrects the obvious
problem for the AMD driver and fixes drive detection.
Signed-off-by: Alan Cox <[email protected]>
diff -u --exclude-from /usr/src/exclude --new-file --recursive linux.vanilla-2.6.14-mm2/drivers/scsi/pata_amd.c linux-2.6.14-mm2/drivers/scsi/pata_amd.c
--- linux.vanilla-2.6.14-mm2/drivers/scsi/pata_amd.c 2005-11-19 17:28:03.000000000 +0000
+++ linux-2.6.14-mm2/drivers/scsi/pata_amd.c 2005-11-19 17:34:37.000000000 +0000
@@ -148,8 +148,8 @@
{
struct pci_dev *pdev = to_pci_dev(ap->host_set->dev);
static struct pci_bits amd_enable_bits[] = {
- { 0x40, 0x02, 0x02 },
- { 0x40, 0x01, 0x01 }
+ { 0x40, 1, 0x02, 0x02 },
+ { 0x40, 1, 0x01, 0x01 }
};
if (!pci_test_config_bits(pdev, &amd_enable_bits[ap->hard_port_no])) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]