/* * EMAC driver for NVCom-02TEM-3U evaluation kit * * Copyright (c) 2020 Elvees (support@elvees.com) * Author: Dmitry Evtushenko * */ #ifndef __ctl_h #define __ctl_h #include #include #include extern void etool_get_drvinfo( struct net_device *pndev, struct ethtool_drvinfo *pinf); extern int etool_get_settings( struct net_device *pndev, struct ethtool_cmd *cmd); extern int etool_set_settings( struct net_device *pndev, struct ethtool_cmd *pcmd); extern void etool_get_ringparam( struct net_device *pndev, struct ethtool_ringparam *pring); extern int etool_set_ringparam( struct net_device *pndev, struct ethtool_ringparam *pring); extern u32 etool_get_msglevel( struct net_device *pndev); extern void etool_set_msglevel( struct net_device *pndev, u32 value); #endif //!__ctl_h