summaryrefslogtreecommitdiff
path: root/comms/linrad/files/patch-hwaredriver.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/linrad/files/patch-hwaredriver.c')
-rw-r--r--comms/linrad/files/patch-hwaredriver.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/comms/linrad/files/patch-hwaredriver.c b/comms/linrad/files/patch-hwaredriver.c
new file mode 100644
index 000000000000..17764dedba94
--- /dev/null
+++ b/comms/linrad/files/patch-hwaredriver.c
@@ -0,0 +1,19 @@
+--- hwaredriver.c.orig Tue May 18 09:43:30 2004
++++ hwaredriver.c Fri Jul 9 11:26:15 2004
+@@ -1,6 +1,6 @@
+
+ #include <vga.h>
+-#include <sys/io.h>
++#include <machine/cpufunc.h>
+ #include <ctype.h>
+ #include "conf.h"
+ #include "globdef.h"
+@@ -169,7 +169,7 @@
+ void users_open_devices(void)
+ {
+ // Get permission to write to the parallel port
+-ioperm(HWARE_PORT,4,1);
++i386_set_ioperm(HWARE_PORT,4,1);
+ allow_parport=1;
+ }
+