Re: [PATCH 3/4] libertas: check for old, unsupported hardware

Dan Williams
2008-08-19T19:42:58Z

On Thu, 2008-06-05 at 14:02 +0200, Holger Schurig wrote:
> I got this piece of code from the 5.0.16 GPL driver, but
> implemented it differently. I mainly put it in to find out if
> YOU have such an old silicon. When people yell "my card isn't
> supported, I get this kernel error" we can still add the
> necessary support.
>
> I don't want to add the support right now because I don't have
> this old hardware and don't know anyone with it. So no-one could
> test this.

So it turns out I have two of these cards, which are the ones I've been
using for testing since last year. Which might explain why I've been
having so many problems that you're not having. They are AmbiCom
WL54-CF rev 1.0 cards which I believe are B0 revision looking at the FCC
internal photos. The card returns 0x10 as the revision.

> The 5.0.16 source mentions two things needed for this old
> hardware:
>
> * doing read-modify-write instead of just setting bits, this
> applies to IF_CS_HOST_STATUS and IF_CS_HOST_INT_CAUSE

Any chance you could whip up a quick test patch for this one?

> * and an interrupt workaround

I'll try to figure out what needs to happen for this, lack of it might
be the cause of the hangs I've been seeing with my B0 hardware.

Dan