Re: [PATCH] 8250_pci: Fix kernel panic when pch_uart is disabled

From: Alan Cox
Date: Wed Oct 12 2011 - 14:07:57 EST


On Fri, 7 Oct 2011 13:39:49 +0900
Tomoya MORINAGA <tomoya-linux@xxxxxxxxxxxxxxxxxx> wrote:

> Currently, ".setup" function is not set.
> As a result, when detecting our IOH's uart device without pch_uart,
> kernel panic occurs at the following of pciserial_init_ports().
>
> for (i = 0; i < nr_ports; i++) {
> if (quirk->setup(priv, board, &serial_port, i))
> break;
>
> So, this patch adds the ".setup" function.
> We can use pci_default_setup because our IOH's uart is compatible
> with 16550.
>
> Signed-off-by: Tomoya MORINAGA <tomoya-linux@xxxxxxxxxxxxxxxxxx>

Acked-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
--
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/