]> rtime.felk.cvut.cz Git - socketcan-devel.git/blob - kernel/2.6/drivers/net/can/sysfs.h
candev: allow SJW user setting for bittiming calculation
[socketcan-devel.git] / kernel / 2.6 / drivers / net / can / sysfs.h
1 /*
2  * $Id: dev.c 542 2007-11-07 13:57:16Z thuermann $
3  *
4  * Copyright (C) 2007 Wolfgang Grandegger <wg@grandegger.com>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the version 2 of the GNU General Public License
8  * as published by the Free Software Foundation
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  */
19
20 #ifndef CAN_SYSFS_H
21 #define CAN_SYSFS_H
22
23 void can_create_sysfs(struct net_device *dev);
24 void can_remove_sysfs(struct net_device *dev);
25 int can_sample_point(struct can_bittiming *bt);
26
27 #endif /* CAN_SYSFS_H */