xfree86: bus: remove unused pci macros
Should be gone in commits3c03d9f1
anda9d7d659a
respectively. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
This commit is contained in:
parent
5939e39a64
commit
111b1fff1c
@ -121,9 +121,6 @@
|
|||||||
#define PCI_DOM_MASK 0x0ffu
|
#define PCI_DOM_MASK 0x0ffu
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DEVID(vendor, device) \
|
|
||||||
((CARD32)((PCI_##device << 16) | PCI_##vendor))
|
|
||||||
|
|
||||||
#ifndef PCI_DOM_MASK
|
#ifndef PCI_DOM_MASK
|
||||||
# define PCI_DOM_MASK 0x0ffu
|
# define PCI_DOM_MASK 0x0ffu
|
||||||
#endif
|
#endif
|
||||||
@ -143,9 +140,6 @@
|
|||||||
#define PCI_DEV_FROM_TAG(tag) (((tag) & 0x0000f800u) >> 11)
|
#define PCI_DEV_FROM_TAG(tag) (((tag) & 0x0000f800u) >> 11)
|
||||||
#define PCI_FUNC_FROM_TAG(tag) (((tag) & 0x00000700u) >> 8)
|
#define PCI_FUNC_FROM_TAG(tag) (((tag) & 0x00000700u) >> 8)
|
||||||
|
|
||||||
#define PCI_DFN_FROM_TAG(tag) (((tag) & 0x0000ff00u) >> 8)
|
|
||||||
#define PCI_BDEV_FROM_TAG(tag) ((tag) & 0x00fff800u)
|
|
||||||
|
|
||||||
#define PCI_DOM_FROM_BUS(bus) (((bus) >> 8) & (PCI_DOM_MASK))
|
#define PCI_DOM_FROM_BUS(bus) (((bus) >> 8) & (PCI_DOM_MASK))
|
||||||
#define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
|
#define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
|
||||||
#define PCI_TAG_NO_DOMAIN(tag) ((tag) & 0x00ffff00u)
|
#define PCI_TAG_NO_DOMAIN(tag) ((tag) & 0x00ffff00u)
|
||||||
|
Loading…
Reference in New Issue
Block a user