repo.or.cz
/
linux-2.6.9-moxart.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git]
/
drivers
/
usb
/
net
/
Zydas
/
common.h
blob
94dda96dfb602895b232bfd2faa2c098badd2d37
1
#ifndef ZD_COMMON_H
2
#define ZD_COMMON_H
3
4
#include <linux/if.h>
5
6
struct
zd_point
7
{
8
caddr_t pointer
;
9
__u16 length
;
10
};
11
12
struct
zdreq
13
{
14
union
15
{
16
char
ifrn_name
[
IFNAMSIZ
];
17
}
ifr_ifrn
;
18
19
union
20
{
21
struct
zd_point data
;
22
}
u
;
23
};
24
25
typedef
struct
oid_wrap
26
{
27
u16 request
;
28
u16 seq
;
29
30
union
31
{
32
struct
33
{
34
u16 status
;
35
}
dev
;
36
37
struct
38
{
39
u32 oid
;
40
u32 status
;
41
u32 length
;
42
u8 data
[
512
];
43
}
info
;
44
}
u
;
45
46
}
oid_wrap_t
;
47
48
#define ZD_GENERIC_OID_HDR_LEN \
49
((int) (&((struct oid_wrap *) 0)->u.info.data))
50
51
#endif