/* Generate a Direct Select Address for the Hypervisor  */
static u64 iseries_ds_addr(struct device_node *node)
/* Generate a Direct Select Address for the Hypervisor  */
static u64 iseries_ds_addr(struct device_node *node)
{
	struct pci_dn *pdn = PCI_DN(node);
	const u32 *sbp = of_get_property(node, "linux,subbus", NULL);
	return ((u64)pdn->busno << 48) + ((u64)(sbp ? *sbp : 0) << 40)
			+ ((u64)0x10 << 32);
}