1*4de0e8efSDario Binacchi /* SPDX-License-Identifier: GPL-2.0 2*4de0e8efSDario Binacchi * slcan.h - serial line CAN interface driver 3*4de0e8efSDario Binacchi * 4*4de0e8efSDario Binacchi * Copyright (C) Laurence Culhane <loz@holmes.demon.co.uk> 5*4de0e8efSDario Binacchi * Copyright (C) Fred N. van Kempen <waltje@uwalt.nl.mugnet.org> 6*4de0e8efSDario Binacchi * Copyright (C) Oliver Hartkopp <socketcan@hartkopp.net> 7*4de0e8efSDario Binacchi * Copyright (C) 2022 Amarula Solutions, Dario Binacchi <dario.binacchi@amarulasolutions.com> 8*4de0e8efSDario Binacchi * 9*4de0e8efSDario Binacchi */ 10*4de0e8efSDario Binacchi 11*4de0e8efSDario Binacchi #ifndef _SLCAN_H 12*4de0e8efSDario Binacchi #define _SLCAN_H 13*4de0e8efSDario Binacchi 14*4de0e8efSDario Binacchi bool slcan_err_rst_on_open(struct net_device *ndev); 15*4de0e8efSDario Binacchi int slcan_enable_err_rst_on_open(struct net_device *ndev, bool on); 16*4de0e8efSDario Binacchi void slcan_set_ethtool_ops(struct net_device *ndev); 17*4de0e8efSDario Binacchi 18*4de0e8efSDario Binacchi #endif /* _SLCAN_H */ 19