Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / bpqether.h
bloba6c35e1a89ad9297b69c048200328b8ec6490fa1
1 #ifndef __BPQETHER_H
2 #define __BPQETHER_H
4 /*
5 * Defines for the BPQETHER pseudo device driver
6 */
8 #ifndef __LINUX_IF_ETHER_H
9 #include <linux/if_ether.h>
10 #endif
12 #define SIOCSBPQETHOPT (SIOCDEVPRIVATE+0) /* reserved */
13 #define SIOCSBPQETHADDR (SIOCDEVPRIVATE+1)
15 struct bpq_ethaddr {
16 unsigned char destination[ETH_ALEN];
17 unsigned char accept[ETH_ALEN];
20 /*
21 * For SIOCSBPQETHOPT - this is compatible with PI2/PacketTwin card drivers,
22 * currently not implemented, though. If someone wants to hook a radio
23 * to his Ethernet card he may find this useful. ;-)
26 #define SIOCGBPQETHPARAM 0x5000 /* get Level 1 parameters */
27 #define SIOCSBPQETHPARAM 0x5001 /* set */
29 struct bpq_req {
30 int cmd;
31 int speed; /* unused */
32 int clockmode; /* unused */
33 int txdelay;
34 unsigned char persist; /* unused */
35 int slotime; /* unused */
36 int squeldelay;
37 int dmachan; /* unused */
38 int irq; /* unused */
41 #endif