# HG changeset patch # User diego # Date 1212936798 0 # Node ID 0a7f07b761e171418b9e26805953793a23900387 # Parent 78c0e3cc89d82fac87250d85f04b4878be589057 Add comments to a few #endif preprocessor directives. diff -r 78c0e3cc89d8 -r 0a7f07b761e1 vidix/pci.c --- 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; diff -r 78c0e3cc89d8 -r 0a7f07b761e1 vidix/sysdep/pci_linux.c --- 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) */