Currently, it is able to alter DPMS states, save/restore video card state and attempt to initialize the video card from scratch. -- Requested by jmcneill@.
16 lines
394 B
Text
16 lines
394 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2007/08/08 12:00:34 xtraeme Exp $
|
|
|
|
--- thunk.c.orig 2007-08-08 13:29:17.000000000 +0200
|
|
+++ thunk.c 2007-08-08 13:29:52.000000000 +0200
|
|
@@ -11,7 +11,11 @@
|
|
#include <unistd.h>
|
|
#include <stdlib.h>
|
|
#include <sys/mman.h>
|
|
+#ifdef __NetBSD__
|
|
+#include <machine/pio.h>
|
|
+#else
|
|
#include <sys/io.h>
|
|
+#endif
|
|
#include <string.h>
|
|
#include <sys/ipc.h>
|
|
#include <sys/shm.h>
|