projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d3248a
)
[PATCH] replace MODULE_PARM in tulip/uli526x.c
author
Eric Sesterhenn / snakebyte
<snakebyte@gmx.de>
Tue, 10 Jan 2006 12:16:03 +0000
(13:16 +0100)
committer
Jeff Garzik
<jgarzik@pobox.com>
Thu, 12 Jan 2006 21:32:35 +0000
(16:32 -0500)
Replace the MODULE_PARM usage in uli526x.c with module_param.
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/tulip/uli526x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/tulip/uli526x.c
b/drivers/net/tulip/uli526x.c
index 1a43163362569f9c08458c079d5c78257dcce08b..9839816668007223ebcb98dd21f7e50747542272 100644
(file)
--- a/
drivers/net/tulip/uli526x.c
+++ b/
drivers/net/tulip/uli526x.c
@@
-1689,9
+1689,9
@@
MODULE_AUTHOR("Peer Chen, peer.chen@uli.com.tw");
MODULE_DESCRIPTION("ULi M5261/M5263 fast ethernet driver");
MODULE_LICENSE("GPL");
-
MODULE_PARM(debug, "i"
);
-
MODULE_PARM(mode, "i"
);
-
MODULE_PARM(cr6set, "i"
);
+
module_param(debug, int, 0644
);
+
module_param(mode, int, 0
);
+
module_param(cr6set, int, 0
);
MODULE_PARM_DESC(debug, "ULi M5261/M5263 enable debugging (0-1)");
MODULE_PARM_DESC(mode, "ULi M5261/M5263: Bit 0: 10/100Mbps, bit 2: duplex, bit 8: HomePNA");