Selaa lähdekoodia

uwb: add the UWB stack (build system)

The Kbuild and Kconfig files.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Greg Kroah-Hartman 16 vuotta sitten
vanhempi
commit
2f86c3e67d
7 muutettua tiedostoa jossa 57 lisäystä ja 0 poistoa
  1. 2 0
      arch/arm/Kconfig
  2. 2 0
      arch/cris/Kconfig
  3. 2 0
      arch/h8300/Kconfig
  4. 2 0
      drivers/Kconfig
  5. 1 0
      drivers/Makefile
  6. 28 0
      drivers/uwb/Kconfig
  7. 20 0
      drivers/uwb/Makefile

+ 2 - 0
arch/arm/Kconfig

@@ -1220,6 +1220,8 @@ source "drivers/hid/Kconfig"
 
 
 source "drivers/usb/Kconfig"
 source "drivers/usb/Kconfig"
 
 
+source "drivers/uwb/Kconfig"
+
 source "drivers/mmc/Kconfig"
 source "drivers/mmc/Kconfig"
 
 
 source "drivers/leds/Kconfig"
 source "drivers/leds/Kconfig"

+ 2 - 0
arch/cris/Kconfig

@@ -677,6 +677,8 @@ source "fs/Kconfig"
 
 
 source "drivers/usb/Kconfig"
 source "drivers/usb/Kconfig"
 
 
+source "drivers/uwb/Kconfig"
+
 source "arch/cris/Kconfig.debug"
 source "arch/cris/Kconfig.debug"
 
 
 source "security/Kconfig"
 source "security/Kconfig"

+ 2 - 0
arch/h8300/Kconfig

@@ -213,6 +213,8 @@ source "drivers/hwmon/Kconfig"
 
 
 source "drivers/usb/Kconfig"
 source "drivers/usb/Kconfig"
 
 
+source "drivers/uwb/Kconfig"
+
 endmenu
 endmenu
 
 
 source "fs/Kconfig"
 source "fs/Kconfig"

+ 2 - 0
drivers/Kconfig

@@ -78,6 +78,8 @@ source "drivers/hid/Kconfig"
 
 
 source "drivers/usb/Kconfig"
 source "drivers/usb/Kconfig"
 
 
+source "drivers/uwb/Kconfig"
+
 source "drivers/mmc/Kconfig"
 source "drivers/mmc/Kconfig"
 
 
 source "drivers/memstick/Kconfig"
 source "drivers/memstick/Kconfig"

+ 1 - 0
drivers/Makefile

@@ -99,3 +99,4 @@ obj-$(CONFIG_OF)		+= of/
 obj-$(CONFIG_SSB)		+= ssb/
 obj-$(CONFIG_SSB)		+= ssb/
 obj-$(CONFIG_VIRTIO)		+= virtio/
 obj-$(CONFIG_VIRTIO)		+= virtio/
 obj-$(CONFIG_REGULATOR)		+= regulator/
 obj-$(CONFIG_REGULATOR)		+= regulator/
+obj-$(CONFIG_UWB)		+= uwb/

+ 28 - 0
drivers/uwb/Kconfig

@@ -0,0 +1,28 @@
+#
+# UWB device configuration
+#
+
+menuconfig UWB
+	tristate "Ultra Wide Band devices"
+	depends on PCI
+	default n
+	help
+	  UWB is a high-bandwidth, low-power, point-to-point radio
+	  technology using a wide spectrum (3.1-10.6GHz). It is
+	  optimized for in-room use (480Mbps at 2 meters, 110Mbps at
+	  10m). It serves as the transport layer for other protocols,
+	  such as Wireless USB (WUSB), IP (WLP) and upcoming
+	  Bluetooth and 1394
+
+	  The topology is peer to peer; however, higher level
+	  protocols (such as WUSB) might impose a master/slave
+	  relationship.
+
+	  Say Y here if your computer has UWB radio controllers (USB or PCI)
+	  based. You will need to enable the radio controllers
+	  below.  It is ok to select all of them, no harm done.
+
+	  For more help check the UWB and WUSB related files in
+	  <file:Documentation/usb/>.
+
+	  To compile the UWB stack as a module, choose M here.

+ 20 - 0
drivers/uwb/Makefile

@@ -0,0 +1,20 @@
+obj-$(CONFIG_UWB)		+= uwb.o
+
+uwb-objs :=		\
+	address.o	\
+	beacon.o	\
+	driver.o	\
+	drp.o		\
+	drp-avail.o	\
+	drp-ie.o	\
+	est.o		\
+	ie.o		\
+	lc-dev.o	\
+	lc-rc.o		\
+	neh.o		\
+	pal.o		\
+	reset.o		\
+	rsv.o		\
+	scan.o		\
+	uwb-debug.o	\
+	uwbd.o