aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/tdfx
diff options
context:
space:
mode:
authorColeman Kane <cokane@FreeBSD.org>2000-06-22 19:10:35 +0000
committerColeman Kane <cokane@FreeBSD.org>2000-06-22 19:10:35 +0000
commit6fdfb8e0715de8808140acd61f6f6eb7b4b289ce (patch)
tree5f122851a5b7e9ac2f2aafdaf397077800fff81d /sys/dev/tdfx
parent872c9728968f54023eaa3b666ee9d2f33023e85a (diff)
Notes
Diffstat (limited to 'sys/dev/tdfx')
-rw-r--r--sys/dev/tdfx/tdfx_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/tdfx/tdfx_pci.c b/sys/dev/tdfx/tdfx_pci.c
index 2f852e3616eb..ad48f9955033 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");