diff options
| author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-06-29 21:37:44 +0000 |
|---|---|---|
| committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-06-29 21:37:44 +0000 |
| commit | efd04a771bd6ef841c128f12f0b355278ba7e5e8 (patch) | |
| tree | 81e702fa6dfbc65c5f7331fc8333a579f6feaf3f /comms/libticables | |
| parent | d4cceef0a3e0554b40e5fa2837d2f7a710837f50 (diff) | |
Notes
Diffstat (limited to 'comms/libticables')
| -rw-r--r-- | comms/libticables/files/patch-src_bsd_bsd__ioports.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/comms/libticables/files/patch-src_bsd_bsd__ioports.c b/comms/libticables/files/patch-src_bsd_bsd__ioports.c new file mode 100644 index 000000000000..0389343cbf65 --- /dev/null +++ b/comms/libticables/files/patch-src_bsd_bsd__ioports.c @@ -0,0 +1,29 @@ +--- src/bsd/bsd_ioports.c.orig Thu Apr 29 20:25:16 2004 ++++ src/bsd/bsd_ioports.c Wed Jun 29 23:29:42 2005 +@@ -34,8 +34,10 @@ + #include <sys/ioctl.h> + #include <fcntl.h> + ++#ifdef __I386__ + #include <machine/sysarch.h> + #include <machine/cpufunc.h> ++#endif + + #include "gettext.h" + +@@ -55,6 +57,7 @@ + + /* I/O thru assembly code */ + ++#ifdef __I386__ + static int bsd_asm_read_io(unsigned int addr) + { + return inb(addr); +@@ -64,6 +67,7 @@ + { + outb(addr, data); + } ++#endif + + + /* I/O thru ioctl() calls */ |
