source:
freewrt/package/serdisplib/patches/100-io.patch@
9df7618
| Last change on this file since 9df7618 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 681 bytes | |
-
src/serdisp_connect.c
diff -ru serdisplib-1.96.orig/src/serdisp_connect.c serdisplib-1.96/src/serdisp_connect.c
old new 60 60 /* directIO only with linux and i386 */ 61 61 #if defined(__linux__) && (defined(__i386__) || defined(__x86_64__)) 62 62 #define __sd_linux_use_directIO__ 1 63 #include <sys/io.h> 63 64 #endif 64 65 65 66 … … 67 68 #if defined(__linux__) 68 69 #include <linux/ppdev.h> 69 70 #include <linux/parport.h> 70 #include <sys/io.h>71 71 #include <stdlib.h> 72 72 #define OUTB(_d, _p) outb( (_d), (_p) ) 73 73 #define INB(_p) inb( (_p) )
Note:
See TracBrowser
for help on using the repository browser.
