rpms/kernel/F-10 linux-2.6-libata-pata-sch-notice-attached-slave-devices.patch, NONE, 1.1.2.1 kernel.spec, 1.1206.2.20, 1.1206.2.21

Chuck Ebbert cebbert at fedoraproject.org
Tue Feb 10 06:45:27 UTC 2009


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14684

Modified Files:
      Tag: private-fedora-10-2_6_27
	kernel.spec 
Added Files:
      Tag: private-fedora-10-2_6_27
	linux-2.6-libata-pata-sch-notice-attached-slave-devices.patch 
Log Message:
Fix detection of slave ATA devices on pata_sch (#467457)

linux-2.6-libata-pata-sch-notice-attached-slave-devices.patch:

--- NEW FILE linux-2.6-libata-pata-sch-notice-attached-slave-devices.patch ---
From: Mark Salter <msalter at redhat.com>
Date: Thu, 6 Nov 2008 13:03:23 +0000 (-0500)
Subject: [libata] pata_sch: notice attached slave devices
X-Git-Tag: v2.6.28-rc5~88^2~3
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=bc170e656881306d65eb1318c98032e1ab305ee8

[libata] pata_sch: notice attached slave devices

I posted this last month, but was prompted to do so again in bz#467457

Add capability flag to support slave devices with pata_sch driver.

Signed-off-by: Mark Salter <msalter at redhat.com>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
---

diff --git a/drivers/ata/pata_sch.c b/drivers/ata/pata_sch.c
index c8cc027..6aeeeeb 100644
--- a/drivers/ata/pata_sch.c
+++ b/drivers/ata/pata_sch.c
@@ -83,7 +83,7 @@ static struct ata_port_operations sch_pata_ops = {
 };
 
 static struct ata_port_info sch_port_info = {
-	.flags		= 0,
+	.flags		= ATA_FLAG_SLAVE_POSS,
 	.pio_mask	= ATA_PIO4,   /* pio0-4 */
 	.mwdma_mask	= ATA_MWDMA2, /* mwdma0-2 */
 	.udma_mask	= ATA_UDMA5,  /* udma0-5 */


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/kernel.spec,v
retrieving revision 1.1206.2.20
retrieving revision 1.1206.2.21
diff -u -r1.1206.2.20 -r1.1206.2.21
--- kernel.spec	9 Feb 2009 21:10:16 -0000	1.1206.2.20
+++ kernel.spec	10 Feb 2009 06:44:57 -0000	1.1206.2.21
@@ -645,6 +645,7 @@
 Patch670: linux-2.6-ata-quirk.patch
 Patch671: linux-2.6-libata-fix-ata-id-is-cfa.patch
 Patch672: linux-2.6-libata-fix-eh-device-failure-handling.patch
+Patch673: linux-2.6-libata-pata-sch-notice-attached-slave-devices.patch
 
 Patch681: linux-2.6-iwl3945-ibss-tsf-fix.patch
 Patch682: linux-2.6-wireless-ath9k-dma-fixes.patch
@@ -1264,6 +1265,8 @@
 ApplyPatch linux-2.6-libata-fix-ata-id-is-cfa.patch
 # drop link speed when error happen during EH reset
 ApplyPatch linux-2.6-libata-fix-eh-device-failure-handling.patch
+# fix detection of slave device on pata_sch (#467457)
+ApplyPatch linux-2.6-libata-pata-sch-notice-attached-slave-devices.patch
 
 # iwl3945 fix for stable ad-hoc mode connections (#459401)
 ApplyPatch linux-2.6-iwl3945-ibss-tsf-fix.patch
@@ -1939,6 +1942,9 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Tue Feb 10 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.27.15-170.2.21
+- Fix detection of slave ATA devices on pata_sch (#467457)
+
 * Mon Feb 09 2009 Kyle McMartin <kyle at redhat.com> 2.6.27.15-170.2.20
 - Enable CONFIG_X86_BIGSMP, to enable support for more than 8 cpus,
   since we have NR_CPUS=32...




More information about the fedora-extras-commits mailing list