[PATCH] bcm53xx: switch to the upstream DSA-based b53 driver
Christian Lamparter
chunkeey at gmail.com
Mon Oct 18 09:35:50 PDT 2021
Hello,
On Mon, Oct 18, 2021 at 3:06 PM Rafał Miłecki <zajec5 at gmail.com> wrote:
> 1. Drop swconfig
> 2. Simplify network setup
> 3. Verify network config
> 4. Disable Buffalo WZR-900DHP for now - it misses ports definition
>
Nice! MR32's portion of a similar patch (the only change that has
remained... as the DTS is upstream)
in my staging-tree looks very similar.
<https://git.openwrt.org/?p=openwrt/staging/chunkeey.git;a=commit;h=ae2a37033ee59f85087101c339e95f99a8e113ec>
> + meraki,mr32)
> + ucidef_set_interface_lan "poe"
> + ;;
I opted not to set the dhcp mode as you did since zeroconf wasn't
supported by the udhcp (maybe that has changed?).
But yes, this should be good.
Reviewed-By: Christian Lamparter <chunkeey at gmail.com>
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
> ---
> diff --git a/target/linux/bcm53xx/Makefile b/target/linux/bcm53xx/Makefile
> index 083f905096..921058d140 100644
> --- a/target/linux/bcm53xx/Makefile
> +++ b/target/linux/bcm53xx/Makefile
> @@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/target.mk
>
> KERNELNAME:=zImage dtbs
>
> -DEFAULT_PACKAGES += swconfig nvram \
> +DEFAULT_PACKAGES += nvram \
^^^ See below in the config-5.10 / CONFIG_SWCONFIG=y
> diff --git a/target/linux/bcm53xx/config-5.10 b/target/linux/bcm53xx/config-5.10
> index 9d98e812bd..73cccf1d3a 100644
> --- a/target/linux/bcm53xx/config-5.10
> +++ b/target/linux/bcm53xx/config-5.10
> @@ -267,10 +282,6 @@ CONFIG_SPI_MASTER=y
> CONFIG_SPI_MEM=y
> CONFIG_SRCU=y
> CONFIG_SWCONFIG=y
-CONFIG_SWCONFIG=y (it should be possible to remove this line too)
(Or does this symbol creep on back during kernel_*config? if so
# CONFIG_SWCONFIG is not set
)
Cheers,
Christian
More information about the openwrt-devel
mailing list