Release 4.7 include/linux/of_net.h
/*
* OF helpers for network devices.
*
* This file is released under the GPLv2
*/
#ifndef __LINUX_OF_NET_H
#define __LINUX_OF_NET_H
#ifdef CONFIG_OF_NET
#include <linux/of.h>
struct net_device;
extern int of_get_phy_mode(struct device_node *np);
extern const void *of_get_mac_address(struct device_node *np);
extern struct net_device *of_find_net_device_by_node(struct device_node *np);
#else
static inline int of_get_phy_mode(struct device_node *np)
{
return -ENODEV;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
guenter roeck | guenter roeck | 16 | 100.00% | 1 | 100.00% |
| Total | 16 | 100.00% | 1 | 100.00% |
static inline const void *of_get_mac_address(struct device_node *np)
{
return NULL;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
guenter roeck | guenter roeck | 17 | 100.00% | 1 | 100.00% |
| Total | 17 | 100.00% | 1 | 100.00% |
static inline struct net_device *of_find_net_device_by_node(struct device_node *np)
{
return NULL;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
florian fainelli | florian fainelli | 17 | 100.00% | 1 | 100.00% |
| Total | 17 | 100.00% | 1 | 100.00% |
#endif
#endif /* __LINUX_OF_NET_H */
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
guenter roeck | guenter roeck | 35 | 32.71% | 1 | 25.00% |
florian fainelli | florian fainelli | 32 | 29.91% | 1 | 25.00% |
david daney | david daney | 29 | 27.10% | 1 | 25.00% |
shawn guo | shawn guo | 11 | 10.28% | 1 | 25.00% |
| Total | 107 | 100.00% | 4 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.