Put RF_SHAREABLE into the bus_alloc_resource call.

This commit is contained in:
cokane 2000-06-22 19:10:35 +00:00
parent 93c49d640d
commit a8b414f088

View File

@ -202,7 +202,7 @@ tdfx_attach(device_t dev) {
/* Notify the VM that we will be mapping some memory later */
tdfx_info->memrange = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, 0, ~0, 1,
RF_ACTIVE);
RF_ACTIVE | RF_SHAREABLE);
if(tdfx_info->memrange == NULL) {
#ifdef DEBUG
device_printf(dev, "Error mapping mem, won't be able to use mmap()\n");