]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: add a multi_chip info flag
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 17 Jul 2017 17:03:46 +0000 (13:03 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Jul 2017 18:10:58 +0000 (11:10 -0700)
commit2d53c88162ab4ce22e1aa48dafc52dffeef5e54c
tree6ab825a9df5a063866f9b28b269af9b1bd1c07ed
parentbcdd3351ec40e8d1bf1ebc3220cf7bbf39ea145e
net: dsa: mv88e6xxx: add a multi_chip info flag

Instead of relying on a bitmap flag, add a new multi_chip info flag to
describe the presence of the indirect SMI access though the two device
registers 0x0 and 0x1.

All remaining capabilities and flags are now unused. Remove the
mv88e6xxx_cap enum and the info flags bitmaps.

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>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/chip.h