diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-17 00:36:25 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-17 00:36:25 +0000 |
commit | e01799a285e34c65d41ac315dd29544fc40acf19 (patch) | |
tree | a247c0e9b27457a948071fc9a6cb9ca99a6cd672 /package/iwinfo/src/include | |
parent | c2da468a0c461a602b5ff66b857e548a8254be8e (diff) |
[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 198d57c9d..40b85a049 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 e897b2718..10246a8e3 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 |