]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8860f5ef4e68210d1c7f3cfd71ba4eae96c46507
tree3fa7bb760b0116bf031b25c7d51f29180b34ccb6
parentcceb1597df3e55a4171b47fcd1b93e7edbedb850
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]