mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
769 B

  1. diff -urp ipw2100-0.55/ipw2100.c ipw2100-0.55-modparam/ipw2100.c
  2. --- ipw2100-0.55/ipw2100.c 2004-09-28 01:29:17.000000000 +0800
  3. +++ ipw2100-0.55-modparam/ipw2100.c 2004-09-28 13:07:17.989689056 +0800
  4. @@ -250,12 +250,12 @@ MODULE_PARM(disable, "i");
  5. #else /* LINUX_VERSION_CODE < 2.6.0 */
  6. #include <linux/moduleparam.h>
  7. -module_param(debug, int, -1);
  8. -module_param(if_name, charp, 0);
  9. -module_param(mode, int, 0);
  10. -module_param(channel, int, 1);
  11. -module_param(associate, int, 1);
  12. -module_param(disable, int, 1);
  13. +module_param(debug, int, 0444);
  14. +module_param(if_name, charp, 0444);
  15. +module_param(mode, int, 0444);
  16. +module_param(channel, int, 0444);
  17. +module_param(associate, int, 0444);
  18. +module_param(disable, int, 0444);
  19. #endif /* LINUX_VERSION_CODE < 2.6.0 */