Re: ipw2200.ko insmod failed , please help !
"Shawn Q.Z. Tang" <[email protected]>
| Newsgroups | gmane.linux.drivers.ipw2100.devel |
|---|---|
| Message-ID | <OF97B9C44A.31393460-ON48257186.00225483-48257186.0022EE19@mislh.foxconn> |
Hi Zhu :
How to removing the usage of leXX_to_cpu and cpu_to_leXX macro in
the ipw2200.c ?
I have modified the ipw2200.c as bellow, pls have a check whether it's
right.
#define DRV_COPYRIGHT "Copyright(c) 2003-2006 Intel Corporation"
#define DRV_VERSION IPW2200_VERSION
+ #ifdef le32_to_cpu
+ #undef le32_to_cpu
+ #undef le16_to_cpu
+ #undef cpu_to_le32
+ #undef cpu_to_le16
+ #endif
#define ETH_P_80211_STATS (ETH_P_80211_RAW + 1)
MODULE_DESCRIPTION(DRV_DESCRIPTION);
And then I coss compiled it right, but when I insmod the ipw2200.ko,
it failed, the
messages is attached bellow:
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, 1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation
<[email protected]>
ipw2200: Unknown symbol cpu_to_le32
ipw2200: Unknown symbol le16_to_cpu
ipw2200: Unknown symbol cpu_to_le16
ipw2200: Unknown symbol le32_to_cpu
ipw2200: Unknown symbol cpu_to_le32
ipw2200: Unknown symbol le16_to_cpu
ipw2200: Unknown symbol cpu_to_le16
ipw2200: Unknown symbol le32_to_cpu
_______________________________________________
ipw2100-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipw2100-devel