forked from luck/tmp_suning_uos_patched
510149e319
git commit 45cec1bac0
"dsa: Need to select PHYLIB." causes this build bug on s390:
drivers/built-in.o: In function `phy_stop_interrupts':
/home/heicarst/linux-2.6/drivers/net/phy/phy.c:631: undefined reference to `free_irq'
/home/heicarst/linux-2.6/drivers/net/phy/phy.c:646: undefined reference to `enable_irq'
drivers/built-in.o: In function `phy_start_interrupts':
/home/heicarst/linux-2.6/drivers/net/phy/phy.c:601: undefined reference to `request_irq'
drivers/built-in.o: In function `phy_interrupt':
/home/heicarst/linux-2.6/drivers/net/phy/phy.c:528: undefined reference to `disable_irq_nosync'
drivers/built-in.o: In function `phy_change':
/home/heicarst/linux-2.6/drivers/net/phy/phy.c:674: undefined reference to `enable_irq'
/home/heicarst/linux-2.6/drivers/net/phy/phy.c:692: undefined reference to `disable_irq'
PHYLIB has alread a depend on !S390, however select PHYLIB at DSA overrides
that unfortunately. So add a depend on !S390 to DSA as well.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
61 lines
1.2 KiB
Plaintext
61 lines
1.2 KiB
Plaintext
menuconfig NET_DSA
|
|
bool "Distributed Switch Architecture support"
|
|
default n
|
|
depends on EXPERIMENTAL && !S390
|
|
select PHYLIB
|
|
---help---
|
|
This allows you to use hardware switch chips that use
|
|
the Distributed Switch Architecture.
|
|
|
|
|
|
if NET_DSA
|
|
|
|
# tagging formats
|
|
config NET_DSA_TAG_DSA
|
|
bool
|
|
default n
|
|
|
|
config NET_DSA_TAG_EDSA
|
|
bool
|
|
default n
|
|
|
|
config NET_DSA_TAG_TRAILER
|
|
bool
|
|
default n
|
|
|
|
|
|
# switch drivers
|
|
config NET_DSA_MV88E6XXX
|
|
bool
|
|
default n
|
|
|
|
config NET_DSA_MV88E6060
|
|
bool "Marvell 88E6060 ethernet switch chip support"
|
|
select NET_DSA_TAG_TRAILER
|
|
---help---
|
|
This enables support for the Marvell 88E6060 ethernet switch
|
|
chip.
|
|
|
|
config NET_DSA_MV88E6XXX_NEED_PPU
|
|
bool
|
|
default n
|
|
|
|
config NET_DSA_MV88E6131
|
|
bool "Marvell 88E6131 ethernet switch chip support"
|
|
select NET_DSA_MV88E6XXX
|
|
select NET_DSA_MV88E6XXX_NEED_PPU
|
|
select NET_DSA_TAG_DSA
|
|
---help---
|
|
This enables support for the Marvell 88E6131 ethernet switch
|
|
chip.
|
|
|
|
config NET_DSA_MV88E6123_61_65
|
|
bool "Marvell 88E6123/6161/6165 ethernet switch chip support"
|
|
select NET_DSA_MV88E6XXX
|
|
select NET_DSA_TAG_EDSA
|
|
---help---
|
|
This enables support for the Marvell 88E6123/6161/6165
|
|
ethernet switch chips.
|
|
|
|
endif
|