Mercurial > mplayer.hg
diff vidix/sysdep/pci_linux.c @ 27419:3f6d802c6ea8
Add proper VIDIX support for SuperH architecture.
Patch by Magnus Damm <magnus dot damm at gmail dot com>.
author | ben |
---|---|
date | Mon, 11 Aug 2008 23:04:03 +0000 |
parents | 0a7f07b761e1 |
children | 0f1b5b68af32 |
line wrap: on
line diff
--- a/vidix/sysdep/pci_linux.c Mon Aug 11 21:10:04 2008 +0000 +++ b/vidix/sysdep/pci_linux.c Mon Aug 11 23:04:03 2008 +0000 @@ -36,6 +36,10 @@ #endif #endif +#ifdef __sh__ +#define iopl(x) 1 +#endif + #include "config.h" #ifdef CONFIG_DHAHELPER @@ -141,7 +145,7 @@ } #if (defined(__powerpc__) || defined(__sparc__) || defined(__sparc64__) \ - || defined(__x86_64__)) && defined(__linux__) && !defined(CONFIG_SVGAHELPER) + || defined(__x86_64__) || defined(__sh__)) && defined(__linux__) && !defined(CONFIG_SVGAHELPER) #define CONFIG_PCI_LINUX_PROC #endif