|
@@ -15,6 +15,7 @@
|
|
|
#include <asm/sn/pcibus_provider_defs.h>
|
|
|
#include <asm/sn/pcidev.h>
|
|
|
#include <asm/sn/sn_sal.h>
|
|
|
+#include <asm/sn/pic.h>
|
|
|
#include <asm/sn/sn2/sn_hwperf.h>
|
|
|
#include "xtalk/xwidgetdev.h"
|
|
|
#include "xtalk/hubdev.h"
|
|
@@ -130,9 +131,9 @@ pcibr_bus_fixup(struct pcibus_bussoft *prom_bussoft, struct pci_controller *cont
|
|
|
}
|
|
|
|
|
|
memcpy(soft, prom_bussoft, sizeof(struct pcibus_info));
|
|
|
- soft->pbi_buscommon.bs_base =
|
|
|
- (((u64) soft->pbi_buscommon.
|
|
|
- bs_base << 4) >> 4) | __IA64_UNCACHED_OFFSET;
|
|
|
+ soft->pbi_buscommon.bs_base = (unsigned long)
|
|
|
+ ioremap(REGION_OFFSET(soft->pbi_buscommon.bs_base),
|
|
|
+ sizeof(struct pic));
|
|
|
|
|
|
spin_lock_init(&soft->pbi_lock);
|
|
|
|