[MPlayer-cvslog] r27037 - in trunk/vidix: pci.c sysdep/pci_linux.c

diego subversion at mplayerhq.hu
Sun Jun 8 16:53:18 CEST 2008


Author: diego
Date: Sun Jun  8 16:53:18 2008
New Revision: 27037

Log:
Add comments to a few #endif preprocessor directives.


Modified:
   trunk/vidix/pci.c
   trunk/vidix/sysdep/pci_linux.c

Modified: trunk/vidix/pci.c
==============================================================================
--- trunk/vidix/pci.c	(original)
+++ trunk/vidix/pci.c	Sun Jun  8 16:53:18 2008
@@ -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, pcifun
 #else
 #include "sysdep/pci_x86.c"
 #endif
-#endif
+#endif /*CONFIG_SVGAHELPER */
  
 static pciinfo_t *pci_lst;
  

Modified: trunk/vidix/sysdep/pci_linux.c
==============================================================================
--- trunk/vidix/sysdep/pci_linux.c	(original)
+++ trunk/vidix/sysdep/pci_linux.c	Sun Jun  8 16:53:18 2008
@@ -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) */



More information about the MPlayer-cvslog mailing list