fsl_pci: Only modify registers if we have them
PATCH 1/1 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 <[email protected]>
---
A fix for 1.3.3.
drivers/pci/fsl_pci_init.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/pci/fsl_pci_init.c +2 -1
@@ -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);
Signature · 1 line
1.5.4.1
PATCH 1/1 fsl_pci: Only modify registers if we have them
Quoted 3 lines · Kumar Gala
pme_msg_detexists only on PCIe controllers only set it if we are a "bridge".Signed-off-by Kumar Gala <[email protected]>
Acked-by Andy Fleming <[email protected]>
Though it'd be nice if you at least put a semicolon between "controllers" and "only". ;)
Wolfgang Denk
AppliedPATCH 1/1 fsl_pci: Only modify registers if we have them
In reply to Kumar GalaQuoted 9 lines · In message <[email protected]> you wrote:
pme_msg_detexists only on PCIe controllers only set it if we are a "bridge".Signed-off-by Kumar Gala <[email protected]>---
A fix for 1.3.3.
drivers/pci/fsl_pci_init.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de You're dead, Jim. -- McCoy, "Amok Time", stardate 3372.7