[PATCH] powerpc: Add MPC837x PCIE controller RC mode support
    Olof Johansson 
    olof at lixom.net
       
    Thu Jan  3 02:51:10 EST 2008
    
    
  
On Wed, Jan 02, 2008 at 07:16:45PM +0800, Li Li wrote:
> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
> index 1ee009e..f84caa7 100644
> --- a/include/linux/pci_ids.h
> +++ b/include/linux/pci_ids.h
> @@ -2111,6 +2111,10 @@
>  #define PCI_DEVICE_ID_TDI_EHCI          0x0101
>  
>  #define PCI_VENDOR_ID_FREESCALE		0x1957
> +#define PCI_DEVICE_ID_MPC8378E		0x00c4
> +#define PCI_DEVICE_ID_MPC8378		0x00c5
> +#define PCI_DEVICE_ID_MPC8377E		0x00c6
> +#define PCI_DEVICE_ID_MPC8377		0x00c7
>  #define PCI_DEVICE_ID_MPC8548E		0x0012
>  #define PCI_DEVICE_ID_MPC8548		0x0013
>  #define PCI_DEVICE_ID_MPC8543E		0x0014
In general it's not needed to add device ID's to the global table,
especially when they're only used once or twice. Just use the hex constant
in the driver instead.
-Olof
    
    
More information about the Linuxppc-dev
mailing list