[OpenWrt-Devel] [PATCH 2/2] kernel: Add a selectable option for ar8xxx

Mathieu Olivari mathieu at codeaurora.org
Thu Feb 19 13:48:15 EST 2015

The git log is a bit misleading actually. This change is more meant to
provide the flexibility to enable/disable the switch driver from openwrt
It would make it easier if somebody wants to build a firmware for a platform
which doesn't have the switch, and wants to save the space associated with
it. Could be useful as well in the future, if somebody implements a
switchdev/dsa based driver; having an openwrt menuconfig would facilitate
disabling the swconfig based one to enable the in kernel one. Rather than
modifying the kernel config to do the same.

In which case, this facility would have to be enabled on a per-target basis
- as it would require to remove the option from config-3.xx. I was typically
thinking about doing this for ipq806x. Therefore my comment about "on
certain targets" :)

-----Original Message-----
From: Felix Fietkau [mailto:nbd at openwrt.org] 
Sent: Wednesday, February 18, 2015 11:58 PM
To: Mathieu Olivari; blogic at openwrt.org; hkallweit1 at gmail.com
Cc: openwrt-devel at lists.openwrt.org
Subject: Re: [PATCH 2/2] kernel: Add a selectable option for ar8xxx

On 2015-02-19 12:25, Mathieu Olivari wrote:
> AR8xxx driver covers all the QCA switch families. Most architectures 
> usually build it in the kernel, but it may be valuable for some 
> targets to build it as a module for more flexibility.
> Signed-off-by: Mathieu Olivari <mathieu at codeaurora.org>
On what targets would this be useful, and why?

- Felix
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list