rpms/kernel/F-8 linux-2.6-libata-pata_ataiixp-clear-simplex-b4-probe.patch, NONE, 1.1 kernel.spec, 1.413, 1.414

Chuck Ebbert (cebbert) fedora-extras-commits at redhat.com
Wed Apr 2 00:24:52 UTC 2008


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14587

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-libata-pata_ataiixp-clear-simplex-b4-probe.patch 
Log Message:
* Tue Apr 01 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.24.4-68
- libata: clear simplex DMA before probing pata_atiixp devices (#437163)


linux-2.6-libata-pata_ataiixp-clear-simplex-b4-probe.patch:

--- NEW FILE linux-2.6-libata-pata_ataiixp-clear-simplex-b4-probe.patch ---
Some of the other quirks changes seem to have left some users with the
simplex bits mis-set by the time the driver loads. Clear simplex mode
before we probe the controller therefore

Signed-off-by: Alan Cox <alan at redhat.com>

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc5-mm1/drivers/ata/pata_atiixp.c linux-2.6.25-rc5-mm1/drivers/ata/pata_atiixp.c
--- linux.vanilla-2.6.25-rc5-mm1/drivers/ata/pata_atiixp.c	2008-03-18 15:52:08.000000000 +0000
+++ linux-2.6.25-rc5-mm1/drivers/ata/pata_atiixp.c	2008-03-26 09:41:09.000000000 +0000
@@ -22,7 +22,7 @@
 #include <linux/libata.h>
 
 #define DRV_NAME "pata_atiixp"
-#define DRV_VERSION "0.4.6"
+#define DRV_VERSION "0.4.7"
 
 enum {
 	ATIIXP_IDE_PIO_TIMING	= 0x40,
@@ -282,6 +282,9 @@
 		.port_ops = &atiixp_port_ops
 	};
 	const struct ata_port_info *ppi[] = { &info, NULL };
+	/* Some of the quirk reconfiguration messes up the simplex
+	   flag, so clear it again */
+	ata_pci_clear_simplex(dev);
 	return ata_pci_init_one(dev, ppi);
 }
 
@@ -318,7 +321,7 @@
 }
 
 MODULE_AUTHOR("Alan Cox");
-MODULE_DESCRIPTION("low-level driver for ATI IXP200/300/400");
+MODULE_DESCRIPTION("low-level driver for ATI IXP series");
 MODULE_LICENSE("GPL");
 MODULE_DEVICE_TABLE(pci, atiixp);
 MODULE_VERSION(DRV_VERSION);


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/kernel.spec,v
retrieving revision 1.413
retrieving revision 1.414
diff -u -r1.413 -r1.414
--- kernel.spec	1 Apr 2008 15:58:29 -0000	1.413
+++ kernel.spec	2 Apr 2008 00:24:03 -0000	1.414
@@ -666,6 +666,7 @@
 Patch670: linux-2.6-ata-quirk.patch
 # Patch671: linux-2.6-libata-fix-hpt-svw-dma-masking.patch
 Patch672: linux-2.6-libata-it821x-improve-emulation-handling.patch
+Patch673: linux-2.6-libata-pata_ataiixp-clear-simplex-b4-probe.patch
 
 Patch680: linux-2.6-wireless.patch
 Patch681: linux-2.6-wireless-pending.patch
@@ -1272,6 +1273,8 @@
 ApplyPatch linux-2.6-ata-quirk.patch
 # fix some broken it821x adapters that have broken emulation
 ApplyPatch linux-2.6-libata-it821x-improve-emulation-handling.patch
+# clear simplex DMA before probing
+ApplyPatch linux-2.6-libata-pata_ataiixp-clear-simplex-b4-probe.patch
 
 # wireless patches headed for 2.6.25
 ApplyPatch linux-2.6-wireless.patch
@@ -1998,6 +2001,9 @@
 
 
 %changelog
+* Tue Apr 01 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.24.4-68
+- libata: clear simplex DMA before probing pata_atiixp devices (#437163)
+
 * Tue Apr 01 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.24.4-67
 - Fix ISAPnP device resource limits so they match the spec.
 - Extend the PnP memory resource limit to 24.




More information about the fedora-extras-commits mailing list