mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-04 22:50:39 +02:00
xburst: ben-wpan: add kernel module file. thanks to blogic #qi-hardware @freenode.net
This commit is contained in:
parent
05b58eba39
commit
955fd00bb5
166
package/kernel/modules/wpan.mk
Normal file
166
package/kernel/modules/wpan.mk
Normal file
@ -0,0 +1,166 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2011 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
WPAN_MENU:=WPAN
|
||||||
|
|
||||||
|
define KernelPackage/ieee802154
|
||||||
|
SUBMENU:=$(WPAN_MENU)
|
||||||
|
TITLE:=IEEE802.15.4 support
|
||||||
|
KCONFIG:= \
|
||||||
|
CONFIG_IEEE802154 \
|
||||||
|
CONFIG_IEEE802154_PROTO_DEBUG=y
|
||||||
|
DEPENDS:=+kmod-lib-crc-ccitt
|
||||||
|
FILES:= \
|
||||||
|
$(LINUX_DIR)/net/ieee802154/ieee802154.ko \
|
||||||
|
$(LINUX_DIR)/net/ieee802154/af_802154.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,90,ieee802154 af_802154)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/ieee802154/description
|
||||||
|
IEEE Std 802.15.4 defines a low data rate, low power and low
|
||||||
|
complexity short range wireless personal area networks. It was
|
||||||
|
designed to organise networks of sensors, switches, etc automation
|
||||||
|
devices. Maximum allowed data rate is 250 kb/s and typical personal
|
||||||
|
operating space around 10m.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,ieee802154))
|
||||||
|
|
||||||
|
define KernelPackage/mac802154
|
||||||
|
SUBMENU:=$(WPAN_MENU)
|
||||||
|
TITLE:=MAC802.15.4 support
|
||||||
|
KCONFIG:= \
|
||||||
|
CONFIG_MAC802154 \
|
||||||
|
CONFIG_MAC802154_DEBUG=y \
|
||||||
|
CONFIG_IEEE802154_DRIVERS=y \
|
||||||
|
CONFIG_IEEE802154_DRIVER_DEBUG=y
|
||||||
|
DEPENDS:=+kmod-ieee802154
|
||||||
|
FILES:=$(LINUX_DIR)/net/mac802154/mac802154.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,91,mac802154)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/mac802154/description
|
||||||
|
This option enables the hardware independent IEEE 802.15.4
|
||||||
|
networking stack for SoftMAC devices (the ones implementing
|
||||||
|
only PHY level of IEEE 802.15.4 standard).
|
||||||
|
|
||||||
|
Note: this implementation is neither certified, nor feature
|
||||||
|
complete! We do not guarantee that it is compatible w/ other
|
||||||
|
implementations, etc.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,mac802154))
|
||||||
|
|
||||||
|
define KernelPackage/fakehard
|
||||||
|
SUBMENU:=$(WPAN_MENU)
|
||||||
|
TITLE:=Fake LR-WPAN driver
|
||||||
|
KCONFIG:=CONFIG_IEEE802154_FAKEHARD
|
||||||
|
DEPENDS:=+kmod-ieee802154
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/ieee802154/fakehard.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,92,fakehard)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/fakehard/description
|
||||||
|
Say Y here to enable the fake driver that serves as an example
|
||||||
|
of HardMAC device driver.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,fakehard))
|
||||||
|
|
||||||
|
define KernelPackage/fakelb
|
||||||
|
SUBMENU:=$(WPAN_MENU)
|
||||||
|
TITLE:=Fake LR-WPAN driver
|
||||||
|
KCONFIG:=CONFIG_IEEE802154_FAKELB
|
||||||
|
DEPENDS:=+kmod-mac802154
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/ieee802154/fakelb.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,92,fakelb)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/fakelb/description
|
||||||
|
Say Y here to enable the fake driver that can emulate a net
|
||||||
|
of several interconnected radio devices.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,fakelb))
|
||||||
|
|
||||||
|
define KernelPackage/at86rf230
|
||||||
|
SUBMENU:=$(WPAN_MENU)
|
||||||
|
TITLE:=AT86RF230 transceiver driver
|
||||||
|
KCONFIG:=CONFIG_IEEE802154_AT86RF230 \
|
||||||
|
CONFIG_SPI=y \
|
||||||
|
CONFIG_SPI_MASTER=y
|
||||||
|
DEPENDS:=+kmod-mac802154
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/ieee802154/at86rf230.ko
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,at86rf230))
|
||||||
|
|
||||||
|
define KernelPackage/spi_atusb
|
||||||
|
SUBMENU:=$(WPAN_MENU)
|
||||||
|
TITLE:=ATUSB SPI interface
|
||||||
|
KCONFIG:=CONFIG_SPI_ATUSB
|
||||||
|
DEPENDS:=+kmod-at86rf230 +kmod-usb-core
|
||||||
|
FILES:= \
|
||||||
|
$(LINUX_DIR)/drivers/ieee802154/at86rf230.ko \
|
||||||
|
$(LINUX_DIR)/drivers/ieee802154/spi_atusb.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,93,at86rf230 spi_atusb)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/spi_atusb/description
|
||||||
|
SPI-over-USB driver for the ATUSB IEEE 802.15.4 board.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,spi_atusb))
|
||||||
|
|
||||||
|
define KernelPackage/spi_atben
|
||||||
|
SUBMENU:=$(WPAN_MENU)
|
||||||
|
TITLE:=ATBEN 8:10 SPI interface
|
||||||
|
KCONFIG:=CONFIG_SPI_ATBEN
|
||||||
|
DEPENDS:=+kmod-at86rf230 @TARGET_xburst
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/ieee802154/spi_atben.ko
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/spi_atben/description
|
||||||
|
Bit-banging SPI driver for the 8:10 interface of the Ben NanoNote
|
||||||
|
when equipped with an ATBEN board.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,spi_atben))
|
||||||
|
|
||||||
|
define KernelPackage/wpan-serial
|
||||||
|
SUBMENU:=$(WPAN_MENU)
|
||||||
|
TITLE:=Simple LR-WPAN UART driver
|
||||||
|
KCONFIG:=CONFIG_IEEE802154_SERIAL
|
||||||
|
DEPENDS:=+kmod-ieee802154
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/ieee802154/serial.ko
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,wpan-serial))
|
||||||
|
|
||||||
|
define KernelPackage/cc2420
|
||||||
|
SUBMENU:=$(WPAN_MENU)
|
||||||
|
TITLE:=CC2420 driver
|
||||||
|
KCONFIG:=CONFIG_IEEE802154_CC2420 \
|
||||||
|
CONFIG_SPI=y \
|
||||||
|
CONFIG_SPI_MASTER=y
|
||||||
|
DEPENDS:=+kmod-ieee802154
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/ieee802154/cc2420.ko
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,cc2420))
|
||||||
|
|
||||||
|
define KernelPackage/adf7242
|
||||||
|
SUBMENU:=$(WPAN_MENU)
|
||||||
|
TITLE:=ADF7242 transceiver driver
|
||||||
|
KCONFIG:=CONFIG_IEEE802154_ADF7242 \
|
||||||
|
CONFIG_SPI=y \
|
||||||
|
CONFIG_SPI_MASTER=y
|
||||||
|
DEPENDS:=+kmod-mac802154
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/ieee802154/adf7242.ko
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,adf7242))
|
Loading…
Reference in New Issue
Block a user