#ifndef LINK_H #define LINK_H #include #include #include #include #ifndef SPEED_UNKNOWN #define SPEED_UNKNOWN -1 #endif #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 */ ository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2016-04-20 08:40:14 +0200
committerWolfram Sang <wsa@the-dreams.de>2016-04-22 14:56:40 +0200
commit7fcac980717532a20762e03f0d228bfc58393ed3 (patch)
tree795464bda31bd9a06dd5150e5021c116c941c983
parentab88b97c69ce375ef10c551133d6d19ffd55d763 (diff)
i2c: i2c-mux-pca954x: convert to use an explicit i2c mux core
Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select/deselect ops to be in terms of the i2c mux core instead of the child adapter. Add a mask to handle the case where not all child adapters should cause a mux deselect to happen, now that there is a common deselect op for all child adapters. Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>