Questions on libertas driver
Holger Schurig
hs4233 at mail.mn-solutions.de
Thu Jan 24 05:52:29 EST 2008
On Thursday 24 January 2008 10:31:40 Cyril HAENEL wrote:
> Hi Holger,
>
> I followed your procedure :
>
$ git clone
> git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireles
>s-2.6.git
>
> --> OK
>
> $ cd wireless-2.6
> $ git checkout -b everything origin/everything
> --> git checkout: branch everything already exists
Huh? With my git version (1.5.3.7) I see this:
$ git clone [...]
[...]
Checking 23061 files out...
100% (23061/23061) done
$ cd wireless-2.6
Branch everything set up to track remote branch refs/remotes/origin/everything.
Switched to a new branch "everything"
But I hope this isn't problematic. Or maybe it is. Do you have the
same file?
$ md5sum drivers/net/wireless/libertas/main.c
d8aae2388a0e0d94e2bee5b0db317f0c drivers/net/wireless/libertas/main.c
I'm asking because in my git tree is there is no "set_frezable"
in main.c. Actually I have have neither "frezable" nor "freezable":
$ grep frez drivers/net/wireless/libertas/*
$ grep freez drivers/net/wireless/libertas/*
$
> Third (and last!) error, I don't know how to correct it :
>
> /home/stagiaire/blackfin/marvell8385/libertas/ethtool.c:180:
> error: unknown field 'get_sset_count' specified in initializer
> /home/stagiaire/blackfin/marvell8385/libertas/ethtool.c:180:
> warning: initialization from incompatible pointer type
When you look at lbs_ethtool_get_sset_count(), then you see
that it mentions MESH_STATS_NUM. If you use the compact flash
card, you're probably stuck at firmware 5.0.16p1. In this case
you won't have MESH at all. So you can simply uncomment all the
related code for this.
BTW, in my case the line
.get_sset_count = lbs_ethtool_get_sset_count,
is in ethtool.c:224, so I'm pretty sure you aren't on wireless-2.6,
branch everything. See also
http://linuxwireless.org/en/developers/Documentation/git-guide
More information about the libertas-dev
mailing list