changeset 27005:0a7f07b761e1

Add comments to a few #endif preprocessor directives.
author diego
date Sun, 08 Jun 2008 14:53:18 +0000
parents 78c0e3cc89d8
children ad17225e13b4
files vidix/pci.c vidix/sysdep/pci_linux.c
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/pci.c	Sun Jun 08 14:50:35 2008 +0000
+++ b/vidix/pci.c	Sun Jun 08 14:53:18 2008 +0000
@@ -159,7 +159,7 @@
 	}
 	return PCIBIOS_SUCCESSFUL;
 }
-#endif
+#endif /* defined(Lynx) && defined(__powerpc__) */
  
 #if !defined(__powerpc__)
 struct pci_config_reg {
@@ -437,7 +437,7 @@
     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 @@
 #else
 #include "sysdep/pci_x86.c"
 #endif
-#endif
+#endif /*CONFIG_SVGAHELPER */
  
 static pciinfo_t *pci_lst;
  
--- a/vidix/sysdep/pci_linux.c	Sun Jun 08 14:50:35 2008 +0000
+++ b/vidix/sysdep/pci_linux.c	Sun Jun 08 14:53:18 2008 +0000
@@ -86,7 +86,7 @@
 {
     return pci_config_read_long(bus, dev, func, 0);
 }
-#endif
+#endif /* CONFIG_SVGAHELPER */
 
 static __inline__ int enable_os_io(void)
 {
@@ -210,4 +210,4 @@
     }
     return retval;
 }
-#endif
+#endif /* defined(CONFIG_PCI_LINUX_PROC) */