]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitf08b7e9f551fa74219bf32df483fb95c58aad94b
treeb509d5f95e751bd5017e4689da7d24165c94b50c
parentb6966b1be568e83a48585369731f1123a6f85157
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