changeset 22817:a59deec120cc

in solaris the I/O device to mmap() is /dev/xsvc, not /dev/mem
author nicodvb
date Wed, 28 Mar 2007 18:45:02 +0000
parents a947e60de6e3
children 286dab036968
files libdha/libdha.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libdha/libdha.c	Tue Mar 27 18:13:52 2007 +0000
+++ b/libdha/libdha.c	Wed Mar 28 18:45:02 2007 +0000
@@ -48,6 +48,8 @@
 #   undef DEV_MEM
 #   define DEV_MEM "/dev/mem"
 #  endif
+#elif defined(sun) && defined (i386)
+#define DEV_MEM "/dev/xsvc"
 # endif /* SVR4 */
 
 #if defined(__OpenBSD__)