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
menu.
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" :)

Thanks,
Mathieu
-----Original Message-----
From: Felix Fietkau [mailto:n...@openwrt.org] 
Sent: Wednesday, February 18, 2015 11:58 PM
To: Mathieu Olivari; blo...@openwrt.org; hkallwe...@gmail.com
Cc: openwrt-devel@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 <math...@codeaurora.org>
On what targets would this be useful, and why?

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to