rpms/kernel/F-7 linux-2.6-libata_ali_max_dma_speed.patch, NONE, 1.1 kernel-2.6.spec, 1.3219, 1.3220
Chuck Ebbert (cebbert)
fedora-extras-commits at redhat.com
Thu Jun 7 20:01:06 UTC 2007
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9654
Modified Files:
kernel-2.6.spec
Added Files:
linux-2.6-libata_ali_max_dma_speed.patch
Log Message:
* Thu Jun 07 2007 Chuck Ebbert <cebbert at redhat.com>
- pata_ali: limit DMA speeds (bz #242472)
linux-2.6-libata_ali_max_dma_speed.patch:
--- NEW FILE linux-2.6-libata_ali_max_dma_speed.patch ---
Patch from Alan Cox.
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=156482&action=view
---
drivers/ata/pata_ali.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- linux-2.6.21.noarch.orig/drivers/ata/pata_ali.c
+++ linux-2.6.21.noarch/drivers/ata/pata_ali.c
@@ -613,22 +613,22 @@ static int ali_init_one(struct pci_dev *
.udma_mask = 0x1f,
.port_ops = &ali_c2_port_ops
};
- /* Revision 0xC3 is UDMA100 */
+ /* Revision 0xC3 is UDMA66 for now */
static struct ata_port_info info_c3 = {
.sht = &ali_sht,
.flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST | ATA_FLAG_PIO_LBA48,
.pio_mask = 0x1f,
.mwdma_mask = 0x07,
- .udma_mask = 0x3f,
+ .udma_mask = 0x1f,
.port_ops = &ali_c2_port_ops
};
- /* Revision 0xC4 is UDMA133 */
+ /* Revision 0xC4 is UDMA100 */
static struct ata_port_info info_c4 = {
.sht = &ali_sht,
.flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST | ATA_FLAG_PIO_LBA48,
.pio_mask = 0x1f,
.mwdma_mask = 0x07,
- .udma_mask = 0x7f,
+ .udma_mask = 0x3f,
.port_ops = &ali_c2_port_ops
};
/* Revision 0xC5 is UDMA133 with LBA48 DMA */
Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-7/kernel-2.6.spec,v
retrieving revision 1.3219
retrieving revision 1.3220
diff -u -r1.3219 -r1.3220
--- kernel-2.6.spec 7 Jun 2007 19:07:43 -0000 1.3219
+++ kernel-2.6.spec 7 Jun 2007 20:00:28 -0000 1.3220
@@ -630,6 +630,7 @@
Patch2209: linux-2.6-libata-pata-hpt3x2n-correct-revision-boundary.patch
Patch2210: linux-2.6-libata-pata-sis-fix-timing.patch
Patch2211: linux-2.6-libata-setxfer.patch
+Patch2212: linux-2.6-libata_ali_max_dma_speed.patch
# Wireless bits
Patch2300: linux-2.6-wireless.patch
@@ -1430,6 +1431,8 @@
%patch2210 -p1
# libata: always use polling SETXFER
%patch2211 -p1
+# pata_ali: limit DMA speeds
+%patch2212 -p1
# Add critical wireless updates from 2.6.22
%patch2300 -p1
@@ -2426,6 +2429,9 @@
%endif
%changelog
+* Thu Jun 07 2007 Chuck Ebbert <cebbert at redhat.com>
+- pata_ali: limit DMA speeds (bz #242472)
+
* Thu Jun 07 2007 John W. Linville <linville at redhat.com>
- Update linux-2.6-wireless.patch and git-wireless-dev.patch
- Update git-iwlwifi.patch (version 0.0.24)
More information about the scm-commits
mailing list