/* * SWIC driver for MCT-04EM-3U evaluation kit * * Copyright (c) 2020 Elvees (support@elvees.com) * Author: Dmitry Evtushenko * */ #ifndef __ctl_h #define __ctl_h #include #include #include "swic.h" extern int swic_set_tx_speed( unsigned port, unsigned speed); extern void swic_reset_tx_rx( swic_ctrl_t *pctl); extern int set_configure_mode( swic_ctrl_t *pctl); extern long drv_swic_ioctl( struct file *file, unsigned int cmd, unsigned long arg); #endif //!__ctl_h