Forráskód Böngészése

bcm47xx: enable adm6996 only on legacy subtarget

The generic subtarget supports only a few devices. None of
these devices are equipped with a ADM6996 switch. On the
mips74k subtarget, the driver for the adm6996 switch is
disabled. So it seems that the ADM6996 driver should
be enabled only on the legacy subtarget.

Support for ADM6996 switches was enabled in commit 68081fc1c8c7814b1c064431eb2e364f9226801a.
At the time when this driver was enabled the bcm47xx
target had only one subtarget.

Switches used by individual devices suported by the generic
subtarget are listed below.

Device			Switch
Edimax PS-1208MFG	int. SoC
Linksys WRT300N v1.1	Broadcom BCM5325
Linksys WRT310N v1	Broadcom BCM5397
Linksys WRT350N v1	Broadcom BCM5397
Linksys WRT610N v1	Broadcom BCM53115
Linksys WRT610N v2	Broadcom BCM53115
Linksys E3000 v1	Broadcom BCM53115

Reduce uncompressed kernel size by 8320 Bytes.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Aleksander Jan Bajkowski 2 éve
szülő
commit
11c28cfceb

+ 0 - 1
target/linux/bcm47xx/config-5.10

@@ -1,4 +1,3 @@
-CONFIG_ADM6996_PHY=y
 CONFIG_ARCH_BINFMT_ELF_STATE=y
 CONFIG_ARCH_CLOCKSOURCE_DATA=y
 CONFIG_ARCH_DISCARD_MEMBLOCK=y

+ 0 - 1
target/linux/bcm47xx/config-5.15

@@ -1,4 +1,3 @@
-CONFIG_ADM6996_PHY=y
 CONFIG_ARCH_32BIT_OFF_T=y
 CONFIG_ARCH_HIBERNATION_POSSIBLE=y
 CONFIG_ARCH_KEEP_MEMBLOCK=y

+ 1 - 0
target/linux/bcm47xx/legacy/config-default

@@ -1,3 +1,4 @@
+CONFIG_ADM6996_PHY=y
 CONFIG_B44=y
 CONFIG_B44_PCI=y
 CONFIG_B44_PCICORE_AUTOSELECT=y

+ 0 - 1
target/linux/bcm47xx/mips74k/config-default

@@ -1,4 +1,3 @@
-# CONFIG_ADM6996_PHY is not set
 # CONFIG_BCM47XX_SSB is not set
 CONFIG_BGMAC=y
 CONFIG_BGMAC_BCMA=y