OSDN Git Service

net: dsa: mv88e6xxx: Refactor mv88e6352 SERDES code into an op
authorAndrew Lunn <andrew@lunn.ch>
Thu, 25 May 2017 23:03:21 +0000 (01:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 19:00:44 +0000 (15:00 -0400)
commit6d91782f0f140ae515732a9543a0ae3f9f3140ce
treeb0f95b100aeed03f3388ebc7f75a49882598ada6
parent10fa5bfcd69730765b496c7d91c5df0da7019489
net: dsa: mv88e6xxx: Refactor mv88e6352 SERDES code into an op

The mv88e6390 family has a different SERDES implementation. Refactor
the mv88e6352 code into an ops function, so we can later add the
mv88e6390 code.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/Makefile
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
drivers/net/dsa/mv88e6xxx/serdes.c [new file with mode: 0644]
drivers/net/dsa/mv88e6xxx/serdes.h [new file with mode: 0644]