瀏覽代碼

PPC405EP: set vendor id.

stroese 21 年之前
父節點
當前提交
428c563938
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      cpu/ppc4xx/405gp_pci.c

+ 4 - 0
cpu/ppc4xx/405gp_pci.c

@@ -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)
 	 */