From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sean Young Subject: [PATCH v3 0/2] winbond-cir: Fix initialization Date: Fri, 7 Sep 2012 19:06:22 +0100 Message-ID: Return-path: Received: from pequod.mess.org ([93.97.41.153]:53111 "EHLO pequod.mess.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752530Ab2IGSG0 (ORCPT ); Fri, 7 Sep 2012 14:06:26 -0400 Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: Alan Cox , Greg Kroah-Hartman , linux-serial@vger.kernel.org Cc: =?UTF-8?q?David=20H=C3=A4rdeman?= , Mauro Carvalho Chehab The serial driver will detect the winbond cir device as a serial port, since it looks exactly like a serial port unless you know what it is from the PNP ID. v2: Alan Cox pointed out[1] that the pnp serial probe should be done before the legacy probe and we should keep track of any IR ports during the pnp scan. This is an implementation of that idea. [1] http://www.spinics.net/lists/linux-serial/msg06757.html v3: - Removed IrDA entries - Renamed PORT_IR to PORT_8250_CIR - commit message rewording Diffed against tty-next. Sean Young (2): 8250_pnp: do pnp probe before legacy probe 8250: blacklist Winbond CIR port drivers/tty/serial/8250/8250.c | 47 ++++++++++++++++++++++++----------- drivers/tty/serial/8250/8250.h | 9 +++++++ drivers/tty/serial/8250/8250_pnp.c | 31 +++++++++++++---------- drivers/tty/serial/8250/Kconfig | 16 ++++++------ drivers/tty/serial/8250/Makefile | 5 ++- include/linux/serial_core.h | 3 +- 6 files changed, 72 insertions(+), 39 deletions(-) -- 1.7.2.5