netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Noe <dpn@isomerica.net>
To: devzero@web.de
Cc: netdev@vger.kernel.org
Subject: Re: arcnet - weird printk arc%d
Date: Sat, 12 Apr 2008 21:07:20 -0400	[thread overview]
Message-ID: <48015CC8.4000004@isomerica.net> (raw)
In-Reply-To: <236742536@web.de>

devzero@web.de wrote:
> Apr 13 01:25:50 neo klogd:  arc%d: Given: node 00h, shmem 0h, irq 0
> Apr 13 01:25:50 neo klogd:  arc%d: No autoprobe for RIM I; you must specify the shmem and irq!
> Apr 13 01:25:50 neo klogd:  arc%d: No autoprobe for IO mapped cards; you must specify the base address!
> 
> arc%d looks weird - is this intenitonal ?

The %d is normally replaced by the interface number after 
register_netdev is called.  But these error messages are printed in 
arcrimi_found() *before* register_netdev() is called (because the device 
hasn't been found yet).

I'm not sure what the best approach to fixing this is.  Most likely the 
log printouts at that point should not be using the macros that rely on 
dev->name being fully correct.

Cheers,
Dan

-- 
                     /--------------- - -  -  -   -   -
                     |  Dan Noe
                     |  http://isomerica.net/~dpn/

  reply	other threads:[~2008-04-13  1:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-13  0:31 arcnet - weird printk arc%d devzero
2008-04-13  1:07 ` Dan Noe [this message]
2008-04-13  1:17   ` Stephen Hemminger
  -- strict thread matches above, loose matches on Subject: below --
2008-04-13  0:33 devzero

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=48015CC8.4000004@isomerica.net \
    --to=dpn@isomerica.net \
    --cc=devzero@web.de \
    --cc=netdev@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).