netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] net: cxgb4vf: use DEFINE_PCI_DEVICE_TABLE
@ 2013-10-22  2:59 Jingoo Han
  2013-10-22  3:00 ` [PATCH 2/3] net: tulip: " Jingoo Han
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jingoo Han @ 2013-10-22  2:59 UTC (permalink / raw)
  To: 'David S. Miller'
  Cc: netdev, 'Casey Leedom', 'Jingoo Han'

This macro is used to create a struct pci_device_id array.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c b/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
index 43bb012..5f90ec5 100644
--- a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
+++ b/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
@@ -2905,7 +2905,7 @@ static void cxgb4vf_pci_shutdown(struct pci_dev *pdev)
 #define CH_DEVICE(devid, idx) \
 	{ PCI_VENDOR_ID_CHELSIO, devid, PCI_ANY_ID, PCI_ANY_ID, 0, 0, idx }
 
-static struct pci_device_id cxgb4vf_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(cxgb4vf_pci_tbl) = {
 	CH_DEVICE(0xb000, 0),	/* PE10K FPGA */
 	CH_DEVICE(0x4800, 0),	/* T440-dbg */
 	CH_DEVICE(0x4801, 0),	/* T420-cr */
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/3] net: tulip: use DEFINE_PCI_DEVICE_TABLE
  2013-10-22  2:59 [PATCH 1/3] net: cxgb4vf: use DEFINE_PCI_DEVICE_TABLE Jingoo Han
@ 2013-10-22  3:00 ` Jingoo Han
  2013-10-22  3:37   ` Grant Grundler
  2013-10-22  6:19   ` David Miller
  2013-10-22  3:01 ` [PATCH 3/3] net: ksz884x: " Jingoo Han
  2013-10-22  6:19 ` [PATCH 1/3] net: cxgb4vf: " David Miller
  2 siblings, 2 replies; 7+ messages in thread
From: Jingoo Han @ 2013-10-22  3:00 UTC (permalink / raw)
  To: 'David S. Miller'
  Cc: netdev, 'Grant Grundler', 'Jingoo Han'

This macro is used to create a struct pci_device_id array.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/net/ethernet/dec/tulip/de4x5.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c b/drivers/net/ethernet/dec/tulip/de4x5.c
index 263b92c..c05b66d 100644
--- a/drivers/net/ethernet/dec/tulip/de4x5.c
+++ b/drivers/net/ethernet/dec/tulip/de4x5.c
@@ -2328,7 +2328,7 @@ static void de4x5_pci_remove(struct pci_dev *pdev)
 	pci_disable_device (pdev);
 }
 
