Thread (16 messages) flat view 16 messages, 4 authors, 2011-12-07

[PATCH] net/macb: add DT support

From: Jamie Iles <hidden>
Date: 2011-12-05 11:48:45
Also in: linux-devicetree, lkml, netdev

On Fri, Dec 02, 2011 at 06:53:58PM +0100, Nicolas Ferre wrote:
On 12/02/2011 06:28 PM, Jamie Iles :
[...]
quoted
diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c
index 103c6e6..89060e6 100644
--- a/drivers/net/ethernet/cadence/macb.c
+++ b/drivers/net/ethernet/cadence/macb.c
@@ -1247,6 +1247,8 @@ static const struct of_device_id macb_dt_ids[] = {
 	{ .compatible = "cdns,at32ap7000-macb" },
 	{ .compatible = "cdns,at91sam9260-macb" },
 	{ .compatible = "cdns,macb" },
+	{ .compatible = "cdns,pc302-gem" },
+	{ .compatible = "cdns,gem" },
 	{ /* sentinel */ }
 };
BTW, I think we may also modify the MII/RMII selection code for
adding gigabit selection... but maybe you already have the patches?
No, I don't have access to a version of the GEM with gigabit support.  
The platforms I was working on used it as a 10/100 controller, but had 
to use the GEM to get hardware timestamping support.

Jamie
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help