/* 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 pci_fixup_dec21285(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 pci_fixup_dec21285(struct pci_dev *dev)
{
	int i;
	if (dev->devfn == 0) {
		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;
		}
	}
}