netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* usage of netdev_boot_setup_check() in modern NIC driver
@ 2011-03-31 16:41 Domenico Andreoli
  0 siblings, 0 replies; only message in thread
From: Domenico Andreoli @ 2011-03-31 16:41 UTC (permalink / raw)
  To: netdev

Hi all,

  I'm working on the cs89x0 driver to make it a modern dual ISA/platform
driver (it is used on some non-ISA dev boards, like my QQ2440). Funny
game that could end in nothing except some new learnings for me.

It uses the netdev_boot_setup_check() function to get the configuration
from cmdline. The only other modern ISA driver (isa_(un)register_driver)
which uses it is the 3c509, which seems to invoke and immediately
overwrite part of the values just got.

Since nowdays module params can be set on the cmdline as well, may I
simply dump netdev_boot_setup_check()? It smells of legacy stuff.

In case of multiple NICs, which is the suggested way to pass the
different parameters (irq, iomem, etc) to every card?

Do you agree that such parameters have sense only on the ISA side of
the driver?

Regards,
Domenico

-----[ Domenico Andreoli, aka cavok
 --[ http://www.dandreoli.com/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-31 16:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-31 16:41 usage of netdev_boot_setup_check() in modern NIC driver Domenico Andreoli

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).