Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762425AbYFFTlI (ORCPT ); Fri, 6 Jun 2008 15:41:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755542AbYFFTk5 (ORCPT ); Fri, 6 Jun 2008 15:40:57 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:55092 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754419AbYFFTk4 (ORCPT ); Fri, 6 Jun 2008 15:40:56 -0400 Date: Fri, 6 Jun 2008 20:40:36 +0100 From: Russell King To: Alan Cox Cc: "Catalin(ux) M BOIE" , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH] Add support for a no-name 4 ports multiserial card Message-ID: <20080606194036.GB18231@flint.arm.linux.org.uk> References: <1212736393-6837-1-git-send-email-catab@embedromix.ro> <20080606111400.1eefc4fd@core> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080606111400.1eefc4fd@core> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1641 Lines: 63 On Fri, Jun 06, 2008 at 11:14:00AM +0100, Alan Cox wrote: > On Fri, 6 Jun 2008 10:13:13 +0300 > "Catalin(ux) M BOIE" wrote: > > > It is a no-name PCI card. I found no reference to a producer so I > > used the fake name "PDR". > > We don't really want to get fake names into pci_ids. I'd rather > > > > .vendor = PCI_VENDOR_ID_PLX, > > + .device = PCI_DEVICE_ID_PLX_9050, > > + .subvendor = PCI_VENDOR_ID_PLX, > > + .subdevice = PCI_SUBDEVICE_ID_PDR, > > Either the hex or a local and obviously unknown name like ID_UNKNOWN_1 > > > > + pbn_plx_pdr, > > _unknown1 > > > pbn_oxsemi, > > pbn_intel_i960, > > pbn_sgi_ioc3, > > @@ -1186,6 +1196,13 @@ static struct pciserial_board pci_boards[] __devinitdata = { > > .base_baud = 115200, > > .uart_offset = 8, > > }, > > + /* PDR */ > > + [pbn_plx_pdr] = { > > Ditto > > > + /* PDR */ > > Ditto > > > + { PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9050, > > + PCI_VENDOR_ID_PLX, > > + PCI_SUBDEVICE_ID_PDR, 0, 0, > > Ditto > > > > +#define PCI_SUBDEVICE_ID_PDR 0x1584 > > + > > And not in here at all. And there's no need for half the patch either - which I tried to explain in a previous reply to Catalin but I just got repeated "My email address has changed to ..." responses... so I gave up. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: -- 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/