diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-11 23:04:03 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-11 23:04:03 +0000 |
commit | f2918b92400c460aafad3b98fecd03fde0fd0d0d (patch) | |
tree | 8d3b5f0d7b6221d8ad4f72f5a8bd0082bed778b3 /vidix/pci.c | |
parent | f14367fac94c32c6baab25ab34af96c93e183d0c (diff) | |
download | mpv-f2918b92400c460aafad3b98fecd03fde0fd0d0d.tar.bz2 mpv-f2918b92400c460aafad3b98fecd03fde0fd0d0d.tar.xz |
Add proper VIDIX support for SuperH architecture.
Patch by Magnus Damm <magnus dot damm at gmail dot com>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27451 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/pci.c')
-rw-r--r-- | vidix/pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vidix/pci.c b/vidix/pci.c index ffa91224e1..1006b14a80 100644 --- a/vidix/pci.c +++ b/vidix/pci.c @@ -484,7 +484,7 @@ static int pcibus=-1, pcicard=-1, pcifunc=-1 ; #include "sysdep/pci_arm32.c" #elif defined(__powerpc__) #include "sysdep/pci_powerpc.c" -#elif defined(__x86_64__) +#elif defined(__x86_64__) || defined(__sh__) /* Nothing here right now */ #else #include "sysdep/pci_x86.c" @@ -628,7 +628,7 @@ int pci_scan(pciinfo_t *pci_list,unsigned *num_pci) } while (++pcr._pcibusidx < pcr._pcinumbus); } -#if !defined(__alpha__) && !defined(__powerpc__) +#if !defined(__alpha__) && !defined(__powerpc__) && !defined(__sh__) /* Now try pci config 2 probe (deprecated) */ if ((pcr._configtype == 2) || do_mode2_scan) { @@ -689,7 +689,7 @@ int pci_scan(pciinfo_t *pci_list,unsigned *num_pci) outb(PCI_MODE2_ENABLE_REG, 0x00); } -#endif /* !__alpha__ && !__powerpc__ */ +#endif /* !__alpha__ && !__powerpc__ && !__sh__ */ disable_os_io(); |