| To: | Krzysztof Halasa <khc@xxxxxxxxx> |
|---|---|
| Subject: | Re: net: generic netdev_ioaddr |
| From: | Pekka Enberg <penberg@xxxxxxxxxxxxxx> |
| Date: | Sat, 30 Oct 2004 12:52:26 +0300 |
| Cc: | Al Viro <viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>, davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx |
| In-reply-to: | <m3u0sdb53f.fsf@xxxxxxxxxxxxxxxxx> |
| References: | <1099044244.9566.0.camel@localhost> <20041029131607.GU24336@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <courier.418290EC.00002E85@xxxxxxxxxxxxxxxxxxxxxx> <m3y8hpbaf9.fsf@xxxxxxxxxxxxxxxxx> <20041029193827.GV24336@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <m3u0sdb53f.fsf@xxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hi,
Al Viro <viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> writes:
> > What uses ->base_addr from the data returned by SIOCGIFMAP?
On Fri, 2004-10-29 at 23:13 +0200, Krzysztof Halasa wrote:
>
> ifconfig I think:
[snip]
> With this driver it happens to be MMIO address.
>
> I understand presenting this value to users might have some value:
> it can help determine the physical port/card for a given netdev.
> But it should be something like a description text set by the driver
> (ie. containing PCI bus/device, or even ISA address for ISA non-PnP
> card, possibly with other information).
It seems that the user can also setup dev->base_addr with "netdev="
kernel parameter before a driver starts probing (for example
drivers/net/appletalk/cops.c). Should we get rid of "netdev=" too and
push preconfiguring down to the drivers that actually use it?
Pekka
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Asynchronous crypto layer., Evgeniy Polyakov |
|---|---|
| Next by Date: | Re: [PATCH] unexport ei_tx_timeout, Jeff Garzik |
| Previous by Thread: | Re: net: generic netdev_ioaddr, Krzysztof Halasa |
| Next by Thread: | Re: net: generic netdev_ioaddr, Krzysztof Halasa |
| Indexes: | [Date] [Thread] [Top] [All Lists] |