| To: | "jgarzik@xxxxxxxxx" <jgarzik@xxxxxxxxx> |
|---|---|
| Subject: | [PATCH 2.6 10/14] e1000: Kernel API change for Module_param_array_named |
| From: | Ganesh Venkatesan <ganesh.venkatesan@xxxxxxxxx> |
| Date: | Thu, 6 Jan 2005 17:21:52 -0800 (PST) |
| Cc: | netdev <netdev@xxxxxxxxxxx> |
| Replyto: | "Ganesh Venkatesan" <ganesh.venkatesan@intel.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@xxxxxxxxx>
diff -up net-drivers-2.6/drivers/net/e1000/e1000_param.c
net-drivers-2.6/drivers/net/e1000.new/e1000_param.c
--- net-drivers-2.6/drivers/net/e1000/e1000_param.c 2004-12-03
07:24:37.091623032 -0800
+++ net-drivers-2.6/drivers/net/e1000.new/e1000_param.c 2004-12-03
07:24:38.662384240 -0800
@@ -47,7 +47,7 @@
#define E1000_PARAM(X, desc) \
static int __devinitdata X[E1000_MAX_NIC+1] = E1000_PARAM_INIT; \
static int num_##X = 0; \
- module_param_array(X, int, &num_##X, 0); \
+ module_param_array_named(X, X, int, &num_##X, 0); \
MODULE_PARM_DESC(X, desc);
/* Transmit Descriptor Count
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2.6 9/14] e1000: {set, get}_wol is now symmetric for 82545EM adapters, Ganesh Venkatesan |
|---|---|
| Next by Date: | [PATCH 2.6 11/14] e1000: Added workaround to prevent inadvertent gigabit waveform to be sent out on the wire due to init-time operations on the IGP phy, Ganesh Venkatesan |
| Previous by Thread: | [PATCH 2.6 9/14] e1000: {set, get}_wol is now symmetric for 82545EM adapters, Ganesh Venkatesan |
| Next by Thread: | [PATCH 2.6 11/14] e1000: Added workaround to prevent inadvertent gigabit waveform to be sent out on the wire due to init-time operations on the IGP phy, Ganesh Venkatesan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |