Skip to contentSkip to conversation

alpha build fixes

PATCH Matthew Wilcox 1 participant 1 message Mar 23, 2005

lore
Share & tools
lore
#0 lore raw

[I'm not subscribed, please excuse the thread-breaking]

Quoted 8 lines · Alan Cox

Review

Quoted 4 lines
(quoted diff) +4 -0
+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.

Signature · 6 lines
"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