Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.17-rc4 27 lines 1.1 kB view raw
1/* This program is free software; you can redistribute it and/or modify 2 * it under the terms of the GNU General Public License as published by 3 * the Free Software Foundation; version 2 of the License 4 * 5 * This program is distributed in the hope that it will be useful, 6 * but WITHOUT ANY WARRANTY; without even the implied warranty of 7 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 8 * GNU General Public License for more details. 9 * 10 * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org> 11 * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org> 12 * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com> 13 */ 14 15#ifndef _RALINK_MDIO_H__ 16#define _RALINK_MDIO_H__ 17 18#ifdef CONFIG_NET_MEDIATEK_MDIO 19int mtk_mdio_init(struct mtk_eth *eth); 20void mtk_mdio_cleanup(struct mtk_eth *eth); 21int mtk_connect_phy_node(struct mtk_eth *eth, struct mtk_mac *mac, 22 struct device_node *phy_node); 23#else 24static inline int mtk_mdio_init(struct mtk_eth *eth) { return 0; } 25static inline void mtk_mdio_cleanup(struct mtk_eth *eth) {} 26#endif 27#endif