Xenomai
3.3.2
Loading...
Searching...
No Matches
rtcan_ethtool.h
1
#ifndef __RTCAN_ETHTOOL_H_
2
#define __RTCAN_ETHTOOL_H_
3
4
#ifdef __KERNEL__
5
6
#include <linux/ethtool.h>
7
8
struct
rtcan_device;
9
10
struct
rtcan_ethtool_ops {
11
int (*begin)(
struct
rtcan_device *dev);
12
int (*complete)(
struct
rtcan_device *dev);
13
void (*get_drvinfo)(
struct
rtcan_device *dev,
14
struct
ethtool_drvinfo *info);
15
void (*get_ringparam)(
struct
rtcan_device *dev,
16
struct
ethtool_ringparam *ring);
17
};
18
19
int
rtcan_ethtool(
struct
rtdm_fd *fd,
struct
rtcan_device *dev,
20
struct
ifreq *ifr);
21
22
#endif
/* __KERNEL__ */
23
24
#endif
/* __RTCAN_ETHTOOL_H_ */
kernel
drivers
can
rtcan_ethtool.h
Generated by
1.9.8