From: Matthew Wilcox <matthew@wil.cx>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: Matthew Wilcox <matthew@wil.cx>,
sparclinux@vger.kernel.org,
SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: sym2 on sparc
Date: Sat, 2 Oct 2004 15:44:08 +0100 [thread overview]
Message-ID: <20041002144408.GS16153@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <1096724000.2157.1.camel@mulgrave>
On Sat, Oct 02, 2004 at 09:33:13AM -0400, James Bottomley wrote:
> On Fri, 2004-10-01 at 14:20, Matthew Wilcox wrote:
> > Could someone with a symbios 53c8xx chip test this patch? It works
> > on non-sparc. If I don't hear of any problems, it'll be in the next
> > driver update.
>
> Do we have to do this?
DaveM sent me a reply saying:
> Just print the IRQ out as an unsigned integer, it's not the
> end of the world if you don't use the special sparc macros.
Again, sorry about the list address confusion.
> Putting architecture specific knowledge into a device driver is almost
> never a good thing to do. If all you want to do is print out the IRQ
> designation, I suspect this is a generic problem, not a sym2 specific
> problem, so what we need is something like an irq_to_string()
> abstraction.
I agree. We could probably use something similar on PA-RISC. There's
about 25 drivers in-tree that're currently using __irq_itoa(). Most
of them would be better-written if everybody were using a string.
--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain
next prev parent reply other threads:[~2004-10-02 14:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-01 18:20 sym2 on sparc Matthew Wilcox
2004-10-02 13:33 ` James Bottomley
2004-10-02 14:44 ` Matthew Wilcox [this message]
2004-10-02 23:41 ` David S. Miller
2004-10-08 11:25 ` William Lee Irwin III
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=20041002144408.GS16153@parcelfarce.linux.theplanet.co.uk \
--to=matthew@wil.cx \
--cc=James.Bottomley@SteelEye.com \
--cc=linux-scsi@vger.kernel.org \
--cc=sparclinux@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;
as well as URLs for NNTP newsgroup(s).