/* PCI IDE controllers use non-standard I/O port decoding, respect it.  */
static void __devinit pci_fixup_ide_bases(struct pci_dev *dev)
/* PCI IDE controllers use non-standard I/O port decoding, respect it.  */
static void __devinit pci_fixup_ide_bases(struct pci_dev *dev)
{
	struct resource *r;
	int i;
	if ((dev->class >> 8) != PCI_CLASS_STORAGE_IDE)
		return;
	for (i = 0; i < PCI_NUM_RESOURCES; i++) {
		r = dev->resource + i;
		if ((r->start & ~0x80) == 0x374) {
			r->start |= 2;
			r->end = r->start;
		}
	}
}