Set allow_memio to 1 if fetching the allow_memio hint fails. This

is the default behavior according the the bootverbose printf in the
failure case.
This commit is contained in:
gibbs 2005-09-22 04:56:59 +00:00
parent a5a623bf77
commit bd758d5e91

View File

@ -163,6 +163,7 @@ ahd_pci_map_registers(struct ahd_softc *ahd)
if (bootverbose)
device_printf(ahd->dev_softc,
"Defaulting to MEMIO on\n");
allow_memio = 1;
}
if ((command & PCIM_CMD_MEMEN) != 0