2018-05-07 14:21:50

by J. Neuschäfer

[permalink] [raw]
Subject: [PATCH v2 1/4] powerpc: wii_defconfig: Disable Ethernet driver support code

The Wii doesn't have built-in Ethernet and USB Ethernet adapters are in
a different menu. Disable CONFIG_ETHERNET to save some space in support
code for Ethernet drivers.

Note that this patch doesn't disable any Ethernet drivers, because they
are not enabled by default.

Signed-off-by: Jonathan Neuschäfer <[email protected]>
---
v2:
- Drop the bloat-o-meter output from the commit message
---
arch/powerpc/configs/wii_defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/configs/wii_defconfig b/arch/powerpc/configs/wii_defconfig
index 0b0f78823a1b..3167b9d7f3e5 100644
--- a/arch/powerpc/configs/wii_defconfig
+++ b/arch/powerpc/configs/wii_defconfig
@@ -49,6 +49,7 @@ CONFIG_BLK_DEV_RAM_COUNT=2
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_NETDEVICES=y
+# CONFIG_ETHERNET is not set
CONFIG_B43=y
CONFIG_B43_SDIO=y
# CONFIG_B43_PHY_LP is not set
--
2.17.0



2018-05-10 14:07:12

by Michael Ellerman

[permalink] [raw]
Subject: Re: [v2, 1/4] powerpc: wii_defconfig: Disable Ethernet driver support code

On Mon, 2018-05-07 at 14:20:16 UTC, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= wrote:
> The Wii doesn't have built-in Ethernet and USB Ethernet adapters are in
> a different menu. Disable CONFIG_ETHERNET to save some space in support
> code for Ethernet drivers.
>
> Note that this patch doesn't disable any Ethernet drivers, because they
> are not enabled by default.
>
> Signed-off-by: Jonathan Neuschäfer <[email protected]>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/a84813f5bf2948c2a2947b0d684562

cheers