]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/of_net.h
ipconfig: add informative timeout messages while waiting for carrier
[mirror_ubuntu-bionic-kernel.git] / include / linux / of_net.h
CommitLineData
4b6ba8aa
DD
1/*
2 * OF helpers for network devices.
3 *
4 * This file is released under the GPLv2
5 */
6
7#ifndef __LINUX_OF_NET_H
8#define __LINUX_OF_NET_H
9
10#ifdef CONFIG_OF_NET
11#include <linux/of.h>
6ca1a113 12extern const int of_get_phy_mode(struct device_node *np);
4b6ba8aa
DD
13extern const void *of_get_mac_address(struct device_node *np);
14#endif
15
16#endif /* __LINUX_OF_NET_H */