bpqether.h
01: #ifndef __BPQETHER_H
02: #define __BPQETHER_H
03:
04:
05:
06:
07:
08: #ifndef __LINUX_IF_ETHER_H
09: #include <linux/if_ether.h>
10: #endif
11:
12: #define SIOCSBPQETHOPT (SIOCDEVPRIVATE+0)
13: #define SIOCSBPQETHADDR (SIOCDEVPRIVATE+1)
14:
15: struct bpq_ethaddr {
16: unsigned char destination[ETH_ALEN];
17: unsigned char accept[ETH_ALEN];
18: };
19:
20:
21:
22:
23:
24:
25:
26: #define SIOCGBPQETHPARAM 0x5000
27: #define SIOCSBPQETHPARAM 0x5001
28:
29: struct bpq_req {
30: int cmd;
31: int speed;
32: int clockmode;
33: int txdelay;
34: unsigned char persist;
35: int slotime;
36: int squeldelay;
37: int dmachan;
38: int irq;
39: };
40:
41: #endif
42:
© Andrew Scott 2006 -
2025,
All Rights Reserved