| To: | Pekka Enberg <penberg@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: net: generic netdev_ioaddr |
| From: | Krzysztof Halasa <khc@xxxxxxxxx> |
| Date: | Mon, 01 Nov 2004 00:14:24 +0100 |
| Cc: | Al Viro <viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>, davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx |
| In-reply-to: | <1099206669.9571.10.camel@localhost> (Pekka Enberg's message of "Sun, 31 Oct 2004 09:11:09 +0200") |
| References: | <1099044244.9566.0.camel@localhost> <20041029131607.GU24336@parcelfarce.linux.theplanet.co.uk> <courier.418290EC.00002E85@courier.cs.helsinki.fi> <m3y8hpbaf9.fsf@defiant.pm.waw.pl> <20041029193827.GV24336@parcelfarce.linux.theplanet.co.uk> <m3u0sdb53f.fsf@defiant.pm.waw.pl> <1099129946.10961.9.camel@localhost> <m3r7nfem2v.fsf@defiant.pm.waw.pl> <1099206669.9571.10.camel@localhost> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hi, Pekka Enberg <penberg@xxxxxxxxxxxxxx> 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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH][ATM]: [drivers] add missing pci_tbl exports (pointed out by "Adam J. Richter" <adam@yggdrasil.com>), chas williams (contractor) |
|---|---|
| Next by Date: | Re: [PATCH 2.6] dev.c: clear SIOCGIFHWADDR buffer if !dev->addr_len, Matt Domsch |
| Previous by Thread: | Re: net: generic netdev_ioaddr, Pekka Enberg |
| Next by Thread: | [PATCH] net: fix natsemi base_addr casting, Pekka Enberg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |