summaryrefslogtreecommitdiffstats
path: root/vidix/sysdep/pci_lynx.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-13 02:58:57 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-13 02:58:57 +0000
commit6e9cbdc10448203e7c8b2de41447442fcc9f7bae (patch)
tree0ed465592509105fdbeab27fc12ddbb2e3590aa5 /vidix/sysdep/pci_lynx.c
parenteafe5b7517bbf408ae1ffc936a3abe2313c3b334 (diff)
downloadmpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.bz2
mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.xz
whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/sysdep/pci_lynx.c')
-rw-r--r--vidix/sysdep/pci_lynx.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/vidix/sysdep/pci_lynx.c b/vidix/sysdep/pci_lynx.c
index 59b8dddb2c..d24676ad1f 100644
--- a/vidix/sysdep/pci_lynx.c
+++ b/vidix/sysdep/pci_lynx.c
@@ -35,7 +35,7 @@
* to change too much code
*/
#include <smem.h>
-
+
static unsigned char *pciConfBase;
static __inline__ void enable_os_io(void)
@@ -54,23 +54,23 @@ static __inline__ void disable_os_io(void)
}
#include <smem.h>
-
+
static unsigned char *pciConfBase;
-
+
static __inline__ unsigned long
static swapl(unsigned long val)
{
unsigned char *p = (unsigned char *)&val;
return (p[3] << 24) | (p[2] << 16) | (p[1] << 8) | (p[0] << 0);
}
-
-
+
+
#define BUS(tag) (((tag)>>16)&0xff)
#define DFN(tag) (((tag)>>8)&0xff)
-
+
#define PCIBIOS_DEVICE_NOT_FOUND 0x86
#define PCIBIOS_SUCCESSFUL 0x00
-
+
static int pciconfig_read(
unsigned char bus,
unsigned char dev,
@@ -80,7 +80,7 @@ static int pciconfig_read(
{
unsigned long _val;
unsigned long *ptr;
-
+
dev >>= 3;
if (bus || dev >= 16) {
*val = 0xFFFFFFFF;
@@ -92,7 +92,7 @@ static int pciconfig_read(
*val = _val;
return PCIBIOS_SUCCESSFUL;
}
-
+
static int pciconfig_write(
unsigned char bus,
unsigned char dev,
@@ -102,7 +102,7 @@ static int pciconfig_write(
{
unsigned long _val;
unsigned long *ptr;
-
+
dev >>= 3;
_val = swapl(val);
if (bus || dev >= 16) {