From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: Hin-Tak Leung <htl10@users.sourceforge.net>
Cc: "Luis R. Rodriguez" <mcgrof@winlab.rutgers.edu>,
"compat-masters@lists.madwifi.org"
<compat-masters@lists.madwifi.org>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
<dwmw2@infradead.org>, <dcbw@redhat.com>,
<linville@tuxdriver.com>, <tim.gardner@canonical.com>
Subject: Re: a couple of small bugs in compat-wireless -- libertas
Date: Tue, 11 Nov 2008 16:54:20 -0800 [thread overview]
Message-ID: <20081112005420.GQ14202@tesla> (raw)
In-Reply-To: <20081111231233.GK14202@tesla>
On Tue, Nov 11, 2008 at 03:12:33PM -0800, Luis Rodriguez wrote:
> On Mon, Nov 10, 2008 at 09:28:59PM -0800, Hin-Tak Leung wrote:
> > "make unload" doesn't unload iwlagn, and iwlagn keeps mac80211 in the kernel, which results in make unload failing. Needs to include iwlagn
> > in the unload list in script/unload.sh. Should be trivial to fix, and
> > probably quicker "just do it" then having a patch from me :-).
> >
> > There is another annoyance - probably not strictly speaking a bug, but nonetheless, for some unexplainable reasons, I expect "make clean" to do the usual thing, and it doesn't - this is probably easy to fix by having an almost empty libertas_tf/Makefile ? (this shows an older compat-wireless , but current compat-wireless also seem to have this problem
> > if I remember correctly):
> > ---------------
> > scripts/Makefile.clean:17: /tmp/compat-wireless-2008-10-23/drivers/net/wireless/libertas_tf/Makefile: No such file or directory
> > make[4]: *** No rule to make target `/tmp/compat-wireless-2008-10-23/drivers/net/wireless/libertas_tf/Makefile'. Stop.
> > make[3]: *** [/tmp/compat-wireless-2008-10-23/drivers/net/wireless/libertas_tf] Error 2
> > make[2]: *** [/tmp/compat-wireless-2008-10-23/drivers/net/wireless] Error 2
> > make[1]: *** [_clean_/tmp/compat-wireless-2008-10-23] Error 2
> > make[1]: Leaving directory `/usr/src/kernels/2.6.27.5-92.fc10.x86_64'
> > make: *** [clean] Error 2
> > ---------------
>
> Try this patch, but the issue you see is related to libertas... anyway,
> I've added this patch I'll try to see what's wrong with libertas.
OK for your issue you can try this patch. Essentially it adds
libertas_tf to compat-wireless but it will only compile if you
had it enabled in your kernel (which hopefully means you didn't
enable the old driver (CONFIG_LIBERTAS_USB).
Right now I don't see libertas_tf_usb driver being shipped or enabled
on FC10 or Ubuntu 8.10 so this follows the assumption that they did
the right thing, which I think they did as the thin firmware driver
is rather new.
diff --git a/Makefile b/Makefile
index 7383214..9cef559 100644
--- a/Makefile
+++ b/Makefile
@@ -113,6 +113,7 @@ install: uninstall modules
@$(MODPROBE) -l ieee80211
@$(MODPROBE) -l ieee80211_crypt
@$(MODPROBE) -l libertas_cs
+ @$(MODPROBE) -l libertas_tf
@$(MODPROBE) -l ub8xxx
@$(MODPROBE) -l p54_pci
@$(MODPROBE) -l p54_usb
@@ -172,6 +173,7 @@ uninstall:
@$(MODPROBE) -l ieee80211
@$(MODPROBE) -l ieee80211_crypt
@$(MODPROBE) -l libertas_cs
+ @$(MODPROBE) -l libertas_tf
@$(MODPROBE) -l mac80211
@$(MODPROBE) -l ub8xxx
@$(MODPROBE) -l p54pci
diff --git a/config.mk b/config.mk
index f2be511..68e8eec 100644
--- a/config.mk
+++ b/config.mk
@@ -230,9 +230,11 @@ CONFIG_SSB_PCICORE_HOSTMODE=n
# CONFIG_SSB_DRIVER_EXTIF=y
ifneq ($(CONFIG_USB),)
+ifneq ($(LIBERTAS_THINFIRM_USB),m)
CONFIG_LIBERTAS_USB=m
NEED_LIBERTAS=y
endif
+endif
ifneq ($(CONFIG_PCMCIA),)
CONFIG_LIBERTAS_CS=m
NEED_LIBERTAS=y
diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh
index 6a66fbf..dc0a6e2 100755
--- a/scripts/admin-update.sh
+++ b/scripts/admin-update.sh
@@ -58,6 +58,7 @@ DRIVERS="$DRIVERS drivers/net/wireless/zd1211rw"
DRIVERS="$DRIVERS drivers/net/wireless/libertas"
DRIVERS="$DRIVERS drivers/net/wireless/p54"
DRIVERS="$DRIVERS drivers/net/wireless/rtl818x"
+DRIVERS="$DRIVERS drivers/net/wireless/libertas_tf"
# Drivers that belong the the wireless directory
DRIVER_FILES="adm8211.c adm8211.h"
next prev parent reply other threads:[~2008-11-12 0:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-11 5:28 a couple of small bugs in compat-wireless Hin-Tak Leung
2008-11-11 23:12 ` Luis R. Rodriguez
2008-11-12 0:54 ` Luis R. Rodriguez [this message]
2008-11-12 1:02 ` a couple of small bugs in compat-wireless -- libertas Luis R. Rodriguez
2008-11-12 1:40 ` Hin-Tak Leung
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081112005420.GQ14202@tesla \
--to=lrodriguez@atheros.com \
--cc=compat-masters@lists.madwifi.org \
--cc=dcbw@redhat.com \
--cc=dwmw2@infradead.org \
--cc=htl10@users.sourceforge.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=mcgrof@winlab.rutgers.edu \
--cc=tim.gardner@canonical.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).