Re: pci-ids: add Lenovo PCI vendor ID

Jeff Garzik
2007-07-15T11:52:17Z

Henrique de Moraes Holschuh wrote:
> thinkpad-acpi wants to differentiate IBM from Lenovo ThinkPads, and the PCI
> IDs are the best way to go about it for quirk tables and so on. Add the
> missing Lenovo PCI ID to pci_ids.h.
>
> Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
> Cc: Jeff Garzik <jeff@garzik.org>
> ---
> include/linux/pci_ids.h | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
> index 5b1c999..b5f54ca 100644
> --- a/include/linux/pci_ids.h
> +++ b/include/linux/pci_ids.h
> @@ -2067,6 +2067,8 @@
> #define PCI_DEVICE_ID_ALTIMA_AC9100 0x03ea
> #define PCI_DEVICE_ID_ALTIMA_AC1003 0x03eb
>
> +#define PCI_VENDOR_ID_LENOVO 0x17aa
> +
> #define PCI_VENDOR_ID_ARECA 0x17d3
> #define PCI_DEVICE_ID_ARECA_1110 0x1110

Not sure why I'm CC'd :) But of course I have an opinion :) Usually we
don't add these IDs until a driver is actually using them. Just add it
in the patch that starts using it in thinkpad-acpi.

Jeff