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

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

#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 */
mode:
authorDave Airlie <airlied@redhat.com>2016-06-24 13:16:07 +1000
committerDave Airlie <airlied@redhat.com>2016-06-24 13:16:07 +1000
commit2a3467063ae3b17264578626dec2377dd48cd1c3 (patch)
treed46a5f90b8ae054d576fee132ee7027e6a04ae93 /Documentation/.gitignore
parent6559436d4a45fd42a0f40b8c3a963dd5be585b35 (diff)
parent9a449e0de0d708bae7af7f897c1a67848f91c455 (diff)
Merge tag 'mediatek-drm-2016-06-20' of git://git.pengutronix.de/git/pza/linux into drm-next
MT8173 HDMI support - device tree binding documentation for MT8173 HDMI encoder, CEC, DDC, and PHY - drivers for MT8173 HDMI encoder, CEC (HPD only for now), DDC, and PHY - enable HDMI output via a custom SMCCC call - add ddc-i2c-bus property to HDMI connector device tree binding * tag 'mediatek-drm-2016-06-20' of git://git.pengutronix.de/git/pza/linux: dt-bindings: hdmi-connector: add DDC I2C bus phandle documentation drm/mediatek: enable hdmi output control bit drm/mediatek: Add HDMI support dt-bindings: drm/mediatek: Add Mediatek HDMI dts binding
Diffstat (limited to 'Documentation/.gitignore')