[PATCH v2 0/2] Fix no_console_suspend for PNP serial consoles

From: Peter Hurley
Date: Thu Jan 22 2015 - 11:53:15 EST


Hi Greg and Rafael,

This v2 of the earlier series submitted back in Nov addresses Rafael's
comments, specifically:

* Adds PNP_CONSOLE flag, which disables the pnp protocol's suspend() and
disable() methods.

This greatly simplifies the PNP serial driver patch since the existing
pnp device capabilities does not need to be saved and restored now.

Note that it was necessary to continue to use macros, since
struct pnp_protocol is anonymous.

Regards,

Peter Hurley (2):
PNP: Allow console to override ACPI device sleep
serial: 8250_pnp: Enable PNP_CONSOLE for console ports

drivers/pnp/driver.c | 2 +-
drivers/tty/serial/8250/8250_pnp.c | 8 +++++++-
include/linux/pnp.h | 12 ++++++++++--
3 files changed, 18 insertions(+), 4 deletions(-)

--
2.2.2

--
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/