sdio model detection

Marc Pignat marc.pignat at hevs.ch
Thu Jan 10 05:52:56 EST 2008


Hi Pierre!

Just testing 2.6.24-rc7-git, with if_sdio... my card (88w8385) isn't detected.

I just added the following patch to see what's is going on.
the output is:
...
func->num=1
func->card->info[0]=Marvell Semiconductor
func->card->info[1]=IBIS Wireless SDIO Card
func->card->info[2]=Version 1.0
func->card->info[3]=
func->card->info[4]=
func->card->info[5]=
...

As we discussed that in september, in the thread "Libertas SDIO issues - some succes"
from september, the string you're searching for is in the function0 (at least
for the 88w8385).

Regards

Marc

--- drivers/net/wireless/libertas/if_sdio.c
+++ drivers/net/wireless/libertas/if_sdio.c
@@ -864,7 +864,9 @@
 
 	lbs_deb_enter(LBS_DEB_SDIO);
 
+	printk(KERN_INFO "func->num=%d\n",func->num);
 	for (i = 0;i < func->card->num_info;i++) {
+		printk(KERN_INFO "func->card->info[%d]=%s\n",i , func->card->info[i]);
 		if (sscanf(func->card->info[i],
 				"802.11 SDIO ID: %x", &model) == 1)
 			break;



More information about the libertas-dev mailing list