# HG changeset patch # User ben # Date 1189878665 0 # Node ID 4241e73020bc08901a5ef6d5d304089177d9ee14 # Parent 263c0b282d905f0960cd9f354ea1c60d735c0673 the IN/OUT PORT 8/16/32 functions rely on inb/inw/inl/outb/outw/outl that are not available on alpha and powerpc architectures diff -r 263c0b282d90 -r 4241e73020bc vidix/dha.c --- a/vidix/dha.c Sat Sep 15 16:45:38 2007 +0000 +++ b/vidix/dha.c Sat Sep 15 17:51:05 2007 +0000 @@ -185,6 +185,7 @@ #endif /* Generic mmap (not win32, nor os2) */ +#if !defined(__alpha__) && !defined(__powerpc__) unsigned char INPORT8(unsigned idx) { return inb(idx); @@ -214,3 +215,4 @@ { outl(idx,val); } +#endif