summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/microchip/lan966x/Kconfig
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2021-12-02 09:15:11 +0100
committerDavid S. Miller <davem@davemloft.net>2021-12-02 12:24:08 +0000
commitcc9cf69eea4847c8d6db6114b0e094fb51736c33 (patch)
treee3b93e332dc58b0c07465f67e88e339e20d8756f /drivers/net/ethernet/microchip/lan966x/Kconfig
parenta72d45e646547d4ec59ee16f122c2764eb36bf05 (diff)
downloadlinux-cc9cf69eea4847c8d6db6114b0e094fb51736c33.tar.bz2
net: lan966x: Fix builds for lan966x driver
The lan966x is using the function 'packing' to create/extract the information for the IFH, that is used to be added in front of the frames when they are injected/extracted. Therefore update the Kconfig to select config option 'PACKING' whenever lan966x driver is enabled. Fixes: db8bcaad539314 ("net: lan966x: add the basic lan966x driver") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/microchip/lan966x/Kconfig')
-rw-r--r--drivers/net/ethernet/microchip/lan966x/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/microchip/lan966x/Kconfig b/drivers/net/ethernet/microchip/lan966x/Kconfig
index 83ac4266b417..2860a8c9923d 100644
--- a/drivers/net/ethernet/microchip/lan966x/Kconfig
+++ b/drivers/net/ethernet/microchip/lan966x/Kconfig
@@ -3,5 +3,6 @@ config LAN966X_SWITCH
depends on HAS_IOMEM
depends on OF
select PHYLINK
+ select PACKING
help
This driver supports the Lan966x network switch device.