14de0e8efSDario Binacchi /* SPDX-License-Identifier: GPL-2.0 24de0e8efSDario Binacchi * slcan.h - serial line CAN interface driver 34de0e8efSDario Binacchi * 44de0e8efSDario Binacchi * Copyright (C) Laurence Culhane <loz@holmes.demon.co.uk> 54de0e8efSDario Binacchi * Copyright (C) Fred N. van Kempen <waltje@uwalt.nl.mugnet.org> 64de0e8efSDario Binacchi * Copyright (C) Oliver Hartkopp <socketcan@hartkopp.net> 74de0e8efSDario Binacchi * Copyright (C) 2022 Amarula Solutions, Dario Binacchi <dario.binacchi@amarulasolutions.com> 84de0e8efSDario Binacchi * 94de0e8efSDario Binacchi */ 104de0e8efSDario Binacchi 114de0e8efSDario Binacchi #ifndef _SLCAN_H 124de0e8efSDario Binacchi #define _SLCAN_H 134de0e8efSDario Binacchi 144de0e8efSDario Binacchi bool slcan_err_rst_on_open(struct net_device *ndev); 154de0e8efSDario Binacchi int slcan_enable_err_rst_on_open(struct net_device *ndev, bool on); 16*1851532fSVincent Mailhol 17*1851532fSVincent Mailhol extern const struct ethtool_ops slcan_ethtool_ops; 184de0e8efSDario Binacchi 194de0e8efSDario Binacchi #endif /* _SLCAN_H */ 20