[PATCH] support for 88w8385 sdio older revision (was: Re: sdio model detection)

Marc Pignat marc.pignat at hevs.ch
Fri Jan 11 05:34:41 EST 2008


Identifiaction of another revision of 88w8385.

Signed-off-by: Marc Pignat <marc.pignat at hevs.ch>
---

Hi!

After some investigation, it looks like I've got two different revision of the
88w8385 chip. I don't know exactly if this is a really a problem with the
chip revision or perhaps some code change in the eeprom, but here are
all information I have:

My two sdio modules comes from zcomax and here's what is printed on them:
 * XG-880M_V1.0
    * 88w8385-TGJ1 FM25811.1
    * info strings : "Marvell Semiconductor" "IBIS Wireless SDIO Card" "Version 1.0" "" "" ""
 * XG-880M_V1.1
    * 88w8385-TGJ1 FK51301.3
    * info strings : "Marvell" "802.11 SDIO" "ID: 04" ""

This patch against 2.6.24-rc7-git2 adds support for XG-880M-V1.0

Good news: both modules just work fine :-D

Regards

Marc

diff -urN a b
--- a/drivers/net/wireless/libertas/if_sdio.c
+++ b/drivers/net/wireless/libertas/if_sdio.c
@@ -871,6 +871,10 @@
 		if (sscanf(func->card->info[i],
 				"ID: %x", &model) == 1)
 			break;
+		if (!strcmp(func->card->info[i], "IBIS Wireless SDIO Card")) {
+			model = 4;
+			break;
+		}
 	}
 
 	if (i == func->card->num_info) {



More information about the libertas-dev mailing list