OSDN Git Service

net: dsa: mv88e6xxx: add port files
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 4 Nov 2016 02:23:26 +0000 (03:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Nov 2016 18:39:58 +0000 (14:39 -0400)
commit18abed211c0503167a566d3ff330dc7ca44e5fc6
tree3fa7bb760b0116bf031b25c7d51f29180b34ccb6
parent5976c5f45c40588b90dda173ded9010917f8f45e
net: dsa: mv88e6xxx: add port files

The Marvell switches contains one internal SMI device per port, called
"Port Registers". Depending on the model, the addresses of these devices
start from 0x0, 0x8 or 0x10.

Start moving Port Registers specific code to their own files.

Signed-off-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/port.c [new file with mode: 0644]
drivers/net/dsa/mv88e6xxx/port.h [new file with mode: 0644]