[PATCH] net: NEWEMAC: Add compatible "ibm,tah" to tah matching table

Subsystems: networking drivers, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

STALE6799d

2 messages, 2 authors, 2008-03-17 · open the first message on its own page

[PATCH] net: NEWEMAC: Add compatible "ibm,tah" to tah matching table

From: Stefan Roese <sr@denx.de>
Date: 2008-03-13 15:59:53

Add "ibm,tah" to the compatible matching table of the ibm_newemac
tah driver. The type "tah" is still preserved for compatibility reasons.
New dts files should use the compatible property though.

Signed-off-by: Stefan Roese <sr@denx.de>
---
 drivers/net/ibm_newemac/tah.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/net/ibm_newemac/tah.c b/drivers/net/ibm_newemac/tah.c
index 96417ad..b023d10 100644
--- a/drivers/net/ibm_newemac/tah.c
+++ b/drivers/net/ibm_newemac/tah.c
@@ -155,6 +155,10 @@ static int __devexit tah_remove(struct of_device *ofdev)
 static struct of_device_id tah_match[] =
 {
 	{
+		.compatible	= "ibm,tah",
+	},
+	/* For backward compat with old DT */
+	{
 		.type		= "tah",
 	},
 	{},
-- 
1.5.4.4

Re: [PATCH] net: NEWEMAC: Add compatible "ibm,tah" to tah matching table

From: Jeff Garzik <hidden>
Date: 2008-03-17 12:08:46

Stefan Roese wrote:
Add "ibm,tah" to the compatible matching table of the ibm_newemac
tah driver. The type "tah" is still preserved for compatibility reasons.
New dts files should use the compatible property though.

Signed-off-by: Stefan Roese <sr@denx.de>
---
 drivers/net/ibm_newemac/tah.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
applied
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help