0001
0002 #ifndef __BPQETHER_H
0003 #define __BPQETHER_H
0004
0005
0006
0007
0008
0009 #include <linux/if_ether.h>
0010
0011 #define SIOCSBPQETHOPT (SIOCDEVPRIVATE+0)
0012 #define SIOCSBPQETHADDR (SIOCDEVPRIVATE+1)
0013
0014 struct bpq_ethaddr {
0015 unsigned char destination[ETH_ALEN];
0016 unsigned char accept[ETH_ALEN];
0017 };
0018
0019
0020
0021
0022
0023
0024
0025 #define SIOCGBPQETHPARAM 0x5000
0026 #define SIOCSBPQETHPARAM 0x5001
0027
0028 struct bpq_req {
0029 int cmd;
0030 int speed;
0031 int clockmode;
0032 int txdelay;
0033 unsigned char persist;
0034 int slotime;
0035 int squeldelay;
0036 int dmachan;
0037 int irq;
0038 };
0039
0040 #endif