|
@@ -28,11 +28,16 @@ void mpc85xx_config_via(struct pci_controller *hose,
|
|
pci_dev_t dev, struct pci_config_table *tab)
|
|
pci_dev_t dev, struct pci_config_table *tab)
|
|
{
|
|
{
|
|
pci_dev_t bridge;
|
|
pci_dev_t bridge;
|
|
|
|
+ unsigned int cmdstat;
|
|
|
|
|
|
/* Enable USB and IDE functions */
|
|
/* Enable USB and IDE functions */
|
|
pci_hose_write_config_byte(hose, dev, 0x48, 0x08);
|
|
pci_hose_write_config_byte(hose, dev, 0x48, 0x08);
|
|
|
|
|
|
- pciauto_config_device(hose, dev);
|
|
|
|
|
|
+ pci_hose_read_config_dword(hose, dev, PCI_COMMAND, &cmdstat);
|
|
|
|
+ cmdstat |= PCI_COMMAND_IO | PCI_COMMAND_MEMORY| PCI_COMMAND_MASTER;
|
|
|
|
+ pci_hose_write_config_dword(hose, dev, PCI_COMMAND, cmdstat);
|
|
|
|
+ pci_hose_write_config_byte(hose, dev, PCI_CACHE_LINE_SIZE, 0x08);
|
|
|
|
+ pci_hose_write_config_byte(hose, dev, PCI_LATENCY_TIMER, 0x80);
|
|
|
|
|
|
/*
|
|
/*
|
|
* Force the backplane P2P bridge to have a window
|
|
* Force the backplane P2P bridge to have a window
|