From mboxrd@z Thu Jan 1 00:00:00 1970 From: gianluca Subject: unrecognized multi io pci card Date: Tue, 28 Aug 2012 14:24:58 +0200 Message-ID: <20120828122458.GB1258@server> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ikeVEW9yuYc//A+q" Return-path: Received: from smtp208.alice.it ([82.57.200.104]:34249 "EHLO smtp208.alice.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751202Ab2H1Mal (ORCPT ); Tue, 28 Aug 2012 08:30:41 -0400 Content-Disposition: inline Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, I recently bought a pci card with two serial ports and one parallel port since my machine didn't have any, but the card isn't autodetected by linux. Here follows a lspci -vvvxxx of the device 5:01.0 Serial controller: Device 4348:7053 (rev 10) (prog-if 02 [16550]) Subsystem: Device 4348:3253 Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- port.type = PORT_XSCALE; - up->capabilities |= UART_CAP_UUE | UART_CAP_RTOIE; - return; + serial_out(up, UART_IER, iersave | UART_IER_RTOIE); + if (serial_in(up, UART_IER) & UART_IER_RTOIE) { + /* + * It's an Xscale. + * We'll leave the UART_IER_UUE bit set to 1 (enabled). + */ + DEBUG_AUTOCONF("Xscale "); + up->port.type = PORT_XSCALE; + up->capabilities |= UART_CAP_UUE | UART_CAP_RTOIE; + return; + } } } else { /* --ikeVEW9yuYc//A+q--