summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>2005-09-22 04:56:59 +0000
committergibbs <gibbs@FreeBSD.org>2005-09-22 04:56:59 +0000
commitbd758d5e914041ec25e9d38b5cce87fa6b9c830a (patch)
treee3a095615d8b7c354d9134c1f3cc2b9466587b4f /sys/dev
parenta5a623bf77ef474ca185decf7325316d27dd4707 (diff)
downloadFreeBSD-src-bd758d5e914041ec25e9d38b5cce87fa6b9c830a.zip
FreeBSD-src-bd758d5e914041ec25e9d38b5cce87fa6b9c830a.tar.gz
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.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/aic7xxx/ahd_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/aic7xxx/ahd_pci.c b/sys/dev/aic7xxx/ahd_pci.c
index df7fd5c..8f2e65e 100644
--- a/sys/dev/aic7xxx/ahd_pci.c
+++ b/sys/dev/aic7xxx/ahd_pci.c
@@ -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
OpenPOWER on IntegriCloud