Re: [PATCH net-next] myri10ge: allow per-board firmware overriding

From: Brice Goglin
Date: Mon Apr 20 2009 - 05:55:42 EST


Stanislaw Gruszka wrote:
> Providing module_param_id would address this issues, but I have some concerns
> before doing it:
>
> - device have to access ID (like serial no) before initialization (at least
> before driver will need parameter)
> - why nobody already done it - perhaps such thing would be totally useless
>

Per-nic module parameters are used in some Intel NIC drivers but it's
not considered a very good solution in the general case:

http://kerneltrap.org/index.php?q=mailarchive/linux-netdev/2008/10/24/3801824/thread

But again, when talking about changing the NIC firmware, ethtool and
friends are not that easy.

Brice

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/