-static struct pci_device_id de4x5_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(de4x5_pci_tbl) = {
         { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP,
           PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
         { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP_PLUS,
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/3] net: ksz884x: use DEFINE_PCI_DEVICE_TABLE
  2013-10-22  2:59 [PATCH 1/3] net: cxgb4vf: use DEFINE_PCI_DEVICE_TABLE Jingoo Han
  2013-10-22  3:00 ` [PATCH 2/3] net: tulip: " Jingoo Han
@ 2013-10-22  3:01 ` Jingoo Han
  2013-10-22  6:19   ` David Miller
  2013-10-22  6:19 ` [PATCH 1/3] net: cxgb4vf: " David Miller
  2 siblings, 1 reply; 7+ messages in thread
From: Jingoo Han @ 2013-10-22  3:01 UTC (permalink / raw)
  To: 'David S. Miller'
  Cc: netdev, 'Lennert Buytenhek', 'Jingoo Han'

This macro is used to create a struct pci_device_id array.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/net/ethernet/micrel/ksz884x.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/micrel/ksz884x.c b/drivers/net/ethernet/micrel/ksz884x.c
index 6462dc5..ddd252a 100644
--- a/drivers/net/ethernet/micrel/ksz884x.c
+++ b/drivers/net/ethernet/micrel/ksz884x.c
@@ -7225,7 +7225,7 @@ static int pcidev_suspend(struct pci_dev *pdev, pm_message_t state)
 
 static char pcidev_name[] = "ksz884xp";
 
-static struct pci_device_id pcidev_table[] = {
+static DEFINE_PCI_DEVICE_TABLE(pcidev_table) = {
 	{ PCI_VENDOR_ID_MICREL_KS, 0x8841,
 		PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
 	{ PCI_VENDOR_ID_MICREL_KS, 0x8842,
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/3] net: tulip: use DEFINE_PCI_DEVICE_TABLE
  2013-10-22  3:00 ` [PATCH 2/3] net: tulip: " Jingoo Han
@ 2013-10-22  3:37   ` Grant Grundler
  2013-10-22  6:19   ` David Miller
  1 sibling, 0 replies; 7+ messages in thread
From: Grant Grundler @ 2013-10-22  3:37 UTC (permalink / raw)
  To: Jingoo Han
  Cc: David S. Miller, open list:TULIP NETWORK DRI..., Grant Grundler

On Mon, Oct 21, 2013 at 8:00 PM, Jingoo Han <jg1.han@samsung.com> wrote:
> This macro is used to create a struct pci_device_id array.
>
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>

LGTM.

Acked-by: Grant Grundler <grundler@parisc-linux.org>

> ---
>  drivers/net/ethernet/dec/tulip/de4x5.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c b/drivers/net/ethernet/dec/tulip/de4x5.c
> index 263b92c..c05b66d 100644
> --- a/drivers/net/ethernet/dec/tulip/de4x5.c
> +++ b/drivers/net/ethernet/dec/tulip/de4x5.c
> @@ -2328,7 +2328,7 @@ static void de4x5_pci_remove(struct pci_dev *pdev)
>         pci_disable_device (pdev);
>  }
>
> -static struct pci_device_id de4x5_pci_tbl[] = {
> +static DEFINE_PCI_DEVICE_TABLE(de4x5_pci_tbl) = {
>          { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP,
>            PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
>          { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP_PLUS,
> --
> 1.7.10.4
>
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] net: cxgb4vf: use DEFINE_PCI_DEVICE_TABLE
  2013-10-22  2:59 [PATCH 1/3] net: cxgb4vf: use DEFINE_PCI_DEVICE_TABLE Jingoo Han
  2013-10-22  3:00 ` [PATCH 2/3] net: tulip: " Jingoo Han
  2013-10-22  3:01 ` [PATCH 3/3] net: ksz884x: " Jingoo Han
@ 2013-10-22  6:19 ` David Miller
  2 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2013-10-22  6:19 UTC (permalink / raw)
  To: jg1.han; +Cc: netdev, leedom

From: Jingoo Han <jg1.han@samsung.com>
Date: Tue, 22 Oct 2013 11:59:02 +0900

> This macro is used to create a struct pci_device_id array.
> 
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>

Applied.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/3] net: tulip: use DEFINE_PCI_DEVICE_TABLE
  2013-10-22  3:00 ` [PATCH 2/3] net: tulip: " Jingoo Han
  2013-10-22  3:37   ` Grant Grundler
@ 2013-10-22  6:19   ` David Miller
  1 sibling, 0 replies; 7+ messages in thread
From: David Miller @ 2013-10-22  6:19 UTC (permalink / raw)
  To: jg1.han; +Cc: netdev, grundler

From: Jingoo Han <jg1.han@samsung.com>
Date: Tue, 22 Oct 2013 12:00:30 +0900

> This macro is used to create a struct pci_device_id array.
> 
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>

Applied.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 3/3] net: ksz884x: use DEFINE_PCI_DEVICE_TABLE
  2013-10-22  3:01 ` [PATCH 3/3] net: ksz884x: " Jingoo Han
@ 2013-10-22  6:19   ` David Miller
  0 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2013-10-22  6:19 UTC (permalink / raw)
  To: jg1.han; +Cc: netdev, buytenh

From: Jingoo Han <jg1.han@samsung.com>
Date: Tue, 22 Oct 2013 12:01:47 +0900

> This macro is used to create a struct pci_device_id array.
> 
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>

Applied.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-10-22  6:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-22  2:59 [PATCH 1/3] net: cxgb4vf: use DEFINE_PCI_DEVICE_TABLE Jingoo Han
2013-10-22  3:00 ` [PATCH 2/3] net: tulip: " Jingoo Han
2013-10-22  3:37   ` Grant Grundler
2013-10-22  6:19   ` David Miller
2013-10-22  3:01 ` [PATCH 3/3] net: ksz884x: " Jingoo Han
2013-10-22  6:19   ` David Miller
2013-10-22  6:19 ` [PATCH 1/3] net: cxgb4vf: " David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).