Thread (2 messages) 2 messages, 2 authors, 2004-11-01

Re: net: generic netdev_ioaddr

From: Krzysztof Halasa <khc@pm.waw.pl>
Date: 2004-10-31 23:16:30
Also in: lkml

Hi,

Pekka Enberg [off-list ref] writes:
Cops already exposes base address and irq as module parameters and yet
it calls netdev_boot_setup_check() to check "netdev=" so I assume
there's a reason for that.  Perhaps something like the (untested) patch
below would make more sense?
IMHO partially: base_addr etc should go from the core (to driver's
local structs if needed). I think no general netdev-setup thing is
needed, we have module parameters and library functions.

No ioctl for such things is needed either.
/sbin/ifconfig shouldn't mess with hardware data such as I/O address,
IRQ etc. - it should be a configuration tool for software protocols,
not for hardware (i.e. as /sbin/ip is).

My opinion of course.
-- 
Krzysztof Halasa
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help