]> 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)
commitbab8ddcc86cad2544f39fdaf69267a32756d398c
treecf65418076d495e3b07bc30292ae6ac1dbf906b0
parent60425b6d8288bd46471c81e80a9279fc05182820
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