]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
removed the pci patch as per the request of the author.
authorGreg Kroah-Hartman <gregkh@suse.de>
Sat, 28 Jan 2006 01:52:38 +0000 (17:52 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 28 Jan 2006 01:52:38 +0000 (17:52 -0800)
queue/pci-handle-bogus-mcfg-entries.patch [deleted file]
queue/series

diff --git a/queue/pci-handle-bogus-mcfg-entries.patch b/queue/pci-handle-bogus-mcfg-entries.patch
deleted file mode 100644 (file)
index f941072..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-From ak@suse.de  Fri Jan 27 09:45:26 2006
-From: Andi Kleen <ak@suse.de>
-To: Greg KH <greg@kroah.com>
-Subject: PCI: handle bogus MCFG entries
-Date: Fri, 27 Jan 2006 02:03:50 +0100
-Cc: Stephen Hemminger <shemminger@osdl.org>, Matthew Wilcox <matthew@wil.cx>
-Message-Id: <200601270203.51244.ak@suse.de>
-
-
-Handle more bogus MCFG entries
-
-Some Asus P4 boards seem to have broken MCFG tables with
-only a single entry for busses 0-0.  Special case these
-and assume they mean all busses can be accessed.
-
-Signed-off-by: Andi Kleen <ak@suse.de>
-Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-
----
- arch/i386/pci/mmconfig.c   |   15 +++++++++++++--
- arch/x86_64/pci/mmconfig.c |   19 ++++++++++++++-----
- 2 files changed, 27 insertions(+), 7 deletions(-)
-
---- linux-2.6.15.1.orig/arch/i386/pci/mmconfig.c
-+++ linux-2.6.15.1/arch/i386/pci/mmconfig.c
-@@ -36,8 +36,7 @@ static u32 get_base_addr(unsigned int se
-       while (1) {
-               ++cfg_num;
-               if (cfg_num >= pci_mmcfg_config_num) {
--                      /* Not found - fallback to type 1 */
--                      return 0;
-+                      break;
-               }
-               cfg = &pci_mmcfg_config[cfg_num];
-               if (cfg->pci_segment_group_number != seg)
-@@ -46,6 +45,18 @@ static u32 get_base_addr(unsigned int se
-                   (cfg->end_bus_number >= bus))
-                       return cfg->base_address;
-       }
-+
-+      /* Handle more broken MCFG tables on Asus etc.
-+         They only contain a single entry for bus 0-0. Assume
-+         this applies to all busses. */
-+      cfg = &pci_mmcfg_config[0];
-+      if (pci_mmcfg_config_num == 1 &&
-+              cfg->pci_segment_group_number == 0 &&
-+              (cfg->start_bus_number | cfg->end_bus_number) == 0)
-+              return cfg->base_address;
-+
-+      /* Fall back to type 0 */
-+      return 0;
- }
- static inline void pci_exp_set_dev_base(unsigned int base, int bus, int devfn)
---- linux-2.6.15.1.orig/arch/x86_64/pci/mmconfig.c
-+++ linux-2.6.15.1/arch/x86_64/pci/mmconfig.c
-@@ -29,11 +29,8 @@ static char __iomem *get_virt(unsigned i
-       while (1) {
-               ++cfg_num;
--              if (cfg_num >= pci_mmcfg_config_num) {
--                      /* Not found - fall back to type 1. This happens
--                         e.g. on the internal devices of a K8 northbridge. */
--                      return NULL;
--              }
-+              if (cfg_num >= pci_mmcfg_config_num)
-+                      break;
-               cfg = pci_mmcfg_virt[cfg_num].cfg;
-               if (cfg->pci_segment_group_number != seg)
-                       continue;
-@@ -41,6 +38,18 @@ static char __iomem *get_virt(unsigned i
-                   (cfg->end_bus_number >= bus))
-                       return pci_mmcfg_virt[cfg_num].virt;
-       }
-+
-+      /* Handle more broken MCFG tables on Asus etc.
-+         They only contain a single entry for bus 0-0. Assume
-+         this applies to all busses. */
-+      cfg = &pci_mmcfg_config[0];
-+      if (pci_mmcfg_config_num == 1 &&
-+              cfg->pci_segment_group_number == 0 &&
-+              (cfg->start_bus_number | cfg->end_bus_number) == 0)
-+              return cfg->base_address;
-+
-+      /* Fall back to type 0 */
-+      return 0;
- }
- static char __iomem *pci_dev_base(unsigned int seg, unsigned int bus, unsigned int devfn)
index b792260ea213011d1871a69fb9871d74698586b3..5ae8c1062a365849146bc1f7d51c0839a131b306 100644 (file)
@@ -7,7 +7,6 @@ elevator-as-back-compatibility.patch
 sparc64-fix-timekeeping-on-ultra-IIe-machines.patch
 net-make-second-arg-to-skb_reserved-signed.patch
 mask-off-GFP-flags-before-swiotlb_alloc_coherent.patch
-pci-handle-bogus-mcfg-entries.patch
 someone-broke-reiserfs-v3-mount-options-and-this-fixes-it.patch
 fix-i2o_scsi-oops-on-abort.patch
 fix-mkiss-locking-bug.patch