Skip to content

Commit

Permalink
ieee802154: create 6lowpan sub-directory
Browse files Browse the repository at this point in the history
This patch creates an 6lowpan sub-directory inside ieee802154.
Additional we move all ieee802154 6lowpan relevant files into
this sub-directory instead of placing the 6lowpan related files
inside ieee802154.

Signed-off-by: Alexander Aring <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
  • Loading branch information
alexaring authored and holtmann committed Jan 8, 2015
1 parent a9cc32d commit ea81ac2
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
File renamed without changes.
5 changes: 5 additions & 0 deletions net/ieee802154/6lowpan/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
config IEEE802154_6LOWPAN
tristate "6lowpan support over IEEE 802.15.4"
depends on 6LOWPAN
---help---
IPv6 compression over IEEE 802.15.4.
3 changes: 3 additions & 0 deletions net/ieee802154/6lowpan/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
obj-y += ieee802154_6lowpan.o

ieee802154_6lowpan-y := 6lowpan_rtnl.o reassembly.o
File renamed without changes.
File renamed without changes.
6 changes: 1 addition & 5 deletions net/ieee802154/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ config IEEE802154_SOCKET
for 802.15.4 dataframes. Also RAW socket interface to build MAC
header from userspace.

config IEEE802154_6LOWPAN
tristate "6lowpan support over IEEE 802.15.4"
depends on 6LOWPAN
---help---
IPv6 compression over IEEE 802.15.4.
source "net/ieee802154/6lowpan/Kconfig"

endif
3 changes: 1 addition & 2 deletions net/ieee802154/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
obj-$(CONFIG_IEEE802154) += ieee802154.o
obj-$(CONFIG_IEEE802154_SOCKET) += ieee802154_socket.o
obj-$(CONFIG_IEEE802154_6LOWPAN) += ieee802154_6lowpan.o
obj-$(CONFIG_IEEE802154_6LOWPAN) += 6lowpan/

ieee802154_6lowpan-y := 6lowpan_rtnl.o reassembly.o
ieee802154-y := netlink.o nl-mac.o nl-phy.o nl_policy.o core.o \
header_ops.o sysfs.o nl802154.o
ieee802154_socket-y := socket.o
Expand Down

0 comments on commit ea81ac2

Please sign in to comment.