mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-12-22 05:44:15 +02:00
urjtag : replace inb/outb with some simple define
This commit is contained in:
parent
67ac56b15b
commit
927287f6c9
@ -1,5 +1,5 @@
|
||||
diff --git a/urjtag/src/tap/parport/direct.c b/urjtag/src/tap/parport/direct.c
|
||||
index 10bea4d..2be15b8 100644
|
||||
index 10bea4d..bc3bada 100644
|
||||
--- a/urjtag/src/tap/parport/direct.c
|
||||
+++ b/urjtag/src/tap/parport/direct.c
|
||||
@@ -37,6 +37,20 @@
|
||||
@ -13,8 +13,8 @@ index 10bea4d..2be15b8 100644
|
||||
+
|
||||
+#define NO_SYSIO
|
||||
+
|
||||
+#define inb(foo) 0
|
||||
+#define outb(foo,bar) 0
|
||||
+#define inb(addr) (*(volatile unsigned char *)(addr))
|
||||
+#define outb(b,addr) (*(volatile unsigned char *)(addr)) = (b)
|
||||
+
|
||||
+#endif /* architechtures */
|
||||
+#endif /* __linux__ */
|
||||
|
Loading…
Reference in New Issue
Block a user