summaryrefslogtreecommitdiffstats
path: root/libdha/pci.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-20 21:07:27 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-20 21:07:27 +0000
commit6429f7e4fd55a230f471a4f1c12387db793a71dd (patch)
tree16ba159231ad1bae6e9c8583f94d8436354d65b2 /libdha/pci.c
parenta75ffd19d6f674d0f05f8fc5e1763a47343c929f (diff)
downloadmpv-6429f7e4fd55a230f471a4f1c12387db793a71dd.tar.bz2
mpv-6429f7e4fd55a230f471a4f1c12387db793a71dd.tar.xz
svgalib kernelhelper support (based on patch by Matan Ziv-Av <matan@svgalib.org>) and some reordering/cleanup (part #1 ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8504 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha/pci.c')
-rw-r--r--libdha/pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdha/pci.c b/libdha/pci.c
index 350a5be42c..bfdc25bc13 100644
--- a/libdha/pci.c
+++ b/libdha/pci.c
@@ -478,6 +478,7 @@ static int pcibus=-1, pcicard=-1, pcifunc=-1 ;
#endif
/* cpu depended stuff */
+#ifndef CONFIG_SVGAHELPER
#if defined(__alpha__)
#include "sysdep/pci_alpha.c"
#elif defined(__ia64__)
@@ -491,7 +492,7 @@ static int pcibus=-1, pcicard=-1, pcifunc=-1 ;
#else
#include "sysdep/pci_x86.c"
#endif
-
+#endif
static int pcicards=0 ;
static pciinfo_t *pci_lst;