public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PATCH: AMD pata fixes
@ 2005-11-19 21:58 Alan Cox
  2005-11-19 22:34 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Cox @ 2005-11-19 21:58 UTC (permalink / raw)
  To: jgarzik, linux-kernel

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 <alan@redhat.com>

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])) {


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PATCH: AMD pata fixes
  2005-11-19 21:58 PATCH: AMD pata fixes Alan Cox
@ 2005-11-19 22:34 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2005-11-19 22:34 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

applied this, opti, and triflex patches


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-19 22:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-19 21:58 PATCH: AMD pata fixes Alan Cox
2005-11-19 22:34 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox