]> git.baikalelectronics.ru Git - kernel.git/commit
net: cpsw: Fix ethernet regression for dm814x
authorTony Lindgren <tony@atomide.com>
Thu, 19 Nov 2015 01:27:25 +0000 (17:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Nov 2015 15:46:33 +0000 (10:46 -0500)
commit21cf5a96b0e64ac5f2d43e895fb99a5660b8029a
tree4f02b5ca6a2000dab34b1960cb1f21edc6390055
parent9abade61ea5f8d1e5d27164b2d9d88cfa6b1c00c
net: cpsw: Fix ethernet regression for dm814x

Commit 23edb81bb261 ("drivers: net: cpsw: davinci_emac: move reading mac
id to common file") started using of_machine_is_compatible for detecting
type but missed at dm8148 causing Ethernet to stop working.

Let's fix the issue by adding handling for dm814x.

Cc: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Mugunthnan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw-common.c