6lowpan: Allow 6LoWPAN to be modular
Subsystems (5)
PATCH 1/1 6lowpan: Allow 6LoWPAN to be modular
Change config symbol 6LOWPAN from type bool to type tristate, so 6LoWPAN can be built modular, just like IPV6
--- net/6lowpan/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/6lowpan/Kconfig +1 -1
@@ -1,5 +1,5 @@ config 6LOWPAN - bool "6LoWPAN Support" + tristate "6LoWPAN Support" depends on IPV6 ---help--- This enables IPv6 over Low power Wireless Personal Area Network -
Signature · 1 line
1.9.1
Marcel Holtmann
maintainerHi Geert,
Quoted 14 lines
Change config symbol 6LOWPAN from type bool to type tristate, so 6LoWPAN can be built modular, just like IPV6
Signed-off-by Geert Uytterhoeven <[email protected]>---
net/6lowpan/Kconfig| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)net/6lowpan/Kconfig +0
-0@@ -1,5 +1,5 @@config 6LOWPAN
net/6lowpan/Kconfig line 2
Quoted 2 lines
net/6lowpan/Kconfig +1
-1- bool "6LoWPAN Support" + tristate "6LoWPAN Support"
is this a regression from the previous CONFIG_6LOWPAN separation that we introduced? If it is, then it might be easiest if Dave just takes it into his net tree. Otherwise I take it through bluetooth-next.
Regards
Marcel
Hi Marcel,
Quoted 8 lines · Marcel Holtmann
Quoted 8 lines
Change config symbol 6LOWPAN from type bool to type tristate, so 6LoWPAN can be built modular, just like IPV6
Signed-off-by Geert Uytterhoeven <[email protected]>---
net/6lowpan/Kconfig| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 10 lines
net/6lowpan/Kconfig line 2
Quoted 8 lines
net/6lowpan/Kconfig +0
-0@@ -1,5 +1,5 @@config 6LOWPAN
net/6lowpan/Kconfig +1
-1- bool "6LoWPAN Support" + tristate "6LoWPAN Support"is this a regression from the previous
CONFIG_6LOWPANseparation that we introduced? If it is, then it might be easiest if Dave just takes it into his net tree. Otherwise I take it through bluetooth-next.
I hadn't thought about that... Checking...
Yes, I believe this is a regression.
In v3.16, my allmodconfig build had:
CONFIG_IEEE802154_6LOWPAN=mCONFIG_6LOWPAN_IPHC=mCONFIG_BT_6LOWPAN=y
Without my patch it has:
CONFIG_6LOWPAN=yCONFIG_IEEE802154_6LOWPAN=mCONFIG_BT_6LOWPAN=m
and iphc is what's in net/6lowpan/built-in.o now.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Hi Geert,
Quoted 29 lines
Quoted 8 lines
Quoted 8 lines
Change config symbol 6LOWPAN from type bool to type tristate, so 6LoWPAN can be built modular, just like IPV6
Signed-off-by Geert Uytterhoeven <[email protected]>---
net/6lowpan/Kconfig| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)Quoted 10 lines
net/6lowpan/Kconfig line 2
Quoted 8 lines
net/6lowpan/Kconfig +0
-0@@ -1,5 +1,5 @@config 6LOWPAN
net/6lowpan/Kconfig +1
-1- bool "6LoWPAN Support" + tristate "6LoWPAN Support"is this a regression from the previous
CONFIG_6LOWPANseparation that we introduced? If it is, then it might be easiest if Dave just takes it into his net tree. Otherwise I take it through bluetooth-next.I hadn't thought about that... Checking...
Yes, I believe this is a regression.
In v3.16, my allmodconfig build had:
CONFIG_IEEE802154_6LOWPAN=mCONFIG_6LOWPAN_IPHC=mCONFIG_BT_6LOWPAN=y
Quoted 7 lines
Without my patch it has:
CONFIG_6LOWPAN=yCONFIG_IEEE802154_6LOWPAN=mCONFIG_BT_6LOWPAN=mand iphc is what's in
net/6lowpan/built-in.onow.
Dave, I am fine if you just queue this up for 3.17-rc1.
Regards
Marcel
Quoted 3 lines · Geert Uytterhoeven
Change config symbol 6LOWPAN from type bool to type tristate, so 6LoWPAN can be built modular, just like IPV6
From: Geert Uytterhoeven <[email protected]>
Date: Thu, 7 Aug 2014 17:06:43 +0200
Quoted 4 lines
Change config symbol 6LOWPAN from type bool to type tristate, so 6LoWPAN can be built modular, just like IPV6
Signed-off-by Geert Uytterhoeven <[email protected]>
Applied, thanks.