1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

sync lcd4linux with whiterussian

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3022 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2006-01-20 03:19:35 +00:00
parent 350b643ec5
commit dd024428b4
6 changed files with 30 additions and 123 deletions

View File

@@ -0,0 +1,15 @@
diff -urN lcd4linux.old/drv_generic_parport.c lcd4linux.dev/drv_generic_parport.c
--- lcd4linux.old/drv_generic_parport.c 2006-01-20 03:52:18.426419500 +0100
+++ lcd4linux.dev/drv_generic_parport.c 2006-01-20 03:57:59.205263500 +0100
@@ -134,6 +134,11 @@
#define PARPORT_STATUS_BUSY 0x80
#endif
+#ifndef WITH_OUTB
+#define inb(foo) 0
+#define outb(foo,bar) 0
+#endif
+
#if !defined(WITH_OUTB) && !defined(WITH_PPDEV)
#error neither outb() nor ppdev() possible
#error cannot compile parallel port driver