From patchwork Tue Jul 16 15:14:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Abbott X-Patchwork-Id: 2828176 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7BC479F9CA for ; Tue, 16 Jul 2013 15:26:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6963C201F0 for ; Tue, 16 Jul 2013 15:26:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2C004201D5 for ; Tue, 16 Jul 2013 15:26:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932794Ab3GPPZh (ORCPT ); Tue, 16 Jul 2013 11:25:37 -0400 Received: from mail.mev.co.uk ([62.49.15.74]:56316 "EHLO mail.mev.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932572Ab3GPPZe (ORCPT ); Tue, 16 Jul 2013 11:25:34 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.mev.co.uk (Postfix) with ESMTP id A3C232912F; Tue, 16 Jul 2013 16:15:07 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at mail.mev.co.uk Received: from mail.mev.co.uk ([127.0.0.1]) by localhost (mantis.mev.local [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zgKaMvL2lH6p; Tue, 16 Jul 2013 16:15:06 +0100 (BST) Received: from gentoo-ija64.mev.local (gentoo-ija64.mev.local [10.0.0.21]) (Authenticated sender: abbotti) by mail.mev.co.uk (Postfix) with ESMTPSA id EA4AF25097; Tue, 16 Jul 2013 16:15:04 +0100 (BST) From: Ian Abbott To: linux-pci@vger.kernel.org, linux-serial@vger.kernel.org, driverdev-devel@linuxdriverproject.org, linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Bjorn Helgaas , H Hartley Sweeten , Ian Abbott Subject: [PATCH 2/4] serial: 8250_pci: replace PCI_VENDOR_ID_ADDIDATA_OLD Date: Tue, 16 Jul 2013 16:14:39 +0100 Message-Id: <1373987681-18245-3-git-send-email-abbotti@mev.co.uk> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1373987681-18245-1-git-send-email-abbotti@mev.co.uk> References: <1373987681-18245-1-git-send-email-abbotti@mev.co.uk> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP PCI_VENDOR_ID_ADDIDATA_OLD has the same value (0x10e8) as PCI_VENDOR_ID_AMCC in . The vender ID is actually assigned to Applied Micro Circuits Corporation. The 8250_pci driver uses PCI_VENDOR_ID_ADDIDATA_OLD in the lists of quirks and PCI IDs for the ADDI-DATA APCI-7800 card. Change it to use the more accurate PCI_VENDOR_ID_AMCC. Signed-off-by: Ian Abbott --- drivers/tty/serial/8250/8250_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index c52948b..3e3d59b 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c @@ -1587,7 +1587,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { * ADDI-DATA GmbH communication cards */ { - .vendor = PCI_VENDOR_ID_ADDIDATA_OLD, + .vendor = PCI_VENDOR_ID_AMCC, .device = PCI_DEVICE_ID_ADDIDATA_APCI7800, .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, @@ -4697,7 +4697,7 @@ static struct pci_device_id serial_pci_tbl[] = { 0, pbn_b0_1_115200 }, - { PCI_VENDOR_ID_ADDIDATA_OLD, + { PCI_VENDOR_ID_AMCC, PCI_DEVICE_ID_ADDIDATA_APCI7800, PCI_ANY_ID, PCI_ANY_ID,