[I'm not subscribed, please excuse the thread-breaking] Alan Cox wrote: > > +static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) > > +{ > > + return channel ? 15 : 14; > > +} > > The issue is bigger - it's needed for the CMD controllers on PA-RISC for > example it appears - and anything else where IDE legacy IRQ is wired > oddly.
The built-in IDE controller on the Astro/Elroy based PA-RISC workstations (B1000, C3000, J5000 and similar) is part of a NS87560 chip. By default (and we don't currently touch this), we route the internal interrupts to Linux interrupts 14 and 15. We could change that, but I don't currently see a need to, since we're "the same as x86". It uses the ns87415 driver. I don't know what the situation is with the zx1-based boxes, currently only the C8000. If it's the same as the ia64 zx1 boxes, it'll have a CMD 649. -- "Next the statesmen will invent cheap lies, putting the blame upon the nation that is attacked, and every man will be glad of those conscience-soothing falsities, and will diligently study them, and refuse to examine any refutations of them; and thus he will by and by convince himself that the war is just, and will thank God for the better sleep he enjoys after this process of grotesque self-deception." -- Mark Twain - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/