Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Texas Instruments Ethernet Switch Driver
0004  */
0005 
0006 #ifndef DRIVERS_NET_ETHERNET_TI_CPSW_SWITCHDEV_H_
0007 #define DRIVERS_NET_ETHERNET_TI_CPSW_SWITCHDEV_H_
0008 
0009 #include <net/switchdev.h>
0010 
0011 bool cpsw_port_dev_check(const struct net_device *dev);
0012 int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw);
0013 void cpsw_switchdev_unregister_notifiers(struct cpsw_common *cpsw);
0014 
0015 #endif /* DRIVERS_NET_ETHERNET_TI_CPSW_SWITCHDEV_H_ */