18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* Copyright (c) 2019-2020 Marvell International Ltd. All rights reserved. */ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci#ifndef _PRESTERA_SWITCHDEV_H_ 58c2ecf20Sopenharmony_ci#define _PRESTERA_SWITCHDEV_H_ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciint prestera_switchdev_init(struct prestera_switch *sw); 88c2ecf20Sopenharmony_civoid prestera_switchdev_fini(struct prestera_switch *sw); 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciint prestera_bridge_port_event(struct net_device *dev, unsigned long event, 118c2ecf20Sopenharmony_ci void *ptr); 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#endif /* _PRESTERA_SWITCHDEV_H_ */ 14