Re: [RFC patch] fallback to "no irq" hack for case of no pnp_irq allocated for 8250_pnp

2007-10-17 Thread Alan Cox
> Signed-off-by: Yu Luming <[EMAIL PROTECTED]> > > 8250_pnp.c |3 +++ > 1 files changed, 3 insertions(+) Should really fix pnp_irq() to use zero to mean none as the kernel intends. If that causes other complications then this hack will do for now I guess. Alan - To unsubscribe from this

Re: [RFC patch] fallback to no irq hack for case of no pnp_irq allocated for 8250_pnp

2007-10-17 Thread Alan Cox
Signed-off-by: Yu Luming [EMAIL PROTECTED] 8250_pnp.c |3 +++ 1 files changed, 3 insertions(+) Should really fix pnp_irq() to use zero to mean none as the kernel intends. If that causes other complications then this hack will do for now I guess. Alan - To unsubscribe from this list:

Re: [RFC patch] fallback to "no irq" hack for case of no pnp_irq allocated for 8250_pnp

2007-10-16 Thread Matthew Wilcox
On Wed, Oct 17, 2007 at 10:50:53AM +0800, Luming Yu wrote: > There is a "ttyS1 irq is -1" problem observed on tiger4 which cause > the serial port broken. > It is because that there is __no__ ACPI IRQ resource assigned for the > serial port. So the value of the IRQ for the port is never changed >

[RFC patch] fallback to "no irq" hack for case of no pnp_irq allocated for 8250_pnp

2007-10-16 Thread Luming Yu
Hello list, There is a "ttyS1 irq is -1" problem observed on tiger4 which cause the serial port broken. It is because that there is __no__ ACPI IRQ resource assigned for the serial port. So the value of the IRQ for the port is never changed since it got initialized to -1. The attached patch falls

[RFC patch] fallback to no irq hack for case of no pnp_irq allocated for 8250_pnp

2007-10-16 Thread Luming Yu
Hello list, There is a ttyS1 irq is -1 problem observed on tiger4 which cause the serial port broken. It is because that there is __no__ ACPI IRQ resource assigned for the serial port. So the value of the IRQ for the port is never changed since it got initialized to -1. The attached patch falls

Re: [RFC patch] fallback to no irq hack for case of no pnp_irq allocated for 8250_pnp

2007-10-16 Thread Matthew Wilcox
On Wed, Oct 17, 2007 at 10:50:53AM +0800, Luming Yu wrote: There is a ttyS1 irq is -1 problem observed on tiger4 which cause the serial port broken. It is because that there is __no__ ACPI IRQ resource assigned for the serial port. So the value of the IRQ for the port is never changed since