aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2016-06-20 13:14:09 -0400
committerDavid S. Miller <davem@davemloft.net>2016-06-21 03:58:30 -0400
commitcaac8545c861f2e78ae2565de31b573739b4034b (patch)
tree8cad9d51033709b6a31248074f31f1cfd85cfee2 /drivers/net/dsa/mv88e6xxx.h
parentnet: dsa: mv88e6xxx: add detection helper (diff)
downloadlinux-dev-caac8545c861f2e78ae2565de31b573739b4034b.tar.xz
linux-dev-caac8545c861f2e78ae2565de31b573739b4034b.zip
net: dsa: mv88e6xxx: pass compatible info
After allocating the chip structure, pass it a compatible info pointer. The compatible info structure will be used later to describe how to access the switch registers and where to read the switch ID. For the standard MDIO probe, get it from the device node data. For the legacy DSA driver probing, pass it the 88E6085 info. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx.h')
0 files changed, 0 insertions, 0 deletions