Eliminate pciHostAddrToBusAddr from interface.
pciHostAddrToBusAddr is no longer used anywhere in the tree. Remove it with extreme prejudice.
This commit is contained in:
parent
60c5e023e8
commit
7411f5c389
|
@ -703,7 +703,6 @@ _X_HIDDEN void *xfree86LookupTab[] = {
|
||||||
|
|
||||||
SYMFUNC(pciTag)
|
SYMFUNC(pciTag)
|
||||||
SYMFUNC(pciBusAddrToHostAddr)
|
SYMFUNC(pciBusAddrToHostAddr)
|
||||||
SYMFUNC(pciHostAddrToBusAddr)
|
|
||||||
SYMFUNC(xf86scanpci)
|
SYMFUNC(xf86scanpci)
|
||||||
|
|
||||||
/* Loader functions */
|
/* Loader functions */
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
* pciTag() - Return tag for a given PCI bus, device, &
|
* pciTag() - Return tag for a given PCI bus, device, &
|
||||||
* function
|
* function
|
||||||
* pciBusAddrToHostAddr() - Convert a PCI address to a host address
|
* pciBusAddrToHostAddr() - Convert a PCI address to a host address
|
||||||
* pciHostAddrToBusAddr() - Convert a host address to a PCI address
|
|
||||||
* xf86scanpci() - Return info about all PCI devices
|
* xf86scanpci() - Return info about all PCI devices
|
||||||
* xf86GetPciDomain() - Return domain number from a PCITAG
|
* xf86GetPciDomain() - Return domain number from a PCITAG
|
||||||
* xf86MapDomainMemory() - Like xf86MapPciMem() but can handle
|
* xf86MapDomainMemory() - Like xf86MapPciMem() but can handle
|
||||||
|
@ -262,20 +261,6 @@ pciBusAddrToHostAddr(PCITAG tag, PciAddrType type, ADDRESS addr)
|
||||||
return(addr);
|
return(addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
_X_EXPORT ADDRESS
|
|
||||||
pciHostAddrToBusAddr(PCITAG tag, PciAddrType type, ADDRESS addr)
|
|
||||||
{
|
|
||||||
int bus = PCI_BUS_FROM_TAG(tag);
|
|
||||||
|
|
||||||
pciInit();
|
|
||||||
|
|
||||||
if ((bus >= 0) && (bus < pciNumBuses) && pciBusInfo[bus] &&
|
|
||||||
pciBusInfo[bus]->funcs->pciAddrHostToBus)
|
|
||||||
return (*pciBusInfo[bus]->funcs->pciAddrHostToBus)(tag, type, addr);
|
|
||||||
else
|
|
||||||
return(addr);
|
|
||||||
}
|
|
||||||
|
|
||||||
_X_EXPORT PCITAG
|
_X_EXPORT PCITAG
|
||||||
pciTag(int busnum, int devnum, int funcnum)
|
pciTag(int busnum, int devnum, int funcnum)
|
||||||
{
|
{
|
||||||
|
|
|
@ -251,7 +251,6 @@ typedef enum {
|
||||||
|
|
||||||
/* Public PCI access functions */
|
/* Public PCI access functions */
|
||||||
ADDRESS pciBusAddrToHostAddr(PCITAG tag, PciAddrType type, ADDRESS addr);
|
ADDRESS pciBusAddrToHostAddr(PCITAG tag, PciAddrType type, ADDRESS addr);
|
||||||
ADDRESS pciHostAddrToBusAddr(PCITAG tag, PciAddrType type, ADDRESS addr);
|
|
||||||
PCITAG pciTag(int busnum, int devnum, int funcnum);
|
PCITAG pciTag(int busnum, int devnum, int funcnum);
|
||||||
int pciGetBaseSize(PCITAG tag, int indx, Bool destructive, Bool *min);
|
int pciGetBaseSize(PCITAG tag, int indx, Bool destructive, Bool *min);
|
||||||
Bool xf86scanpci(void);
|
Bool xf86scanpci(void);
|
||||||
|
|
Loading…
Reference in New Issue