On 5/26/10 11:44 AM, Arne Georg Gleditsch wrote:
@@ -199,7 +199,7 @@ static inline __attribute__((always_inline)) void pci_io_write_config16(device_t static inline __attribute__((always_inline)) void pci_mmio_write_config16(device_t dev, unsigned where, uint16_t value) { unsigned addr;
addr = CONFIG_MMCONF_BASE_ADDRESS | dev | where;
addr = dev | (where & ~1); write16x(addr, value);
} #endif
This breaks non-AMD platforms I think.
Stefan