mac802154: allocation of ieee802154 device
authoralex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com>
Tue, 15 May 2012 20:50:20 +0000 (20:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2012 19:16:35 +0000 (15:16 -0400)
commit1010f540181b00c7013eeb04d1bf8aedd5a56835
treed339760efacbff5cec1446e463a0699b5636d30c
parent0afd7ad9de6b85c0f7ad9edf787de854c8e2fbb5
mac802154: allocation of ieee802154 device

An interface to allocate and register ieee802154 compatible device.
The allocated device has the following representation in memory:

+-----------------------+
| struct wpan_phy       |
+-----------------------+
| struct mac802154_priv |
+-----------------------+
| driver's private data |
+-----------------------+

Used by device drivers to register new instance in the stack.

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/mac802154.h
net/Kconfig
net/Makefile
net/mac802154/Kconfig [new file with mode: 0644]
net/mac802154/Makefile [new file with mode: 0644]
net/mac802154/ieee802154_dev.c [new file with mode: 0644]
net/mac802154/mac802154.h [new file with mode: 0644]