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
/
zdmisc.c
blob
9d60d35772abfaffa2955c439b46dc02ab3293a9
1
#include
"zdtypes.h"
2
#include
"zdos.h"
3
U16
zd_get_LE_U16
(
U8
*
p
)
4
{
5
if
(
p
==
NULL
)
6
{
7
printk
(
"In %s, *p is NULL
\n
"
,
__FUNCTION__
);
8
return
0
;
9
}
10
return
*
p
+ ((*(
p
+
1
)) <<
8
);
11
}
12