]> git.baikalelectronics.ru Git - kernel.git/commit
cnic : Cleanup CONFIG_IPV6 & VLAN check
authorAnish Bhatt <anish@chelsio.com>
Fri, 5 Sep 2014 00:12:57 +0000 (17:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Sep 2014 03:47:14 +0000 (20:47 -0700)
commit3b006f19002891938e5d50e093444b5be79dd8d1
treefc8bac3518d0bbadaf8c5373f1d0432d2a3c87fe
parentdc8d030e85968cf29a2089cd4e771b64b225b213
cnic : Cleanup CONFIG_IPV6 & VLAN check

The cnic module needs to ensure that if ipv6 support is compiled as a module,
then the cnic module cannot be compiled as built-in as it depends on ipv6.
Made this check cleaner via Kconfig

Use simpler IS_ENABLED for CONFIG_VLAN_8021Q check

Signed-off-by: Anish Bhatt <anish@chelsio.com>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/Kconfig
drivers/net/ethernet/broadcom/cnic.c