Re: [PATCH] fix PCI interrupt setting for ia64

From: David Mosberger
Date: Mon Mar 08 2004 - 16:45:41 EST


>>>>> On Mon, 8 Mar 2004 12:13:22 -0700, Bjorn Helgaas <bjorn.helgaas@xxxxxx> said:

Bjorn> Strictly speaking, since ACPI tells us about IRQs, we
Bjorn> shouldn't need probe_irq_on() on ia64, should we?

Bjorn> I don't see any ACPI smarts in the IDE driver, but I think
Bjorn> the serial driver needs only the attached patch to make it
Bjorn> avoid the use of probe_irq_on(). I tested this on i2k and
Bjorn> various HP zx1 boxes, and it works fine.

Bjorn> Russell, if you agree, would you mind applying this?

Bjorn> ACPI and HCDP tell us what IRQ the serial port uses, so
Bjorn> there's no need to have the driver probe for the IRQ.

The patch looks good to me and I certainly agree that probe_irq_on()
should be avoided. However, as long as this interface is part of the
Linux kernel, we should support it on ia64 since we can't know for
sure when there are no drivers left using that interface. (And there
is no reason this interface is limited to ISA, though that certainly
is the bus that generally had to use it, for lack of explicit irq
info.)

--david
-
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/