Search Linux Wireless

Re: [PATCH v5] Add new mac80211 driver mwlwifi.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jul 5, 2015 at 12:33 PM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> I'm not so sure about the OF thing - at least in general this seems
> right and many drivers are selecting OF. If that causes issues on
> certain platforms then perhaps those platforms should fix the issues,
> or the whole OF should be changed to depends on?

At least in linus' current HEAD I don't see any drivers selecting OF;
only a few that select OF subsystems:

# grep -r --include=Kconfig "select OF" drivers/
drivers/of/Kconfig:     select OF_EARLY_FLATTREE
drivers/of/Kconfig:     select OF_RESOLVE
drivers/of/Kconfig:     select OF_FLATTREE
drivers/of/Kconfig:     select OF_ADDRESS_PCI if PCI
drivers/of/Kconfig:     select OF_DYNAMIC
drivers/of/Kconfig:     select OF_RESOLVE
drivers/gpio/Kconfig:   select OF_GPIO
drivers/pinctrl/mediatek/Kconfig:       select OF_GPIO
drivers/pinctrl/Kconfig:        select OF_GPIO
drivers/pinctrl/Kconfig:        select OF_GPIO
drivers/pinctrl/Kconfig:        select OF_GPIO
drivers/pinctrl/nomadik/Kconfig:        select OF_GPIO
drivers/net/ethernet/freescale/Kconfig: select OF_MDIO
drivers/gpu/drm/tilcdc/Kconfig: select OF_RESOLVE
drivers/gpu/drm/tilcdc/Kconfig: select OF_OVERLAY

There are plenty that depend on OF though:

# grep -r --include=Kconfig "depends on OF" drivers/ | wc -l
159

(I know this won't catch all and a few that it shouldn't ;)

Of course arches/platforms selecting OF is fine and expected:

# grep -r --include=Kconfig "select OF$" arch/ | wc -l
15


Regards
Jonas
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux