]> git.baikalelectronics.ru Git - kernel.git/commit
dsa: Allow tag drivers to be built as modules
authorAndrew Lunn <andrew@lunn.ch>
Sun, 28 Apr 2019 17:37:23 +0000 (19:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Apr 2019 23:41:01 +0000 (19:41 -0400)
commit39e65cc328ead69206e021326270ecad072c95e1
treecf65418076d495e3b07bc30292ae6ac1dbf906b0
parent7b86c8443be2ee3458a436834864ed832ef7c382
dsa: Allow tag drivers to be built as modules

Make the CONFIG symbols tristate and add help text.

The broadcom and Microchip KSZ tag drivers support two different
tagging protocols in one driver. Add a configuration option for the
drivers, and then options to select the protocol.

Create a submenu for the tagging drivers.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
v2:
tab/space cleanup
Help text wording
NET_DSA_TAG_BRCM_COMMON and NET_DSA_TAG_KZS_COMMON hidden

v3:
More tabification
Punctuation

v4:
trailler->trailer

Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/Kconfig
net/dsa/Makefile