/* Since 8259PIC was disabled on the board, the IDE device can not use the legacy IRQ, we need to let the IDE device work under native mode and use the interrupt line like other PCI devices. IRQ14 is a sideband interrupt from IDE device to CPU and we use this as the interrupt for IDE device.  */
static void __devinit hpcd_quirk_uli5229(struct pci_dev *dev)
/* Since 8259PIC was disabled on the board, the IDE device can not use the legacy IRQ, we need to let the IDE device work under native mode and use the interrupt line like other PCI devices. IRQ14 is a sideband interrupt from IDE device to CPU and we use this as the interrupt for IDE device.  */
static void __devinit hpcd_quirk_uli5229(struct pci_dev *dev)
{
	unsigned char c;
	if (!machine_is(mpc86xx_hpcd))
		return;
	pci_read_config_byte(dev, 0x4b, &c);
	c |= 0x10;
	pci_write_config_byte(dev, 0x4b, c);
}