[PATCH] b43: Add firmware information to modinfo
From: Michael Buesch <hidden>
Date: 2008-02-09 09:24:49
This adds the firmware ID to modinfo. Signed-off-by: Michael Buesch <redacted> --- John, I'd also like to have this in 2.6.25, although it's not strictly a bugfix. The chance to create regressions is less than zero and it will help people to get the stuff working. Stefano poor-patch-porter Brivio, needs porting :) Index: wireless-2.6/drivers/net/wireless/b43/main.c ===================================================================
--- wireless-2.6.orig/drivers/net/wireless/b43/main.c 2008-02-09 00:17:12.000000000 +0100
+++ wireless-2.6/drivers/net/wireless/b43/main.c 2008-02-09 10:17:21.000000000 +0100@@ -54,12 +54,14 @@ MODULE_DESCRIPTION("Broadcom B43 wireless driver"); MODULE_AUTHOR("Martin Langer"); MODULE_AUTHOR("Stefano Brivio"); MODULE_AUTHOR("Michael Buesch"); MODULE_LICENSE("GPL"); +MODULE_FIRMWARE(B43_SUPPORTED_FIRMWARE_ID); + static int modparam_bad_frames_preempt; module_param_named(bad_frames_preempt, modparam_bad_frames_preempt, int, 0444); MODULE_PARM_DESC(bad_frames_preempt, "enable(1) / disable(0) Bad Frames Preemption");