source: svn/trunk/newcon3bcm2_21bu/toolchain/mips-linux-uclibc/include/linux/bpqether.h

Last change on this file was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 952 bytes
RevLine 
[2]1#ifndef __BPQETHER_H
2#define __BPQETHER_H
3
4/*
5 *      Defines for the BPQETHER pseudo device driver
6 */
7
8#ifndef __LINUX_IF_ETHER_H
9#include <linux/if_ether.h>
10#endif
11
12#define SIOCSBPQETHOPT          (SIOCDEVPRIVATE+0)      /* reserved */
13#define SIOCSBPQETHADDR         (SIOCDEVPRIVATE+1)
14 
15struct bpq_ethaddr {
16        unsigned char destination[ETH_ALEN];
17        unsigned char accept[ETH_ALEN];
18};
19
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. ;-)
24 */
25
26#define SIOCGBPQETHPARAM        0x5000  /* get Level 1 parameters */
27#define SIOCSBPQETHPARAM        0x5001  /* set */
28
29struct 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 */
39};
40
41#endif
Note: See TracBrowser for help on using the repository browser.