diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-17 00:36:25 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-17 00:36:25 +0000 |
commit | 018d69c3b3421ff86be0004a25943068cd54aace (patch) | |
tree | 25f3ffdfbd017853efe69fecf8793dca16212075 /package/iwinfo/src/include | |
parent | e17a3ffbbde8622189a4514f864f8241fb1ed485 (diff) | |
download | upstream-018d69c3b3421ff86be0004a25943068cd54aace.tar.gz upstream-018d69c3b3421ff86be0004a25943068cd54aace.tar.bz2 upstream-018d69c3b3421ff86be0004a25943068cd54aace.zip |
iwinfo: implement proper hardware detection for ar23xx SoC devices like the NanoStation 2
SVN-Revision: 30605
Diffstat (limited to 'package/iwinfo/src/include')
-rw-r--r-- | package/iwinfo/src/include/iwinfo.h | 1 | ||||
-rw-r--r-- | package/iwinfo/src/include/iwinfo/utils.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/package/iwinfo/src/include/iwinfo.h b/package/iwinfo/src/include/iwinfo.h index 198d57c9d2..40b85a0492 100644 --- a/package/iwinfo/src/include/iwinfo.h +++ b/package/iwinfo/src/include/iwinfo.h @@ -15,6 +15,7 @@ #include <stdint.h> #include <sys/ioctl.h> +#include <sys/mman.h> #include <net/if.h> #include <errno.h> diff --git a/package/iwinfo/src/include/iwinfo/utils.h b/package/iwinfo/src/include/iwinfo/utils.h index e897b2718a..10246a8e3c 100644 --- a/package/iwinfo/src/include/iwinfo/utils.h +++ b/package/iwinfo/src/include/iwinfo/utils.h @@ -39,4 +39,6 @@ void iwinfo_close(void); struct iwinfo_hardware_entry * iwinfo_hardware(struct iwinfo_hardware_id *id); +int iwinfo_hardware_id_from_mtd(struct iwinfo_hardware_id *id); + #endif |