Re: PIIX4: DMA timeout issue

From: Alan Cox
Date: Wed Jul 30 2008 - 07:07:37 EST


> Jeff, I tried moving to ATA driver for PIIX4 today and found ATA need to
> request
> 2 IRQ lines, each one of them belongs to primary and secondary channel.
> However,
> when I make PIIX4 worked under IDE driver, it also need to request one
> IRQ for "ide1".
> So it's necessary to disable secondary channel manually?

If the controller is in legacy mode then libata will claim the interrupt
lines for all channels which are enabled even if there are no devices on
them. This is neccessary for device hot or warm plug support as new disks
could appear on empty channels.
>
> Another question is my PIIX4 chip has device ID + vendor ID of
> 0x71108086. But it finally
> was mapped to following ID of piix_pci_tbl[] array. Device of 0x7110 and
> 0x7010 should
> be quit different, right?

Yes - I find tht one very odd - you might need to debug a bit to see what
is occuring if you think this is the case.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/