diff options
Diffstat (limited to 'vidix')
-rw-r--r-- | vidix/pci.c | 6 | ||||
-rw-r--r-- | vidix/sysdep/pci_linux.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/vidix/pci.c b/vidix/pci.c index a68eae7e32..1d0cc5aa01 100644 --- a/vidix/pci.c +++ b/vidix/pci.c @@ -159,7 +159,7 @@ int pciconfig_write( } return PCIBIOS_SUCCESSFUL; } -#endif +#endif /* defined(Lynx) && defined(__powerpc__) */ #if !defined(__powerpc__) struct pci_config_reg { @@ -437,7 +437,7 @@ struct pci_config_reg { unsigned short _configtype; /* config type found */ unsigned long _cardnum; /* config type 2 - private card number */ }; -#endif +#endif /* !defined(__powerpc__) */ #define MAX_DEV_PER_VENDOR_CFG1 64 #define MAX_PCI_DEVICES_PER_BUS 32 @@ -489,7 +489,7 @@ static int pcibus=-1, pcicard=-1, pcifunc=-1 ; #else #include "sysdep/pci_x86.c" #endif -#endif +#endif /*CONFIG_SVGAHELPER */ static pciinfo_t *pci_lst; diff --git a/vidix/sysdep/pci_linux.c b/vidix/sysdep/pci_linux.c index a4eb3ebdde..aca99573db 100644 --- a/vidix/sysdep/pci_linux.c +++ b/vidix/sysdep/pci_linux.c @@ -86,7 +86,7 @@ static int pci_get_vendor( { return pci_config_read_long(bus, dev, func, 0); } -#endif +#endif /* CONFIG_SVGAHELPER */ static __inline__ int enable_os_io(void) { @@ -210,4 +210,4 @@ static long pci_config_read_long( } return retval; } -#endif +#endif /* defined(CONFIG_PCI_LINUX_PROC) */ |