xfree86: Remove unused xf86{Map,Unmap}LegacyIO
I ported these to pciaccess in:
commit 858fbbb40d
Author: Adam Jackson <ajax@redhat.com>
Date: Fri Sep 16 13:33:04 2011 -0400
pci: Port xf86MapLegacyIO to pciaccess
As of yet there are still no drivers using them, and there's not a lot
of value in having the wrappers when they just trivially call pciaccess
anyway. Nuke 'em.
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
96206cf477
commit
e4cf1e58f5
|
@ -1473,15 +1473,3 @@ xf86PciConfigureNewDev(void *busData, struct pci_device *pVideo,
|
||||||
if (*chipset < 0)
|
if (*chipset < 0)
|
||||||
*chipset = (pVideo->vendor_id << 16) | pVideo->device_id;
|
*chipset = (pVideo->vendor_id << 16) | pVideo->device_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct pci_io_handle *
|
|
||||||
xf86MapLegacyIO(struct pci_device *dev)
|
|
||||||
{
|
|
||||||
return pci_legacy_open_io(dev, 0, 64 * 1024);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
xf86UnmapLegacyIO(struct pci_device *dev, struct pci_io_handle *handle)
|
|
||||||
{
|
|
||||||
pci_device_close_io(dev, handle);
|
|
||||||
}
|
|
||||||
|
|
|
@ -235,9 +235,4 @@
|
||||||
/* Public PCI access functions */
|
/* Public PCI access functions */
|
||||||
extern _X_EXPORT Bool xf86scanpci(void);
|
extern _X_EXPORT Bool xf86scanpci(void);
|
||||||
|
|
||||||
/* Domain access functions. Some of these probably shouldn't be public */
|
|
||||||
extern _X_EXPORT struct pci_io_handle *xf86MapLegacyIO(struct pci_device *dev);
|
|
||||||
extern _X_EXPORT void xf86UnmapLegacyIO(struct pci_device *,
|
|
||||||
struct pci_io_handle *);
|
|
||||||
|
|
||||||
#endif /* _XF86PCI_H */
|
#endif /* _XF86PCI_H */
|
||||||
|
|
Loading…
Reference in New Issue