ca070c1097
Since not every chip has a Global2 set of registers, make its support optional, in which case the related functions will return -EOPNOTSUPP. This also allows to reduce the size of the mv88e6xxx driver for devices such as home routers embedding Ethernet chips without Global2 support. It is present on most recent chips, thus enable its support by default. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
20 lines
670 B
Plaintext
20 lines
670 B
Plaintext
config NET_DSA_MV88E6XXX
|
|
tristate "Marvell 88E6xxx Ethernet switch fabric support"
|
|
depends on NET_DSA
|
|
select NET_DSA_TAG_EDSA
|
|
select NET_DSA_TAG_DSA
|
|
help
|
|
This driver adds support for most of the Marvell 88E6xxx models of
|
|
Ethernet switch chips, except 88E6060.
|
|
|
|
config NET_DSA_MV88E6XXX_GLOBAL2
|
|
bool "Switch Global 2 Registers support"
|
|
default y
|
|
depends on NET_DSA_MV88E6XXX
|
|
help
|
|
This registers set at internal SMI address 0x1C provides extended
|
|
features like EEPROM interface, trunking, cross-chip setup, etc.
|
|
|
|
It is required on most chips. If the chip you compile the support for
|
|
doesn't have such registers set, say N here. In doubt, say Y.
|