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:
Justin T. Gibbs 2005-09-22 04:56:59 +00:00
parent 09ec45fd15
commit 6bdc5bdf68
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150449

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