diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2007-11-14 16:59:59 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-14 18:45:41 -0800 |
commit | e02f5f52cafbea013817d81f1acc4baf50d6324b (patch) | |
tree | e3599129422f0c655921180910eec3f6f551eff5 /net | |
parent | 57510c2f934a05c53232814761a058399b2ca282 (diff) | |
download | kernel-crypto-e02f5f52cafbea013817d81f1acc4baf50d6324b.tar.gz kernel-crypto-e02f5f52cafbea013817d81f1acc4baf50d6324b.tar.xz kernel-crypto-e02f5f52cafbea013817d81f1acc4baf50d6324b.zip |
serial: only use PNP IRQ if it's valid
"Luming Yu" <luming.yu@gmail.com> says:
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.
If PNP supplies a valid IRQ, use it. Otherwise, leave port.irq == 0, which
means "no IRQ" to the serial core.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Yu Luming <luming.yu@intel.com>
Acked-by: Matthew Wilcox <matthew@wil.cx>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions