[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.SOC.1.00.1010042301100.5418@math.ut.ee>
Date: Tue, 5 Oct 2010 00:12:33 +0300 (EEST)
From: Meelis Roos <mroos@...ux.ee>
To: David Miller <davem@...emloft.net>
cc: netdev@...r.kernel.org
Subject: Re: [PATCH] ibmtr: fix tr%d in dmesg
> Instead, the more correct way to fit this is to use dev_info(),
> dev_err(), and friends. It will both print the correct stuff,
> and also document the probing path messages that occur before
> the net device is registered.
OK, fair enough.
I remember trying dev_info first and getting null from it. Retried, got
(null): ISA P&P 16/4 Adapter/A (short) | 16/4 ISA-16 Adapter found
So it seems dev_info does not know about 16-bit pcmcia devices or
buses... dev_driver_string() finds neither dev->name, dev->bus->name nor
dev->class->name. Will dig into this some other day.
--
Meelis Roos (mroos@...ux.ee)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists