r2126 - in trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian: . patches

Sven Luther luther@costa.debian.org
Mon, 03 Jan 2005 11:13:06 +0100


Author: luther
Date: 2005-01-03 11:13:06 +0100 (Mon, 03 Jan 2005)
New Revision: 2126

Added:
   trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/powerpc-prep-powerstack-irq.dpatch
Modified:
   trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog
Log:
Fix PReP motorola powerstack Utah pci irq's map. Backported from 2.6.10 upstream.


Modified: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog	2005-01-02 12:11:54 UTC (rev 2125)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog	2005-01-03 10:13:06 UTC (rev 2126)
@@ -1,3 +1,10 @@
+kernel-source-2.6.8 (2.6.8-12) UNRELEASED; urgency=low
+
+  * [powerpc - prep] Fix bad irq assignement for pci devices on motorola
+    powerstack boxes. (Sven Luther)
+
+ -- Sven Luther <luther@debian.org>  Mon,  3 Jan 2005 11:02:15 +0100
+
 kernel-source-2.6.8 (2.6.8-11) unstable; urgency=high
 
   * [SECURITY] serialize dgram read using semaphore just like stream;

Added: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/powerpc-prep-powerstack-irq.dpatch
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/powerpc-prep-powerstack-irq.dpatch	2005-01-02 12:11:54 UTC (rev 2125)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/powerpc-prep-powerstack-irq.dpatch	2005-01-03 10:13:06 UTC (rev 2126)
@@ -0,0 +1,20 @@
+--- kernel-source-2.6.8.orig/arch/ppc/platforms/prep_pci.c	2004-12-28 08:24:07.000000000 +0100
++++ kernel-source-2.6.8/arch/ppc/platforms/prep_pci.c	2005-01-03 11:15:30.604274816 +0100
+@@ -115,13 +115,13 @@
+ static char Utah_pci_IRQ_map[23] __prepdata =
+ {
+         0,   /* Slot 0  - unused */
+-        0,   /* Slot 1  - unused */
++        0,   /* Slot 1  - unused (IDE - set to 4 to activate) */
+         5,   /* Slot 2  - SCSI - NCR825A  */
+         0,   /* Slot 3  - unused */
+-        1,   /* Slot 4  - Ethernet - DEC2114x */
++        3,   /* Slot 4  - Ethernet - DEC2114x */
+         0,   /* Slot 5  - unused */
+-        3,   /* Slot 6  - PCI Card slot #1 */
+-        4,   /* Slot 7  - PCI Card slot #2 */
++        2,   /* Slot 6  - PCI Card slot #1 */
++        3,   /* Slot 7  - PCI Card slot #2 */
+         5,   /* Slot 8  - PCI Card slot #3 */
+         5,   /* Slot 9  - PCI Bridge */
+              /* added here in case we ever support PCI bridges */