summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/solx_devfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/solx_devfs.c b/src/solx_devfs.c
index 8e7ea9b..f572393 100644
--- a/src/solx_devfs.c
+++ b/src/solx_devfs.c
@@ -724,6 +724,9 @@ pci_device_solx_devfs_map_range(struct pci_device *dev,
strerror(errno));
return err;
}
+#ifndef __sparc
+ xsvc_fd = map_fd;
+#endif
}
map->memory = mmap(NULL, map->size, prot, MAP_SHARED, map_fd, map->base);