]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pmac: Fix internal modem IRQ on Wallstreet PowerBook
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 30 Mar 2009 17:34:04 +0000 (17:34 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 7 Apr 2009 05:07:43 +0000 (15:07 +1000)
commit0e2dbde9155a47410275ed9e1ae81147115aaa86
treeb509d5f95e751bd5017e4689da7d24165c94b50c
parent34f4a55265ba4c8ff2d7f24bdfc654b8d0f3d8c2
powerpc/pmac: Fix internal modem IRQ on Wallstreet PowerBook

The (relatively) new pmac_zilog driver doesn't use the pre-munged
IRQ numbers from the macio_dev unlike other macio things, it
directly maps it off the OF device-tree.

It does that because it can be initialized much earlier than the
registration of the macio devices, in order to get a serial
console early.

Unfortunately, that means that it "misses" some fixups done
by the macio layer to work around missing interrupt descriptions
in the device-tree of the Wallstreet machines.

This patch brings the necessary workaround into the pmac_zilog
driver itself to bring it back to working condition.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/serial/pmac_zilog.c