summaryrefslogtreecommitdiff
path: root/oui.h
blob: 564e4a1e5c77e750839ed028660b40452a40c7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef OUI_H
#define OUI_H

extern const char *lookup_vendor(unsigned int id);
extern void dissector_init_oui(void);
extern void dissector_cleanup_oui(void);

static inline const char *lookup_vendor_str(unsigned int id)
{
	return lookup_vendor(id) ? : "Unknown";
}

#endif /* OUI_H */
lue='1'>ssdiff
authorPhilippe Reynes <tremyfr@gmail.com>2016-07-30 17:42:12 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-08 15:42:21 -0700
commit013ad40d3709c12fbe2edf961a7109480a2f550a (patch)
tree254dd1bf1026d52865d0b5a62bafbea7f79ca858
parentc6c022e3602a8165ead71d60ac7ac22e07c81d37 (diff)
net: ethernet: marvell: mvneta: use new api ethtool_{get|set}_link_ksettings
The ethtool api {get|set}_settings is deprecated. We move the mvneta driver to new api {get|set}_link_ksettings. We use the generic function phy_ethtool_get_link_ksettings, and update old mvneta_ethtool_set_settings to the new api. Signed-off-by: Philippe Reynes <tremyfr@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat