if (bus_space_map(&hppa_bustag, pdc_hpa.hpa, IOMOD_HPASIZE, 0, &ioh))
printf(" [flex %x]\n", pdc_hpa.hpa & HPPA_FLEX_MASK);   if (bus_space_map(&hppa_bustag, pdc_hpa.hpa, (~0LU - pdc_hpa.hpa + 1), 0, &ioh))
mbattach(parent, self, aux)	struct device *parent;	struct device *self;	void *aux;{	register struct mainbus_softc *sc = (struct mainbus_softc *)self;	struct pdc_hpa pdc_hpa PDC_ALIGNMENT;	struct confargs nca;	bus_space_handle_t ioh;	/* fetch the "default" cpu hpa */	if (pdc_call((iodcio_t)pdc, 0, PDC_HPA, PDC_HPA_DFLT, &pdc_hpa) < 0)		panic("mbattach: PDC_HPA failed");	if (bus_space_map(&hppa_bustag, pdc_hpa.hpa, IOMOD_HPASIZE, 0, &ioh))		panic("mbattach: cannot map mainbus IO space");	/*	 * Local-Broadcast the HPA to all modules on the bus	 */	((struct iomod *)(pdc_hpa.hpa & HPPA_FLEX_MASK))[FPA_IOMOD].io_flex =		(void *)((pdc_hpa.hpa & HPPA_FLEX_MASK) | DMA_ENABLE);	sc->sc_hpa = pdc_hpa.hpa;	printf(" [flex %x]\n", pdc_hpa.hpa & HPPA_FLEX_MASK);	/* PDC first */	bzero (&nca, sizeof(nca));	nca.ca_name = "pdc";	nca.ca_hpa = 0;	nca.ca_hpamask = 0;	nca.ca_iot = &hppa_bustag;	nca.ca_dmatag = &hppa_dmatag;	config_found(self, &nca, mbprint);	bzero (&nca, sizeof(nca));	nca.ca_name = "mainbus";	nca.ca_hpa = 0;	nca.ca_irq = -1;	nca.ca_hpamask = HPPA_IOSPACE;	nca.ca_iot = &hppa_bustag;	nca.ca_dmatag = &hppa_dmatag;	nca.ca_dp.dp_bc[0] = nca.ca_dp.dp_bc[1] = nca.ca_dp.dp_bc[2] =	nca.ca_dp.dp_bc[3] = nca.ca_dp.dp_bc[4] = nca.ca_dp.dp_bc[5] = -1;	nca.ca_dp.dp_mod = -1;	pdc_scanbus(self, &nca, MAXMODBUS);}