xref: /openbmc/linux/drivers/net/can/slcan/slcan.h (revision 9221b289)
1 /* SPDX-License-Identifier: GPL-2.0
2  * slcan.h - serial line CAN interface driver
3  *
4  * Copyright (C) Laurence Culhane <loz@holmes.demon.co.uk>
5  * Copyright (C) Fred N. van Kempen <waltje@uwalt.nl.mugnet.org>
6  * Copyright (C) Oliver Hartkopp <socketcan@hartkopp.net>
7  * Copyright (C) 2022 Amarula Solutions, Dario Binacchi <dario.binacchi@amarulasolutions.com>
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