/* We set the PCIE flag because the lower bandwidth on PCIe vs HyperTransport can affect some user packet algorithms.  */
static int ipath_pe_get_base_info(struct ipath_portdata *pd, void *kbase)
/* We set the PCIE flag because the lower bandwidth on PCIe vs HyperTransport can affect some user packet algorithms.  */
static int ipath_pe_get_base_info(struct ipath_portdata *pd, void *kbase)
{
	struct ipath_base_info *kinfo = kbase;
	struct ipath_devdata *dd;
	if (ipath_unordered_wc()) {
		kinfo->spi_runtime_flags |= IPATH_RUNTIME_FORCE_WC_ORDER;
		ipath_cdbg(PROC, "Intel processor, forcing WC order\n");
	}
	else
		ipath_cdbg(PROC, "Not Intel processor, WC ordered\n");
	if (pd == NULL)
		goto done;
	dd = pd->port_dd;
done:
	kinfo->spi_runtime_flags |= IPATH_RUNTIME_PCIE |
		IPATH_RUNTIME_FORCE_PIOAVAIL | IPATH_RUNTIME_PIO_REGSWAPPED;
	return 0;
}