Author: tbm Date: Fri Jul 27 18:19:40 2007 New Revision: 9209 Log: [mipsel] Add patch from Yoichi Yuasa to fix IDE on Cobalt.
Added: dists/sid/linux-2.6/debian/patches/bugfix/mips/cobalt-ide-resources.patch dists/sid/linux-2.6/debian/patches/series/3 Modified: dists/sid/linux-2.6/debian/changelog Modified: dists/sid/linux-2.6/debian/changelog ============================================================================== --- dists/sid/linux-2.6/debian/changelog (original) +++ dists/sid/linux-2.6/debian/changelog Fri Jul 27 18:19:40 2007 @@ -7,6 +7,7 @@ [ Martin Michlmayr ] * [mipsel/r5k-cobalt] Fix a typo in the config file. * [mipsel/4kc-malta] Update the config file, thanks Aurelien Jarno. + * [mipsel] Add patch from Yoichi Yuasa to fix IDE on Cobalt. -- dann frazier <[EMAIL PROTECTED]> Wed, 25 Jul 2007 14:04:02 -0600 Added: dists/sid/linux-2.6/debian/patches/bugfix/mips/cobalt-ide-resources.patch ============================================================================== --- (empty file) +++ dists/sid/linux-2.6/debian/patches/bugfix/mips/cobalt-ide-resources.patch Fri Jul 27 18:19:40 2007 @@ -0,0 +1,31 @@ +# Upstream status: needs to be reworked + +# http://www.linux-mips.org/archives/linux-mips/2007-01/msg00049.html + +From: Yoichi Yuasa <[EMAIL PROTECTED]> + +Hi Ralf, + +This patch has fixed IDE resources problem about Cobalt. + +pcibios_fixup_device_resources() changes non-movable resources. +It cannot be changed if there is IORESOURCE_PCI_FIXED in the resource flags. + +Yoichi + +Signed-off-by: Yoichi Yuasa <[EMAIL PROTECTED]> + +diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/pci/pci.c mips/arch/mips/pci/pci.c +--- mips-orig/arch/mips/pci/pci.c 2006-12-18 15:53:10.735222250 +0900 ++++ mips/arch/mips/pci/pci.c 2006-12-18 15:56:59.805538250 +0900 +@@ -232,7 +232,8 @@ static void __init pcibios_fixup_device_ + int i; + + for (i = 0; i < PCI_NUM_RESOURCES; i++) { +- if (!dev->resource[i].start) ++ if (!dev->resource[i].start || ++ dev->resource[i].flags & IORESOURCE_PCI_FIXED) + continue; + if (dev->resource[i].flags & IORESOURCE_IO) + offset = hose->io_offset; + Added: dists/sid/linux-2.6/debian/patches/series/3 ============================================================================== --- (empty file) +++ dists/sid/linux-2.6/debian/patches/series/3 Fri Jul 27 18:19:40 2007 @@ -0,0 +1 @@ ++ bugfix/mips/cobalt-ide-resources.patch _______________________________________________ Kernel-svn-changes mailing list Kernel-svn-changes@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes