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:
Adam Jackson 2014-05-02 11:11:14 -04:00
parent 96206cf477
commit e4cf1e58f5
2 changed files with 0 additions and 17 deletions

View File

@ -1473,15 +1473,3 @@ xf86PciConfigureNewDev(void *busData, struct pci_device *pVideo,
if (*chipset < 0)
*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);
}

View File

@ -235,9 +235,4 @@
/* Public PCI access functions */
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 */