s3c6410 wifi gspi8686问题驱动跑到NdisMRegisterMiniport得时候,直接返回成功,没有调用MrvDrvInitialize。
s3c6410 wifi gspi8686问题
驱动跑到NdisMRegisterMiniport得时候,直接返回成功,没有调用MrvDrvInitialize。高手解答以下!
[解决办法]
[解决办法]这个是我改NoDeviceCreat的时候的打印信息。但是我这个时候,实际上判断SD卡存在的部分是错的。后来修改成读注册表以后,修改NoDeviceCreate无论是0还是1已经不会影响到初始化了。
@1-1
"NoDeviceCreate"=dword:0
修改了下这个,打印信息
INIT - Enter DriverEntry
*** Driver version 38.p45 ***
*** Built on Aug 17 2010 14:53:22 ***
<== DriverEntry: register miniport success
INIT - Enter MrvDrvInitialize
[WiFi]: Driver Version: 38.p45
pAssoInfo = 0x261d68, pAssoInfo->Length = 0x261d68
********sdio_Initialization**********
********SDNdisGetSDDeviceHandle**********
SDNdis: Failed to get active path key (0xC0000001)
*** SDNdisGetSDDeviveHandleFailed -1073741823
*** SDIOInitialization FAILED! ***
[TT] SDIO initialization is failed! Quit initialization process
下面是=1的时候
@1-2
"NoDeviceCreate"=dword:01
MRVDRVND5: DLL_PROCESS_ATTACH
INIT - Enter DriverEntry
*** Driver version 38.p45 ***
*** Built on Aug 17 2010 15:58:11 ***
<== DriverEntry: register miniport success
-BSPIntrEnableIrq(irq = 26)
-BSPIntrEnableIrq(irq = 33)
SDHC +Init
SDHC SDHCDAllocateContext
SDHC CreateSDIOController
SDHC InterpretCapabilities
SDHCDInitialize starts
GPIO registers mapped to 490000
SDI control registers mapped to 4a0000
Clock & Power Management Special Register mapped to 4b0000
DMA Register mapped to 4c0000
-BSPIntrEnableIrq(irq = 21)
-BSPIntrEnableIrq(irq = 17)
SDHCDInitialize ends
SDHC SDHCDRegisterHostController
SDHC -Init