* [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro
@ 2013-11-28 3:37 Jingoo Han
2013-11-28 3:38 ` [PATCH 2/8] atm: fore200e: " Jingoo Han
` (8 more replies)
0 siblings, 9 replies; 11+ messages in thread
From: Jingoo Han @ 2013-11-28 3:37 UTC (permalink / raw)
To: 'David S. Miller'
Cc: 'Chas Williams', netdev, linux-atm-general,
'Jingoo Han', 'Francois Romieu'
This macro is used to create a struct pci_device_id array.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
drivers/atm/eni.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c
index b1955ba..846fc9e 100644
--- a/drivers/atm/eni.c
+++ b/drivers/atm/eni.c
@@ -2283,7 +2283,7 @@ err_disable:
}
-static struct pci_device_id eni_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(eni_pci_tbl) = {
{ PCI_VDEVICE(EF, PCI_DEVICE_ID_EF_ATM_FPGA), 0 /* FPGA */ },
{ PCI_VDEVICE(EF, PCI_DEVICE_ID_EF_ATM_ASIC), 1 /* ASIC */ },
{ 0, }
--
1.7.10.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/8] atm: fore200e: use DEFINE_PCI_DEVICE_TABLE macro
2013-11-28 3:37 [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
@ 2013-11-28 3:38 ` Jingoo Han
2013-11-28 3:39 ` [PATCH 3/8] atm: he: " Jingoo Han
` (7 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Jingoo Han @ 2013-11-28 3:38 UTC (permalink / raw)
To: 'David S. Miller'
Cc: 'Chas Williams', netdev, linux-atm-general,
'Jingoo Han'
This macro is used to create a struct pci_device_id array.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
drivers/atm/fore200e.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c
index 204814e..04fd372 100644
--- a/drivers/atm/fore200e.c
+++ b/drivers/atm/fore200e.c
@@ -2762,7 +2762,7 @@ static void fore200e_pca_remove_one(struct pci_dev *pci_dev)
}
-static struct pci_device_id fore200e_pca_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(fore200e_pca_tbl) = {
{ PCI_VENDOR_ID_FORE, PCI_DEVICE_ID_FORE_PCA200E, PCI_ANY_ID, PCI_ANY_ID,
0, 0, (unsigned long) &fore200e_bus[0] },
{ 0, }
--
1.7.10.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/8] atm: he: use DEFINE_PCI_DEVICE_TABLE macro
2013-11-28 3:37 [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
2013-11-28 3:38 ` [PATCH 2/8] atm: fore200e: " Jingoo Han
@ 2013-11-28 3:39 ` Jingoo Han
2013-11-28 3:40 ` [PATCH 4/8] atm: idt77252: " Jingoo Han
` (6 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Jingoo Han @ 2013-11-28 3:39 UTC (permalink / raw)
To: 'David S. Miller'
Cc: 'Chas Williams', netdev, linux-atm-general,
'Jingoo Han', 'Andy Shevchenko'
This macro is used to create a struct pci_device_id array.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
drivers/atm/he.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/atm/he.c b/drivers/atm/he.c
index 8557adc..1adb17b 100644
--- a/drivers/atm/he.c
+++ b/drivers/atm/he.c
@@ -2851,7 +2851,7 @@ MODULE_PARM_DESC(irq_coalesce, "use interrupt coalescing (default 1)");
module_param(sdh, bool, 0);
MODULE_PARM_DESC(sdh, "use SDH framing (default 0)");
-static struct pci_device_id he_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(he_pci_tbl) = {
{ PCI_VDEVICE(FORE, PCI_DEVICE_ID_FORE_HE), 0 },
{ 0, }
};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 4/8] atm: idt77252: use DEFINE_PCI_DEVICE_TABLE macro
2013-11-28 3:37 [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
2013-11-28 3:38 ` [PATCH 2/8] atm: fore200e: " Jingoo Han
2013-11-28 3:39 ` [PATCH 3/8] atm: he: " Jingoo Han
@ 2013-11-28 3:40 ` Jingoo Han
2013-11-28 3:41 ` [PATCH 5/8] atm: iphase: " Jingoo Han
` (5 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Jingoo Han @ 2013-11-28 3:40 UTC (permalink / raw)
To: 'David S. Miller'
Cc: 'Chas Williams', netdev, linux-atm-general,
'Jingoo Han', 'Ying Xue'
This macro is used to create a struct pci_device_id array.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
drivers/atm/idt77252.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c
index 1bdf104..0f9fc76 100644
--- a/drivers/atm/idt77252.c
+++ b/drivers/atm/idt77252.c
@@ -3730,7 +3730,7 @@ err_out_disable_pdev:
return err;
}
-static struct pci_device_id idt77252_pci_tbl[] =
+static DEFINE_PCI_DEVICE_TABLE(idt77252_pci_tbl) =
{
{ PCI_VDEVICE(IDT, PCI_DEVICE_ID_IDT_IDT77252), 0 },
{ 0, }
--
1.7.10.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 5/8] atm: iphase: use DEFINE_PCI_DEVICE_TABLE macro
2013-11-28 3:37 [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
` (2 preceding siblings ...)
2013-11-28 3:40 ` [PATCH 4/8] atm: idt77252: " Jingoo Han
@ 2013-11-28 3:41 ` Jingoo Han
2013-11-28 3:41 ` [PATCH 6/8] atm: lanai: " Jingoo Han
` (4 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Jingoo Han @ 2013-11-28 3:41 UTC (permalink / raw)
To: 'David S. Miller'
Cc: 'Chas Williams', netdev, linux-atm-general,
'Francois Romieu', 'Jingoo Han'
This macro is used to create a struct pci_device_id array.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
drivers/atm/iphase.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c
index 4217f29..87b0b54 100644
--- a/drivers/atm/iphase.c
+++ b/drivers/atm/iphase.c
@@ -3258,7 +3258,7 @@ static void ia_remove_one(struct pci_dev *pdev)
kfree(iadev);
}
-static struct pci_device_id ia_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(ia_pci_tbl) = {
{ PCI_VENDOR_ID_IPHASE, 0x0008, PCI_ANY_ID, PCI_ANY_ID, },
{ PCI_VENDOR_ID_IPHASE, 0x0009, PCI_ANY_ID, PCI_ANY_ID, },
{ 0,}
--
1.7.10.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 6/8] atm: lanai: use DEFINE_PCI_DEVICE_TABLE macro
2013-11-28 3:37 [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
` (3 preceding siblings ...)
2013-11-28 3:41 ` [PATCH 5/8] atm: iphase: " Jingoo Han
@ 2013-11-28 3:41 ` Jingoo Han
2013-11-28 3:42 ` [PATCH 7/8] atm: nicstar: " Jingoo Han
` (3 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Jingoo Han @ 2013-11-28 3:41 UTC (permalink / raw)
To: 'David S. Miller'
Cc: 'Chas Williams', netdev, linux-atm-general,
'Jingoo Han'
This macro is used to create a struct pci_device_id array.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
drivers/atm/lanai.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/atm/lanai.c b/drivers/atm/lanai.c
index fa7d701..1e43693 100644
--- a/drivers/atm/lanai.c
+++ b/drivers/atm/lanai.c
@@ -2601,7 +2601,7 @@ static int lanai_init_one(struct pci_dev *pci,
return result;
}
-static struct pci_device_id lanai_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(lanai_pci_tbl) = {
{ PCI_VDEVICE(EF, PCI_DEVICE_ID_EF_ATM_LANAI2) },
{ PCI_VDEVICE(EF, PCI_DEVICE_ID_EF_ATM_LANAIHB) },
{ 0, } /* terminal entry */
--
1.7.10.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 7/8] atm: nicstar: use DEFINE_PCI_DEVICE_TABLE macro
2013-11-28 3:37 [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
` (4 preceding siblings ...)
2013-11-28 3:41 ` [PATCH 6/8] atm: lanai: " Jingoo Han
@ 2013-11-28 3:42 ` Jingoo Han
2013-11-28 3:43 ` [PATCH 8/8] atm: solos-pci: " Jingoo Han
` (2 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Jingoo Han @ 2013-11-28 3:42 UTC (permalink / raw)
To: 'David S. Miller'
Cc: 'Chas Williams', netdev, linux-atm-general,
'Jingoo Han', 'Andy Shevchenko'
This macro is used to create a struct pci_device_id array.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
drivers/atm/nicstar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/atm/nicstar.c b/drivers/atm/nicstar.c
index 5aca5f4..7353d41 100644
--- a/drivers/atm/nicstar.c
+++ b/drivers/atm/nicstar.c
@@ -260,7 +260,7 @@ static void nicstar_remove_one(struct pci_dev *pcidev)
kfree(card);
}
-static struct pci_device_id nicstar_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(nicstar_pci_tbl) = {
{ PCI_VDEVICE(IDT, PCI_DEVICE_ID_IDT_IDT77201), 0 },
{0,} /* terminate list */
};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 8/8] atm: solos-pci: use DEFINE_PCI_DEVICE_TABLE macro
2013-11-28 3:37 [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
` (5 preceding siblings ...)
2013-11-28 3:42 ` [PATCH 7/8] atm: nicstar: " Jingoo Han
@ 2013-11-28 3:43 ` Jingoo Han
2013-11-28 4:39 ` [PATCH 1/8] atm: eni: " Jingoo Han
2013-11-28 4:44 ` David Miller
8 siblings, 0 replies; 11+ messages in thread
From: Jingoo Han @ 2013-11-28 3:43 UTC (permalink / raw)
To: 'David S. Miller'
Cc: 'Chas Williams', netdev, linux-atm-general,
'Jingoo Han', 'David Woodhouse',
'Nathan Williams'
This macro is used to create a struct pci_device_id array.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
drivers/atm/solos-pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c
index 32784d1..f718311 100644
--- a/drivers/atm/solos-pci.c
+++ b/drivers/atm/solos-pci.c
@@ -1461,7 +1461,7 @@ static void fpga_remove(struct pci_dev *dev)
kfree(card);
}
-static struct pci_device_id fpga_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(fpga_pci_tbl) = {
{ 0x10ee, 0x0300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ 0, }
};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro
2013-11-28 3:37 [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
` (6 preceding siblings ...)
2013-11-28 3:43 ` [PATCH 8/8] atm: solos-pci: " Jingoo Han
@ 2013-11-28 4:39 ` Jingoo Han
2013-11-28 20:48 ` David Miller
2013-11-28 4:44 ` David Miller
8 siblings, 1 reply; 11+ messages in thread
From: Jingoo Han @ 2013-11-28 4:39 UTC (permalink / raw)
To: 'David S. Miller'
Cc: 'Chas Williams', netdev, linux-atm-general,
'Francois Romieu', 'Jingoo Han'
On Thursday, November 28, 2013 12:37 PM, Jingoo Han wrote:
>
> This macro is used to create a struct pci_device_id array.
>
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Please, ignore these patches.
According to the Greg Kroah-Hartman,
"Yeah, and it's a horrid macro that deserves to be removed, please don't
use it in more places.
Actually, if you could just remove it, that would be best, sorry, I'm
not going to take these patches."
So, I will send the patch to remove 'DEFINE_PCI_DEVICE_TABLE' instead.
Sorry for annoying. :-)
Best regards,
Jingoo Han
> ---
> drivers/atm/eni.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c
> index b1955ba..846fc9e 100644
> --- a/drivers/atm/eni.c
> +++ b/drivers/atm/eni.c
> @@ -2283,7 +2283,7 @@ err_disable:
> }
>
>
> -static struct pci_device_id eni_pci_tbl[] = {
> +static DEFINE_PCI_DEVICE_TABLE(eni_pci_tbl) = {
> { PCI_VDEVICE(EF, PCI_DEVICE_ID_EF_ATM_FPGA), 0 /* FPGA */ },
> { PCI_VDEVICE(EF, PCI_DEVICE_ID_EF_ATM_ASIC), 1 /* ASIC */ },
> { 0, }
> --
> 1.7.10.4
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro
2013-11-28 3:37 [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
` (7 preceding siblings ...)
2013-11-28 4:39 ` [PATCH 1/8] atm: eni: " Jingoo Han
@ 2013-11-28 4:44 ` David Miller
8 siblings, 0 replies; 11+ messages in thread
From: David Miller @ 2013-11-28 4:44 UTC (permalink / raw)
To: jg1.han; +Cc: chas, netdev, linux-atm-general, romieu
It is not appropriate to submit changes like this at this time
as the net-next tree is not open.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro
2013-11-28 4:39 ` [PATCH 1/8] atm: eni: " Jingoo Han
@ 2013-11-28 20:48 ` David Miller
0 siblings, 0 replies; 11+ messages in thread
From: David Miller @ 2013-11-28 20:48 UTC (permalink / raw)
To: jg1.han; +Cc: chas, netdev, linux-atm-general, romieu
From: Jingoo Han <jg1.han@samsung.com>
Date: Thu, 28 Nov 2013 13:39:44 +0900
> On Thursday, November 28, 2013 12:37 PM, Jingoo Han wrote:
>>
>> This macro is used to create a struct pci_device_id array.
>>
>> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
>
> Please, ignore these patches.
> According to the Greg Kroah-Hartman,
...
Ok, but it was also not appropriate to submit these patches because the
net-next tree is not open yet.
Thank you.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2013-11-28 20:48 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-28 3:37 [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
2013-11-28 3:38 ` [PATCH 2/8] atm: fore200e: " Jingoo Han
2013-11-28 3:39 ` [PATCH 3/8] atm: he: " Jingoo Han
2013-11-28 3:40 ` [PATCH 4/8] atm: idt77252: " Jingoo Han
2013-11-28 3:41 ` [PATCH 5/8] atm: iphase: " Jingoo Han
2013-11-28 3:41 ` [PATCH 6/8] atm: lanai: " Jingoo Han
2013-11-28 3:42 ` [PATCH 7/8] atm: nicstar: " Jingoo Han
2013-11-28 3:43 ` [PATCH 8/8] atm: solos-pci: " Jingoo Han
2013-11-28 4:39 ` [PATCH 1/8] atm: eni: " Jingoo Han
2013-11-28 20:48 ` David Miller
2013-11-28 4:44 ` 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).