Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /* Copyright 2011-2014 Autronica Fire and Security AS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  * Author(s):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  *	2011-2014 Arvid Brodin, arvid.brodin@alten.se
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  * include file for HSR and PRP.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #ifndef __HSR_DEVICE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define __HSR_DEVICE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #include <linux/netdevice.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #include "hsr_main.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) void hsr_del_ports(struct hsr_priv *hsr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) void hsr_dev_setup(struct net_device *dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2],
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 		     unsigned char multicast_spec, u8 protocol_version,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 		     struct netlink_ext_ack *extack);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) void hsr_check_carrier_and_operstate(struct hsr_priv *hsr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) bool is_hsr_master(struct net_device *dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) int hsr_get_max_mtu(struct hsr_priv *hsr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #endif /* __HSR_DEVICE_H */