Re: [PATCH] pci: add kernel config option for disabling common PCI quirks

Lukas Wunner
2016-12-21T10:19:07Z

On Wed, Dec 21, 2016 at 08:53:04AM +0100, John Crispin wrote:
> From: Gabor Juhos <juhosg@openwrt.org>
>
> These quirks do not effect small small plastic routers. These routers tend
> to have very little flash space. This patch adds a new option that allows
> us to build a kernel without including the common quirks, thus saving us
> valuable flash space.
>
> When building an image for a MIPS/Ralink router with this option enabled
> it will reduce the size of an uncompressed uImage by 12KB.

There's already a PCI_QUIRKS config option defined in init/Kconfig,
why isn't this sufficient? Do you want *some* quirks but not others?

Thanks,

Lukas