Re: [PATCH][7/8] kgdb: exclusive use kgdb8250 uart I/O driver
From: Jan Kiszka
Date: Sat Feb 09 2008 - 11:40:25 EST
jason.wessel@xxxxxxxxxxxxx wrote:
> @@ -2175,9 +2187,9 @@ uart_configure_port(struct uart_driver *drv, struct uart_state *state,
>
> /*
> * Power down all ports by default, except the
> - * console if we have one.
> + * console (real or kgdb) if we have one.
> */
> - if (!uart_console(port))
> + if (!uart_console(port) && !uart_kgdb(port))
> uart_change_pm(state, 3);
Jason, thinking about this hunk again, it appears broken to me. If we
needed it for 8250_kgdb, we would also need it without
CONFIG_KGDB_CONSOLE. However, powering on the UART with a special dance
after we took over with 8250_kgdb is a job that has to be done _there_,
not by this hook here. So let's drop the whole serial_core.c hunk from
this patch.
Jan
--
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/