diff options
author | cokane <cokane@FreeBSD.org> | 2000-06-22 19:10:35 +0000 |
---|---|---|
committer | cokane <cokane@FreeBSD.org> | 2000-06-22 19:10:35 +0000 |
commit | a8b414f088808d2e6542c5baab86eca698840a12 (patch) | |
tree | 797ca75195f46e7763beb854f8308bb11ee0663a /sys/dev/tdfx | |
parent | 93c49d640df35f1092b18ce04262428b85e355a5 (diff) | |
download | FreeBSD-src-a8b414f088808d2e6542c5baab86eca698840a12.zip FreeBSD-src-a8b414f088808d2e6542c5baab86eca698840a12.tar.gz |
Put RF_SHAREABLE into the bus_alloc_resource call.
Diffstat (limited to 'sys/dev/tdfx')
-rw-r--r-- | sys/dev/tdfx/tdfx_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/tdfx/tdfx_pci.c b/sys/dev/tdfx/tdfx_pci.c index 2f852e3..ad48f99 100644 --- a/sys/dev/tdfx/tdfx_pci.c +++ b/sys/dev/tdfx/tdfx_pci.c @@ -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"); |