summaryrefslogtreecommitdiff
path: root/link.h
blob: 67ec43351d35f033d08047f4e2b58d9ded90a977 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef LINK_H
#define LINK_H

#include <stdint.h>
#include <sys/socket.h>
#include <linux/ethtool.h>
#include <linux/wireless.h>

#include "built_in.h"

extern int wireless_sigqual(const char *ifname, struct iw_statistics *stats);
extern int wireless_rangemax_sigqual(const char *ifname);
extern u32 wireless_bitrate(const char *ifname);
extern u32 ethtool_bitrate(const char *ifname);
extern int ethtool_drvinf(const char *ifname, struct ethtool_drvinfo *drvinf);
extern int ethtool_link(const char *ifname);

#endif /* LINK_H */
valds <torvalds@linux-foundation.org>2012-09-23 14:50:15 -0700 committerLinus Torvalds <torvalds@linux-foundation.org>2012-09-23 14:50:15 -0700 commit0737c8d7aedfe590010e38c3e3bbdc87affa8c3d (patch) treee3feeb7183c149591dfd89b695baef6bf5218ea9 /drivers parent0bf7a7056c7b39502008feb484b95a5877cdf59d (diff)parent5f0ecb907deb1e6f28071ee3bd568903b9da1be4 (diff)
Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging
Pull hwmon subsystem fixes from Jean Delvare. * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging: hwmon: (fam15h_power) Tweak runavg_range on resume hwmon: (coretemp) Use get_online_cpus to avoid races involving CPU hotplug hwmon: (via-cputemp) Use get_online_cpus to avoid races involving CPU hotplug
Diffstat (limited to 'drivers')