mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* PATCH: VIA alternative patch set
@ 2005-11-19 22:17 Alan Cox
  0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2005-11-19 22:17 UTC (permalink / raw)
  To: linux-kernel, jgarzik

This set applies if you want to fix the pata_via enablebits but don't
want to rely on the private_data patch or push that into the main tree
yet.

Alan

diff -u --exclude-from /usr/src/exclude --new-file --recursive linux.vanilla-2.6.14-mm2/drivers/scsi/pata_via.c linux-2.6.14-mm2/drivers/scsi/pata_via.c
--- linux.vanilla-2.6.14-mm2/drivers/scsi/pata_via.c	2005-11-19 17:28:03.000000000 +0000
+++ linux-2.6.14-mm2/drivers/scsi/pata_via.c	2005-11-19 17:34:41.000000000 +0000
@@ -151,8 +151,8 @@
 
 	/* Note: When we add VIA 6410 remember it doesn't have enable bits */
 	static struct pci_bits via_enable_bits[] = {
-		{ 0x40, 0x02, 0x02 },
-		{ 0x40, 0x01, 0x01 }
+		{ 0x40, 1, 0x02, 0x02 },
+		{ 0x40, 1, 0x01, 0x01 }
 	};
 
 	if (!pci_test_config_bits(pdev, &via_enable_bits[ap->hard_port_no])) {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-19 21:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-19 22:17 PATCH: VIA alternative patch set Alan Cox

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

Powered by JetHome