From: Michael Wu <flamingice-R9e9/4HEdknk1uMJSBkQmQ@public.gmane.org>
To: David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
Cc: jeff-o2qLIJkoznsdnm+yROfE0A@public.gmane.org,
netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org,
andrea.merello-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: Re: [PATCH v2] Add rtl8187 wireless driver
Date: Mon, 7 May 2007 20:03:24 -0400 [thread overview]
Message-ID: <200705072003.29448.flamingice@sourmilk.net> (raw)
In-Reply-To: <20070507.162518.35013789.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1452 bytes --]
On Monday 07 May 2007 19:25, David Miller wrote:
> I know this sounds trite, but when merging and researching up to 450
> patches at a time like I have to, this stuff starts to matter.
>
> Please put things as high in the directory hierachy as possible and
> when you can put the entire driver into a single source file do so.
>
Sure. I generally prefer that too, but all the drivers I put in wireless-dev
were put in separate directories because I didn't want to break the pattern.
> The only significant argument you present is the code sharing one for
> the radio stuff, but that isn't realized yet and you can certainly
> split the code out once you make that sharing a reality.
Having different modules for different radio chips really isn't the point of
keeping it in a separate file. (in fact, rtl8187_rtl8225.c actually contains
support for two versions of the rtl8225 radio) It's just that
rtl8187_rtl8225.c is basically a bunch of numbers with a bit of glue code to
send them to the hardware. Not much is missed if you decide not to look at
how the radio tuning works, and I like to avoid looking at that code if I
can. It's also consistent with how the (unreleased) rtl8180 driver works,
which really does have support for different radios in different files.
But of course, we can just make an exception for rtl8187. Would merging the
files together make that much of a difference for you?
-Michael Wu
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2007-05-08 0:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-07 14:22 [PATCH v2] Add rtl8187 wireless driver Michael Wu
[not found] ` <200705071022.11711.flamingice-R9e9/4HEdknk1uMJSBkQmQ@public.gmane.org>
2007-05-07 15:25 ` Jeff Garzik
[not found] ` <463F44E6.5030705-o2qLIJkoznsdnm+yROfE0A@public.gmane.org>
2007-05-07 23:17 ` Michael Wu
2007-05-07 23:25 ` David Miller
[not found] ` <20070507.162518.35013789.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2007-05-08 0:03 ` Michael Wu [this message]
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=200705072003.29448.flamingice@sourmilk.net \
--to=flamingice-r9e9/4hedknk1umjsbkqmq@public.gmane.org \
--cc=andrea.merello-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
--cc=jeff-o2qLIJkoznsdnm+yROfE0A@public.gmane.org \
--cc=linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/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).