[PATCH v2] net/mlx5e: Use device ID defines

2017-06-20 Thread Myron Stowe
unctional change intended. Signed-off-by: Myron Stowe --- drivers/net/ethernet/mellanox/mlx5/core/main.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/main.c b/drivers/net/ethernet/mellanox/mlx5/core/main.c index 0c123d5..8a4e292

Re: [PATCH 0/2] Replace driver's usage of hard-coded device IDs to #defines

2017-06-16 Thread Myron Stowe
On Fri, Jun 16, 2017 at 2:08 PM, Bjorn Helgaas wrote: > On Thu, May 25, 2017 at 09:56:55AM -0600, Myron Stowe wrote: >> On Wed, 24 May 2017 20:02:49 -0400 (EDT) >> David Miller wrote: >> >> > From: Myron Stowe >> > Date: Wed, 24 May 2017 16:47:34 -0600

Re: [PATCH 0/2] Replace driver's usage of hard-coded device IDs to #defines

2017-05-25 Thread Myron Stowe
On Wed, 24 May 2017 20:02:49 -0400 (EDT) David Miller wrote: > From: Myron Stowe > Date: Wed, 24 May 2017 16:47:34 -0600 > > > Noa Osherovich introduced a series of new Mellanox device ID > > definitions to help differentiate specific controllers that needed >

[PATCH 2/2] net/mlx5e: Use device ID defines

2017-05-24 Thread Myron Stowe
Use Mellanox device ID definitions in the mlx5 ID table so tools such as 'grep' and 'cscope' can be used to help find related aspects. No functional change intended. Signed-off-by: Myron Stowe --- drivers/net/ethernet/mellanox/mlx5/core/main.c | 12 ++-- 1 file c

[PATCH 1/2] PCI: Add Mellanox device IDs

2017-05-24 Thread Myron Stowe
Add Mellanox device IDs for controllers covered by the mlx5 driver. Signed-off-by: Myron Stowe --- include/linux/pci_ids.h |3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 5f6b71d..5626d5a 100644 --- a/include/linux/pci_ids.h

[PATCH 0/2] Replace driver's usage of hard-coded device IDs to #defines

2017-05-24 Thread Myron Stowe
king). [1] 7254383341b PCI: Add Mellanox device IDs d76d2fe05fd PCI: Convert Mellanox broken INTx quirks to be for listed devices only [2] c19e4b9037f net/mlx4_core: Use device ID defines Myron Stowe (2): PCI: Add Mellanox device IDs net/mlx5e: Use device