cleanly finish configuration access cycle in pci_write_config_longword

This commit is contained in:
Markus Fröschle
2013-11-08 05:45:12 +00:00
parent fdc5f2efd5
commit fd8afbdc9c

View File

@@ -167,6 +167,9 @@ int32_t pci_write_config_longword(int32_t handle, int offset, uint32_t value)
* (volatile uint32_t *) PCI_IO_OFFSET = value; /* access device */
/* finish configuration space access cycle */
MCF_PCI_PCICAR &= ~MCF_PCI_PCICAR_E;
return PCI_SUCCESSFUL;
}