xserver: Branch 'pci-rework'
Ian Romanick
idr at kemper.freedesktop.org
Fri Jan 12 20:52:16 EET 2007
hw/xfree86/common/xf86pciBus.c | 15 ---------------
1 files changed, 15 deletions(-)
New commits:
diff-tree 60c5e023e8ddaae8e011f80736e7cc3e8c12583d (from dd12a94885bad9c9d064dcf7e0d9a7a7114ae3e6)
Author: Ian Romanick <idr at us.ibm.com>
Date: Fri Jan 12 10:24:03 2007 -0800
Eliminate some dead code.
diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c
index e54de14..11e9bc0 100644
--- a/hw/xfree86/common/xf86pciBus.c
+++ b/hw/xfree86/common/xf86pciBus.c
@@ -97,21 +97,6 @@ static struct pci_device ** xf86PciVideo
|| IS_VGA(c) )
-#define B2M(tag,base) pciBusAddrToHostAddr(tag,PCI_MEM,base)
-#define B2I(tag,base) pciBusAddrToHostAddr(tag,PCI_IO,base)
-
-#define PCI_M_RANGE(range,tag,begin,end,type) \
- { \
- RANGE(range, B2M(tag, begin), B2M(tag, end), \
- RANGE_TYPE(type, xf86GetPciDomain(tag))); \
- }
-#define PCI_I_RANGE(range,tag,begin,end,type) \
- { \
- RANGE(range, B2I(tag, begin), B2I(tag, end), \
- RANGE_TYPE(type, xf86GetPciDomain(tag))); \
- }
-
-
_X_EXPORT void
xf86FormatPciBusNumber(int busnum, char *buffer)
{
More information about the xorg-commit
mailing list