From: Jeff Garzik <jeff@garzik.org>
To: Julian Calaby <julian.calaby@gmail.com>
Cc: adam radford <aradford@gmail.com>,
"Mukker, Atul" <Atul.Mukker@lsi.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Austria, Winston" <Winston.Austria@lsi.com>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: Re: [RFQ] New driver architecture questions
Date: Thu, 14 May 2009 23:01:59 -0400 [thread overview]
Message-ID: <4A0CDB27.6090009@garzik.org> (raw)
In-Reply-To: <646765f40905141801k5ae6249p925a4a377652c62e@mail.gmail.com>
Julian Calaby wrote:
> On Fri, May 15, 2009 at 10:58, adam radford <aradford@gmail.com> wrote:
>> On Wed, May 13, 2009 at 9:16 PM, Jeff Garzik <jeff@garzik.org> wrote:
>>> Taking drivers/net/e1000e as an
>>> example,
>>>
>>> hw.h hardware-specific defines, ~cross-OS
>>> 82571.c code specific to 8257x chip family, ~cross-OS
>> 82571.c contains Linux specific code such as: including Linux
>> specific header files, calls to msleep().
>>
>>> ich8lan.c code specific to ICH8+ chip family, ~cross-OS
>> ich8lan.c contains Linux specific code such as: might_sleep(),
>> mutex_trylock(), mutex_unlock(), udelay(), msleep(), writel(), readl().
>>
>> Perhaps this is a bad example? It seems like the "common layer"
>> sections that are "cross-OS" shouldn't contain any Linux specific code at all.
>
> I think the implication is that the cross-OS parts are coded, as it
> happens, in the linux coding style, using linux functions, but then a
> Windows layer maps these to Windows specific functions.
Correct.
Jeff
next prev parent reply other threads:[~2009-05-15 3:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-14 1:57 [RFQ] New driver architecture questions Mukker, Atul
2009-05-14 2:44 ` Jeff Garzik
2009-05-14 3:07 ` Mukker, Atul
2009-05-14 4:16 ` Jeff Garzik
2009-05-14 8:51 ` Boaz Harrosh
2009-05-15 0:58 ` adam radford
2009-05-15 1:01 ` Julian Calaby
2009-05-15 3:01 ` Jeff Garzik [this message]
2009-05-15 14:56 ` Mukker, Atul
2009-05-15 16:04 ` James Bottomley
2009-05-15 16:36 ` Matthew Wilcox
2009-05-15 18:03 ` Mukker, Atul
2009-05-15 18:16 ` Matthew Wilcox
2009-05-15 18:38 ` Mukker, Atul
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=4A0CDB27.6090009@garzik.org \
--to=jeff@garzik.org \
--cc=Atul.Mukker@lsi.com \
--cc=Winston.Austria@lsi.com \
--cc=aradford@gmail.com \
--cc=julian.calaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.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