mirror of
https://github.com/mpv-player/mpv
synced 2025-03-01 20:00:37 +00:00
Add comments to a few #endif preprocessor directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27037 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
625d77f9fc
commit
319097c5dc
@ -159,7 +159,7 @@ int pciconfig_write(
|
|||||||
}
|
}
|
||||||
return PCIBIOS_SUCCESSFUL;
|
return PCIBIOS_SUCCESSFUL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* defined(Lynx) && defined(__powerpc__) */
|
||||||
|
|
||||||
#if !defined(__powerpc__)
|
#if !defined(__powerpc__)
|
||||||
struct pci_config_reg {
|
struct pci_config_reg {
|
||||||
@ -437,7 +437,7 @@ struct pci_config_reg {
|
|||||||
unsigned short _configtype; /* config type found */
|
unsigned short _configtype; /* config type found */
|
||||||
unsigned long _cardnum; /* config type 2 - private card number */
|
unsigned long _cardnum; /* config type 2 - private card number */
|
||||||
};
|
};
|
||||||
#endif
|
#endif /* !defined(__powerpc__) */
|
||||||
|
|
||||||
#define MAX_DEV_PER_VENDOR_CFG1 64
|
#define MAX_DEV_PER_VENDOR_CFG1 64
|
||||||
#define MAX_PCI_DEVICES_PER_BUS 32
|
#define MAX_PCI_DEVICES_PER_BUS 32
|
||||||
@ -489,7 +489,7 @@ static int pcibus=-1, pcicard=-1, pcifunc=-1 ;
|
|||||||
#else
|
#else
|
||||||
#include "sysdep/pci_x86.c"
|
#include "sysdep/pci_x86.c"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif /*CONFIG_SVGAHELPER */
|
||||||
|
|
||||||
static pciinfo_t *pci_lst;
|
static pciinfo_t *pci_lst;
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ static int pci_get_vendor(
|
|||||||
{
|
{
|
||||||
return pci_config_read_long(bus, dev, func, 0);
|
return pci_config_read_long(bus, dev, func, 0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* CONFIG_SVGAHELPER */
|
||||||
|
|
||||||
static __inline__ int enable_os_io(void)
|
static __inline__ int enable_os_io(void)
|
||||||
{
|
{
|
||||||
@ -210,4 +210,4 @@ static long pci_config_read_long(
|
|||||||
}
|
}
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* defined(CONFIG_PCI_LINUX_PROC) */
|
||||||
|
Loading…
Reference in New Issue
Block a user