]> err.no Git - linux-2.6/commitdiff
[PATCH] ppc32: Adds support for the PCI hostbridge in MPC5200B
authorSylvain Munaut <tnt@246tNt.com>
Sun, 26 Mar 2006 11:37:07 +0000 (13:37 +0200)
committerPaul Mackerras <paulus@samba.org>
Mon, 27 Mar 2006 03:48:56 +0000 (14:48 +1100)
ppc32: Adds support for the PCI hostbridge in MPC5200B

Signed-off-by: John Rigby <jrigby@freescale.com>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/syslib/mpc52xx_pci.c
include/linux/pci_ids.h

index 9ec525f9fe98c910235c65fb5efa5f94bcf71638..5a5a7a9cd248620528e34bbee408203d57e2480c 100644 (file)
@@ -225,7 +225,8 @@ mpc52xx_pci_fixup_resources(struct pci_dev *dev)
        /* The PCI Host bridge of MPC52xx has a prefetch memory resource
           fixed to 1Gb. Doesn't fit in the resource system so we remove it */
        if ( (dev->vendor == PCI_VENDOR_ID_MOTOROLA) &&
-            (dev->device == PCI_DEVICE_ID_MOTOROLA_MPC5200) ) {
+            (   dev->device == PCI_DEVICE_ID_MOTOROLA_MPC5200
+             || dev->device == PCI_DEVICE_ID_MOTOROLA_MPC5200B) ) {
                struct resource *res = &dev->resource[1];
                res->start = res->end = res->flags = 0;
        }
index 6f080ae5928651a3587712614ec118dfc9a02c7a..72d1b678e0e9ef44d0a37e0acf188fa19075642b 100644 (file)
 #define PCI_DEVICE_ID_MOTOROLA_HAWK    0x4803
 #define PCI_DEVICE_ID_MOTOROLA_HARRIER 0x480b
 #define PCI_DEVICE_ID_MOTOROLA_MPC5200 0x5803
+#define PCI_DEVICE_ID_MOTOROLA_MPC5200B        0x5809
 
 #define PCI_VENDOR_ID_PROMISE          0x105a
 #define PCI_DEVICE_ID_PROMISE_20265    0x0d30