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