1 /* SPDX-License-Identifier: GPL-2.0 2 * slcan.h - serial line CAN interface driver 3 * 4 * Copyright (C) Laurence Culhane <[email protected]> 5 * Copyright (C) Fred N. van Kempen <[email protected]> 6 * Copyright (C) Oliver Hartkopp <[email protected]> 7 * Copyright (C) 2022 Amarula Solutions, Dario Binacchi <[email protected]> 8 * 9 */ 10 11 #ifndef _SLCAN_H 12 #define _SLCAN_H 13 14 bool slcan_err_rst_on_open(struct net_device *ndev); 15 int slcan_enable_err_rst_on_open(struct net_device *ndev, bool on); 16 17 extern const struct ethtool_ops slcan_ethtool_ops; 18 19 #endif /* _SLCAN_H */ 20