Hi Peter, Le Thursday 10 March 2016 à 14:19 -0800, Peter Hurley a écrit : > Hi Jean, > > On 03/08/2016 05:30 AM, Jean Delvare wrote: > > Kconfig option SERIAL_8250_RT288X seems to be only relevant on a > > limited number of platforms, so do not present it on other > > architectures, unless build-testing. > > > > Signed-off-by: Jean Delvare <jdelvare@xxxxxxx> > > Acked-by: John Crispin <blogic@xxxxxxxxxxx> > > Cc: Mans Rullgard <mans@xxxxxxxxx> > > Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > > Cc: Jiri Slaby <jslaby@xxxxxxxx> > > --- > > Changes since v1: > > * Add ARCH_TANGO to the list of platforms, as Måns Rullgård tells me > > it has this hardware too. > > > > drivers/tty/serial/8250/Kconfig | 1 + > > 1 file changed, 1 insertion(+) > > > > --- linux-4.5-rc7.orig/drivers/tty/serial/8250/Kconfig 2016-03-08 09:18:45.610936903 +0100 > > +++ linux-4.5-rc7/drivers/tty/serial/8250/Kconfig 2016-03-08 14:26:14.565737750 +0100 > > @@ -295,6 +295,7 @@ config SERIAL_8250_EM > > config SERIAL_8250_RT288X > > bool "Ralink RT288x/RT305x/RT3662/RT3883 serial port support" > > depends on SERIAL_8250 > > + depends on MIPS || ARCH_TANGO || COMPILE_TEST > > This seems pretty speculative. This is based on the Kconfig plus information I was given meanwhile. This may be incremental but not speculative. > I'm concerned that patch v1 was only for MIPS, and now is already > needed on at least one ARM platform. This is still a short list, and this is why I think it should be added. > Also this won't prevent this type of port at all, but rather > will only break its i/o path. Not related to my patch. But I did indeed noticed that PORT_RT2880 is defined regardless of option SERIAL_8250_RT288X, and I agree this is awkward. > Simpler to just remove the option, as I already wrote. I disagreed back then, and still do. If you want to remove the option, you'll have to send a patch doing so. Do not expect me to do it for you when I do not think this is the right thing to do. -- Jean Delvare SUSE L3 Support -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html