From: David Miller <davem@davemloft.net>
To: grundler@parisc-linux.org
Cc: ben@decadent.org.uk, brandon@ifup.org, grundler@google.com,
tobias@ringis.se, kyle@mcmartin.ca, netdev@vger.kernel.org
Subject: Re: [PATCH] dmfe/tulip: Let dmfe handle DM910x except for SPARC on-board chips
Date: Sun, 03 Jan 2010 21:36:28 -0800 (PST) [thread overview]
Message-ID: <20100103.213628.48383743.davem@davemloft.net> (raw)
In-Reply-To: <20091229184151.GA20122@lackof.org>
From: Grant Grundler <grundler@parisc-linux.org>
Date: Tue, 29 Dec 2009 11:41:52 -0700
> On Tue, Dec 29, 2009 at 06:22:28PM +0000, Ben Hutchings wrote:
>> The Davicom DM9100 and DM9102 chips are used on the motherboards of
>> some SPARC systems (supported by the tulip driver) and also in PCI
>> expansion cards (supported by the dmfe driver). There is no
>> difference in the PCI device ids for the two different configurations,
>> so these drivers both claim the device ids. However, it is possible
>> to distinguish the two configurations by the presence of Open Firmware
>> properties for them, so we do that.
>>
>> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
>
> Acked-by: Grant Grundler <grundler@parisc-linux.org>
>
> I've reviewed the code and it looks fine to me.
>
> Only thing I'm not sure about is if "KERN_ERR" is
> the right priority for what are essentially warning
> messages. Not harmful. But could be annoying to some
> Sparc users who get this on every boot when both modules
> are present and loaded in the "wrong" order.
I agree, KERN_INFO is more appropriate here.
Also, for the of_get_property() calls, you don't need to pass
in a dummy "&len", just pass NULL. This will avoid the dummy
local variable 'len'.
Make these two fixups and I'll apply this to net-2.6
Thanks!
next prev parent reply other threads:[~2010-01-04 5:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-25 4:36 dmfe/tulip device id overlap Brandon Philips
2009-11-25 4:49 ` Brandon Philips
2009-11-25 17:24 ` Grant Grundler
2009-11-29 8:30 ` David Miller
2009-11-30 6:55 ` Brandon Philips
2009-11-30 7:07 ` David Miller
2009-11-30 12:46 ` Ben Hutchings
2009-11-30 20:21 ` David Miller
2009-11-30 17:14 ` Grant Grundler
2009-11-30 20:26 ` David Miller
2009-11-30 22:22 ` Brandon Philips
2009-11-30 22:29 ` David Miller
2009-12-29 18:22 ` [PATCH] dmfe/tulip: Let dmfe handle DM910x except for SPARC on-board chips Ben Hutchings
2009-12-29 18:41 ` Grant Grundler
2010-01-04 5:36 ` David Miller [this message]
2009-11-25 13:08 ` dmfe/tulip device id overlap Ben Hutchings
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=20100103.213628.48383743.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ben@decadent.org.uk \
--cc=brandon@ifup.org \
--cc=grundler@google.com \
--cc=grundler@parisc-linux.org \
--cc=kyle@mcmartin.ca \
--cc=netdev@vger.kernel.org \
--cc=tobias@ringis.se \
/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).