Hi, 
I am trying to use the old version of the driver on a MIPS 
architecture. The ver is ZD1211LnxDrv_2_16_0_0.
I am working with a 2.4.31 special kernel modified by the 
manufacturer of an embedded board. This board has his own 
usb host supported in the kernel.
I successfully compiled the module with this CFLAGS

CFLAGS = -mips32 -O2 -mno-abicalls -mlong-calls # -mabi=32
CFLAGS += -fno-strict-aliasing -fno-pic -fno-common 
# -finline-limit=100000
CFLAGS += -DEXPORT_SYMTAB -DMODULE -pipe
#CFLAGS += -g -Wa,-a,-ad
#CFLAGS += -Wstrict-prototypes -Wall -Wno-trigraphs
CFLAGS += -G 0
CFLAGS += -DMODVERSIONS -include 
$(KERNEL_SOURCE)/include/linux/modsetver.h
CFLAGS += -fomit-frame-pointer
CFLAGS += -DZDCONF_WE_STAT_SUPPORT=1
CFLAGS += -DHOST_IF_USB
CFLAGS += -DAMAC
CFLAGS += -DGCCK
CFLAGS += -DOFDM
CFLAGS += -DHOSTAPD_SUPPORT
CFLAGS += -DUSE_EP4_SET_REG
CFLAGS += -DDOWNLOADFIRMWARE
CFLAGS += -DfTX_GAIN_OFDM=0
CFLAGS += -DfNEW_CODE_MAP=1
CFLAGS += -DfWRITE_WORD_REG=1
CFLAGS += -DfREAD_MUL_REG=1
CFLAGS += -DZDCONF_MENUDBG
CFLAGS += -DZDCONF_APDBG
CFLAGS += -DZDCONF_SES_SUPPORT=1
CFLAGS += -DAAAA03_FIX=1
CFLAGS += -DZDCONF_BANDEDGE_ADJUST
#CFLAGS += -DZDCONF_PORTING_BIGENDIAN
CFLAGS += -DZD1211B
CFLAGS += -DZDCONF_LP_SUPPORT=1 #=1, warm boot will fail
CFLAGS += -DZD1211
CFLAGS += -DZDCONF_LP_SUPPORT=0
CFLAGS += -DENHANCE_RX=1

when the module went loaded I had this output from dmesg:

ZD1211B - version 2.18.0.0
usb.c: registered new driver zd1211b
vendor_id = 1582
product_id = 6003
USB 2.0 Host
Release Ver = 4810
EEPORM Ver = 4810
Finsih download Firmware. Ready to reboot
1211_readl failed for 5 attempts...Very 
Serious<3>1211_readl failed for 5 attemp
ts...Very Serious<3>1211_readl failed for 5 
attempts...Very Serious<3>1211_readl
 failed for 5 attempts...Very Serious<3>PA type: 0
PHY_Decrease_CR128_state = 1
RF_Mode = e
1211_readl failed for 5 attempts...Very 
Serious<3>1211_readl failed for 5 attemp
ts...Very Serious<3>1211_readl failed for 5 
attempts...Very Serious<3>1211_readl
 failed for 5 attempts...Very Serious<3>1211_readl failed 
for 5 attempts...Very
SeriousAllowedChannel = 000107ff
Region:0
1211_readl failed for 5 attempts...Very 
Serious<3>1211_readl failed for 5 attemp
ts...Very Serious<3>1211_readl failed for 5 
attempts...Very Serious<3>1211_readl
 failed for 5 attempts...Very Serious<3>1211_readl failed 
for 5 attempts...Very
Serious<3>1211_readl failed for 5 attempts...Very 
Serious<3>1211_readl failed fo
r 5 attempts...Very Serious<3>1211_readl failed for 5 
attempts...Very Serious<3>
1211_readl failed for 5 attempts...Very 
Serious<3>1211_readl failed for 5 attemp
ts...     AN SO ON ...

Now the question is..can someone help me in debugging? 
Have you any idea? Maybe the problem is related to the 
presence of the commercial usb host module? 
Thank You for any help.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to