From: John Crispin <blogic@openwrt.org>
To: Gertjan van Wingerde <gwingerde@gmail.com>
Cc: "John W. Linville" <linville@tuxdriver.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"users@rt2x00.serialmonkey.com" <users@rt2x00.serialmonkey.com>
Subject: Re: [PATCH] rt2x00: make the driver build for Ralink SoC
Date: Thu, 21 Mar 2013 08:35:34 +0100 [thread overview]
Message-ID: <514AB846.9090407@openwrt.org> (raw)
In-Reply-To: <3D4497AD-8992-47D6-BCF2-5D738B6AC9B4@gmail.com>
>> Fix up the dependencies to make the driver actually compile on Ralink WiSoC.
>>
>> Signed-off-by: John Crispin<blogic@openwrt.org>
> I don't think this is a proper way to handle this. rt2x00pci.c was only meant to be used for PCI devices; introducing the use of CONFIG_PCI in that file doesn't seem appropriate to me.
>
> Unfortunately I am away from my home computer, so I can't look at this properly until the weekend.
>
Indeed not the cleanest patch ... after changing the config symbols I
realized that that is not enough to make the driver actually work
It turns out that inside openwrt the compat-wireless package sets
CONFIG_RT2800PCI=m to make the driver build and then applies the
#ifdef'ery to rt2880pci.c
I will try to find the time today or tomorrow to have a closer look at this
John
next prev parent reply other threads:[~2013-03-21 7:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-20 19:48 [PATCH] rt2x00: make the driver build for Ralink SoC John Crispin
2013-03-20 21:29 ` Gertjan van Wingerde
2013-03-21 7:35 ` John Crispin [this message]
2013-03-27 17:17 ` John W. Linville
2013-03-27 18:25 ` John Crispin
2013-03-27 20:38 ` Gertjan van Wingerde
2013-03-27 20:48 ` John Crispin
2013-03-29 15:02 ` Gabor Juhos
2013-03-21 18:03 ` Gabor Juhos
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=514AB846.9090407@openwrt.org \
--to=blogic@openwrt.org \
--cc=gwingerde@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=users@rt2x00.serialmonkey.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).