public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Catalin(ux) M BOIE" <catab@embedromix.ro>
Cc: linux-kernel@vger.kernel.org, rmk+serial@arm.linux.org.uk,
	linux-serial@vger.kernel.org
Subject: Re: [PATCH] Add support for a no-name 4 ports multiserial card
Date: Fri, 6 Jun 2008 11:14:00 +0100	[thread overview]
Message-ID: <20080606111400.1eefc4fd@core> (raw)
In-Reply-To: <1212736393-6837-1-git-send-email-catab@embedromix.ro>

On Fri,  6 Jun 2008 10:13:13 +0300
"Catalin(ux) M BOIE" <catab@embedromix.ro> 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.

Alan

  reply	other threads:[~2008-06-06 10:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-06  7:13 [PATCH] Add support for a no-name 4 ports multiserial card Catalin(ux) M BOIE
2008-06-06 10:14 ` Alan Cox [this message]
2008-06-06 12:42   ` Catalin(ux) M BOIE
2008-06-06 15:04     ` Alan Cox
2008-06-06 19:40   ` Russell King
2008-06-09 20:04     ` Catalin(ux) M BOIE
2008-06-09 21:10       ` Russell King
2008-06-06 12:52 ` Andrey Panin
2008-06-06 14:20   ` Catalin(ux) M BOIE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080606111400.1eefc4fd@core \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=catab@embedromix.ro \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=rmk+serial@arm.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox