net: ethernet: nb8800: support fixed-link DT node
authorSebastian Frias <sf84@laposte.net>
Mon, 22 Feb 2016 12:33:14 +0000 (13:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Feb 2016 16:32:11 +0000 (11:32 -0500)
commitc7dfe3abf40ec9a298884a4c0775062eac27afc9
tree9d00c677ee7c411524b2e766dd2b567336904a7a
parentfbb0fa8b48892a3db8f5b89fb591c741fbd2fe7a
net: ethernet: nb8800: support fixed-link DT node

Under some circumstances, e.g. when connecting to a switch, the ethernet
port will not be connected to a PHY. In that case a "fixed-link" DT node
can be used to replace it.

https://stackoverflow.com/questions/31046172/device-tree-for-phy-less-connection-to-a-dsa-switch

This patch adds support for the "fixed-link" node to the nb8800 driver.

Signed-off-by: Sebastian Frias <sf84@laposte.net>
Acked-by: Mans Rullgard <mans@mansr.com>
Cc: Mason <slash.tmp@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aurora/nb8800.c