/* Prevent the PCI layer from seeing the resources allocated to this device if it is the host bridge by marking it as such. These resources are of no consequence to the PCI layer (they are handled elsewhere).  */
static void __devinit emma2rh_pci_host_fixup(struct pci_dev *dev)
/* Prevent the PCI layer from seeing the resources allocated to this device if it is the host bridge by marking it as such. These resources are of no consequence to the PCI layer (they are handled elsewhere).  */
static void __devinit emma2rh_pci_host_fixup(struct pci_dev *dev)
{
	int i;
	if (PCI_SLOT(dev->devfn) == EMMA2RH_PCI_HOST_SLOT) {
		dev->class &= 0xff;
		dev->class |= PCI_CLASS_BRIDGE_HOST << 8;
		for (i = 0; i < PCI_NUM_RESOURCES; i++) {
			dev->resource[i].start = 0;
			dev->resource[i].end = 0;
			dev->resource[i].flags = 0;
		}
	}
}