Skip to contentSkip to conversation

net: NEWEMAC: Remove "rgmii-interface" from rgmii matching table

PATCH In review Stefan Roese 5 participants 11 messages Jan 16, 2008 – Feb 6, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: NEWEMAC: Remove "rgmii-interface" from rgmii matching table

With the removal the the "rgmii-interface" device_type property from the dts files, the newemac driver needs an update to only rely on compatible property.

---
 drivers/net/ibm_newemac/rgmii.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/net/ibm_newemac/rgmii.c +0 -1
index 9bc1132..5757788 100644
@@ -302,7 +302,6 @@ static int __devexit rgmii_remove(struct of_device *ofdev)
 static struct of_device_id rgmii_match[] =
 {
 	{
-		.type		= "rgmii-interface",
 		.compatible	= "ibm,rgmii",
 	},
 	{
Signature · 1 line
1.5.4.rc3
#1 lore raw
Quoted 3 lines · Stefan Roese

With the removal the the "rgmii-interface" device_type property from the dts files, the newemac driver needs an update to only rely on compatible property.

In fact, this patch should go in before the one changing the dts files.

Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
#2 lore raw
In reply to Stefan Roese
Quoted 5 lines · Stefan Roese

With the removal the the "rgmii-interface" device_type property from the dts files, the newemac driver needs an update to only rely on compatible property.

I need to test if it works on CAB, can't change the DT on those. I'll let you know tomorrow.

Quoted 16 lines
---
 drivers/net/ibm_newemac/rgmii.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/net/ibm_newemac/rgmii.c +0 -1
index 9bc1132..5757788 100644
@@ -302,7 +302,6 @@ static int __devexit rgmii_remove(struct of_device *ofdev)
 static struct of_device_id rgmii_match[] =
 {
 	{
-		.type		= "rgmii-interface",
 		.compatible	= "ibm,rgmii",
 	},
 	{
#3 lore raw
Quoted 10 lines · On Wed, 16 Jan 2008 20:53:59 +1100 Benjamin Herrenschmidt…
Quoted 5 lines · Stefan Roese

With the removal the the "rgmii-interface" device_type property from the dts files, the newemac driver needs an update to only rely on compatible property.

I need to test if it works on CAB, can't change the DT on those. I'll let you know tomorrow.

This should be fine on CAB. The rgmii node has:

compatible = "ibm,rgmii-axon", "ibm,rgmii"

so the match should still catch on the latter.

josh

#4 lore raw
Quoted 10 lines · Josh Boyer

On Wed, 16 Jan 2008 20:53:59 +1100

Quoted 7 lines · Benjamin Herrenschmidt
Quoted 5 lines · Stefan Roese

With the removal the the "rgmii-interface" device_type property from the dts files, the newemac driver needs an update to only rely on compatible property.

Quoted 8 lines
Quoted 2 lines

I need to test if it works on CAB, can't change the DT on those. I'll let you know tomorrow.

This should be fine on CAB. The rgmii node has:

compatible = "ibm,rgmii-axon", "ibm,rgmii"

so the match should still catch on the latter.

How about this patch? Ben, if you think this is ok then we should make sure that it goes in in this merge-window, since the other dts patch relies on it.

Thanks.

Best regards,
Stefan

#5 lore raw
Quoted 14 lines · Stefan Roese
Quoted 13 lines · Josh Boyer

On Wed, 16 Jan 2008 20:53:59 +1100

Quoted 9 lines · Benjamin Herrenschmidt
Quoted 5 lines · Stefan Roese

With the removal the the "rgmii-interface" device_type property from the dts files, the newemac driver needs an update to only rely on compatible property.

I need to test if it works on CAB, can't change the DT on those. I'll let you know tomorrow.

Quoted 8 lines
Quoted 5 lines

This should be fine on CAB. The rgmii node has:

compatible = "ibm,rgmii-axon", "ibm,rgmii"

so the match should still catch on the latter.

How about this patch? Ben, if you think this is ok then we should make sure that it goes in in this merge-window, since the other dts patch relies on it.

It's fine.

Ben.

#6 lore raw
Quoted 18 lines · On Thu, 31 Jan 2008 10:14:58 +1100 Benjamin Herrenschmidt…
Quoted 16 lines · Stefan Roese
Quoted 15 lines · Josh Boyer

On Wed, 16 Jan 2008 20:53:59 +1100

Quoted 9 lines · Benjamin Herrenschmidt
Quoted 5 lines · Stefan Roese

With the removal the the "rgmii-interface" device_type property from the dts files, the newemac driver needs an update to only rely on compatible property.

I need to test if it works on CAB, can't change the DT on those. I'll let you know tomorrow.

This should be fine on CAB. The rgmii node has:

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

compatible = "ibm,rgmii-axon", "ibm,rgmii"

so the match should still catch on the latter.

How about this patch? Ben, if you think this is ok then we should make sure that it goes in in this merge-window, since the other dts patch relies on it.

It's fine.

Jeff, any chance this can get into .25 soon? I have another patch queued up behind this one that requires it, and I don't see it in any of your trees or branches.

Or, if you aren't opposed, I can take it through Paul's tree with your Ack.

josh

#7 lore raw
Quoted 7 lines

Jeff, any chance this can get into .25 soon? I have another patch queued up behind this one that requires it, and I don't see it in any of your trees or branches.

Or, if you aren't opposed, I can take it through Paul's tree with your Ack.

In case my "it's fine" wasn't enough, here's an:

#8 lore raw
In reply to Josh Boyer
Quoted 22 lines · Josh Boyer
Quoted 19 lines · On Thu, 31 Jan 2008 10:14:58 +1100 Benjamin Herrenschmidt…
Quoted 18 lines · Stefan Roese
Quoted 8 lines · Josh Boyer

On Wed, 16 Jan 2008 20:53:59 +1100

Quoted 5 lines · Benjamin Herrenschmidt
Quoted 4 lines · Stefan Roese

With the removal the the "rgmii-interface" device_type property from the dts files, the newemac driver needs an update to only rely on compatible property.

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

I need to test if it works on CAB, can't change the DT on those. I'll let you know tomorrow.

This should be fine on CAB. The rgmii node has:

compatible = "ibm,rgmii-axon", "ibm,rgmii"

so the match should still catch on the latter.

How about this patch? Ben, if you think this is ok then we should make sure that it goes in in this merge-window, since the other dts patch relies on it.

Quoted 8 lines
Quoted 1 line

It's fine.

Jeff, any chance this can get into .25 soon? I have another patch queued up behind this one that requires it, and I don't see it in any of your trees or branches.

Or, if you aren't opposed, I can take it through Paul's tree with your Ack.

can you resend? I don't see it in the pile

#9 lore raw
Quoted 8 lines · Jeff Garzik
Quoted 6 lines

Jeff, any chance this can get into .25 soon? I have another patch queued up behind this one that requires it, and I don't see it in any of your trees or branches.

Or, if you aren't opposed, I can take it through Paul's tree with your Ack.

can you resend? I don't see it in the pile

Will do.

Best regards,
Stefan

Acked-by on v1 1/1
#10 lore raw
In reply to Stefan Roese
Quoted 6 lines · Stefan Roese

With the removal the the "rgmii-interface" device_type property from the dts files, the newemac driver needs an update to only rely on compatible property.

---

Jeff, please stick that into your queue for 2.6.25, thanks !

Ben.

Quoted 15 lines
 drivers/net/ibm_newemac/rgmii.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/net/ibm_newemac/rgmii.c +0 -1
index 9bc1132..5757788 100644
@@ -302,7 +302,6 @@ static int __devexit rgmii_remove(struct of_device *ofdev)
 static struct of_device_id rgmii_match[] =
 {
 	{
-		.type		= "rgmii-interface",
 		.compatible	= "ibm,rgmii",
 	},
 	{