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 | 6892cb58082d987dc2f653d6dac7978d8bda74b4 (patch) | |
tree | a247c0e9b27457a948071fc9a6cb9ca99a6cd672 /package/iwinfo/src/include | |
parent | 60c571814b54ca0de1fb87f12b89e31fdd81e4e8 (diff) | |
download | upstream-6892cb58082d987dc2f653d6dac7978d8bda74b4.tar.gz upstream-6892cb58082d987dc2f653d6dac7978d8bda74b4.tar.bz2 upstream-6892cb58082d987dc2f653d6dac7978d8bda74b4.zip |
[package] iwinfo: implement proper hardware detection for ar23xx SoC devices like the NanoStation 2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30605 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 |