OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [include/] [linux/] [bpqether.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
#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
 
15
struct 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
 
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 */
39
};
40
 
41
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.