| /* |
| * drivers/amlogic/ethernet/phy/phy_debug.h |
| * |
| * Copyright (C) 2017 Amlogic, Inc. All rights reserved. |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License as published by |
| * the Free Software Foundation; either version 2 of the License, or |
| * (at your option) any later version. |
| * |
| * This program is distributed in the hope that it will be useful, but WITHOUT |
| * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| * more details. |
| * |
| */ |
| |
| #ifndef _STMMAC_MESON_PHY_DEBUG_H |
| #define _STMMAC_MESON_PHY_DEBUG_H |
| |
| #include <linux/kernel.h> |
| #include <linux/interrupt.h> |
| #include <linux/ip.h> |
| #include <linux/tcp.h> |
| #include <linux/skbuff.h> |
| #include <linux/ethtool.h> |
| #include <linux/if_ether.h> |
| #include <linux/crc32.h> |
| #include <linux/mii.h> |
| #include <linux/if.h> |
| #include <linux/if_vlan.h> |
| #include <linux/dma-mapping.h> |
| #include <linux/slab.h> |
| #include <linux/prefetch.h> |
| #include <linux/pinctrl/consumer.h> |
| #include <linux/net_tstamp.h> |
| |
| #include "eth_reg.h" |
| /*add this to stop checking wol,which will reset phy*/ |
| extern unsigned int enable_wol_check; |
| int gmac_create_sysfs(struct phy_device *phydev, void __iomem *ioaddr); |
| int gmac_remove_sysfs(struct phy_device *phydev); |
| #endif |