From: Kumar Gala Date: Wed, 23 Apr 2008 21:58:04 +0000 (-0500) Subject: fsl_pci: Only modify registers if we have them X-Git-Tag: v2008.10-rc1~424 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=876b8f978982216ab4a22dcd9efddfcd9b0e04e6;p=platform%2Fkernel%2Fu-boot.git fsl_pci: Only modify registers if we have them pme_msg_det exists only on PCIe controllers only set it if we are a "bridge". Signed-off-by: Kumar Gala --- diff --git a/drivers/pci/fsl_pci_init.c b/drivers/pci/fsl_pci_init.c index 68e45e1..7dc33be 100644 --- a/drivers/pci/fsl_pci_init.c +++ b/drivers/pci/fsl_pci_init.c @@ -182,7 +182,8 @@ fsl_pci_init(struct pci_controller *hose) /* Clear all error indications */ - pci->pme_msg_det = 0xffffffff; + if (bridge) + pci->pme_msg_det = 0xffffffff; pci->pedr = 0xffffffff; pci_hose_read_config_word (hose, dev, PCI_DSR, &temp16);