Remove the BusAccWindows resource code which is now unused.

This was a bunch of poorly defined resource ranges per OS/platform combination
which were supposed to represent what regions could potentially have resources
allocated into them.
This commit is contained in:
Eric Anholt 2007-08-27 19:02:41 -07:00
commit 3fe67d23ed
8 changed files with 0 additions and 467 deletions

View file

@ -548,49 +548,6 @@ xf86MapLegacyIO(struct pci_device *dev)
return (IOADDRESS)DomainMmappedIO[domain];
}
resPtr
xf86BusAccWindowsFromOS(void)
{
struct pci_device *dev;
struct pci_device_iterator *iter;
resPtr pRes = NULL;
resRange range;
iter = pci_id_match_iterator_create(& match_host_bridge);
while ((dev = pci_device_next(iter)) != NULL) {
const int domain = dev->domain;
const struct pciSizes * const sizes = linuxGetSizesStruct(dev);
RANGE(range, 0, (ADDRESS)(sizes->mem_size - 1),
RANGE_TYPE(ResExcMemBlock, domain));
pRes = xf86AddResToList(pRes, &range, -1);
RANGE(range, 0, (IOADDRESS)(sizes->io_size - 1),
RANGE_TYPE(ResExcIoBlock, domain));
pRes = xf86AddResToList(pRes, &range, -1);
/* FIXME: The old code reserved domain 0 for a special purpose. The
* FIXME: new code just uses whatever domains the kernel tells it,
* FIXME: but there is no way to get a domain < 0. What should
* FIXME: happen here?
*
if (domain <= 0)
break;
*/
}
pci_iterator_destroy(iter);
return pRes;
}
resPtr
xf86PciBusAccWindowsFromOS(void)
{
return xf86BusAccWindowsFromOS();
}
resPtr
xf86AccResFromOS(resPtr pRes)
{