PPC405EP: set vendor id.
authorstroese <stroese>
Fri, 12 Sep 2003 08:52:09 +0000 (08:52 +0000)
committerstroese <stroese>
Fri, 12 Sep 2003 08:52:09 +0000 (08:52 +0000)
cpu/ppc4xx/405gp_pci.c

index 4b5472b..fa5acfc 100644 (file)
@@ -266,6 +266,10 @@ void pci_405gp_init(struct pci_controller *hose)
        }
 #endif
 
+#if defined(CONFIG_405EP) /* on ppc405ep vendor id is not set */
+       pci_write_config_word(PCIDEVID_405GP, PCI_VENDOR_ID, 0x1014); /* IBM */
+#endif
+
        /*
         * Set HCE bit (Host Configuration Enabled)
         */