[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4E689AC5.7020802@ru.mvista.com>
Date: Thu, 08 Sep 2011 14:36:53 +0400
From: Sergei Shtylyov <sshtylyov@...sta.com>
To: Keng-Yu Lin <kengyu@...onical.com>
CC: Jeff Garzik <jgarzik@...ox.com>,
Jesse Barnes <jbarnes@...tuousgeek.org>,
linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org
Subject: Re: [PATCH] achi, ata_generic: Add ASMedia ASM1061 support
Hello.
On 08-09-2011 7:43, Keng-Yu Lin wrote:
> ASM1061 PCI-E to SATA bridge controller has two variants.
> One works under AHCI and the other works with ata_generic.
> Add the PCI vendor ID and product IDs accordingly.
> Signed-off-by: Keng-Yu Lin<kengyu@...onical.com>
[...]
> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
> index f8910e1..87182b8 100644
> --- a/include/linux/pci_ids.h
> +++ b/include/linux/pci_ids.h
> @@ -2844,3 +2844,7 @@
>
> #define PCI_VENDOR_ID_XEN 0x5853
> #define PCI_DEVICE_ID_XEN_PLATFORM 0x0001
> +
> +#define PCI_VENDOR_ID_ASMEDIA 0x1b21
> +#define PCI_DEVICE_ID_ASM1061_IDE 0x0611
> +#define PCI_DEVICE_ID_ASM1061_AHCI 0x0612
Adding new device IDs to that file is frowned upon. Define the device ID
locally in the driver file, if you must. You don't even use the second one.
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists