Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760159Ab3GZXL3 (ORCPT ); Fri, 26 Jul 2013 19:11:29 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:52557 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757607Ab3GZXL0 (ORCPT ); Fri, 26 Jul 2013 19:11:26 -0400 Date: Fri, 26 Jul 2013 16:11:24 -0700 From: Greg Kroah-Hartman To: Bjorn Helgaas Cc: Ian Abbott , "linux-pci@vger.kernel.org" , linux-serial@vger.kernel.org, driverdev-devel@linuxdriverproject.org, "linux-kernel@vger.kernel.org" , H Hartley Sweeten Subject: Re: [PATCH 0/4] pci_ids, 8250_pci: remove PCI_VENDOR_ID_ADDIDATA_OLD Message-ID: <20130726231124.GA10464@kroah.com> References: <1373987681-18245-1-git-send-email-abbotti@mev.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1855 Lines: 41 On Fri, Jul 19, 2013 at 03:37:26PM -0600, Bjorn Helgaas wrote: > On Tue, Jul 16, 2013 at 9:14 AM, Ian Abbott wrote: > > The 8250_pci driver uses PCI_VENDOR_ID_ADDIDATA_OLD (0x10e8), > > PCI_DEVICE_ID_ADDIDATA_APCI7800 (0x818e) to recognize the original > > ADDI-DATA APCI-7800 PCI serial card. However vendor ID 0x10e8 was > > assigned by PCI-SIG to Applied Micro Circuits Corporation (AMCC) and the > > associated device ID 0x818e was assigned by AMCC to ADDI-DATA. > > > > Comedi already defines PCI_VENDOR_ID_AMCC as 0x10e8 in one of its header > > files, so that definition can be moved into pci_ids.h and the 8250_pci > > driver changed to use it. The PCI_DEVICE_ID_ADDIDATA_APCI7800 define > > seems out of place in pci_ids.h since it isn't associated with > > ADDI-DATA's vendor ID but with AMCC's vendor ID. It's only used in > > 8250_pci.c so it can be moved there and renamed to something more > > sensible. > > > > 1) pci_ids.h: move PCI_VENDOR_ID_AMCC here > > 2) serial: 8250_pci: replace PCI_VENDOR_ID_ADDIDATA_OLD > > 3) serial: 8250_pci: use local device ID for ADDI-DATA APCI-7800 > > 4) pci_ids.h: remove PCI_VENDOR_ID_ADDIDATA_OLD and > > PCI_DEVICE_ID_ADDIDATA_APCI7800 > > > > drivers/staging/comedi/comedidev.h | 1 - > > drivers/tty/serial/8250/8250_pci.c | 9 +++++---- > > include/linux/pci_ids.h | 4 ++-- > > 3 files changed, 7 insertions(+), 7 deletions(-) > > For patches 1 & 4 (the ones that touch pci_ids.h): > > Acked-by: Bjorn Helgaas > > Please merge them along with the 8250 changes. Thanks, will do. greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/