diff options
author | Michael Lauer <mickey@vanille-media.de> | 2005-09-12 10:23:32 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-12 10:23:32 +0000 |
commit | 48562ec91aa2f738f64e0e7ab0f006101c22655e (patch) | |
tree | d4920ecb6e8f91012d554c59ca841812ec8a4776 /packages/wlan-ng/wlan-ng-modules-0.2.2/module_param_array.patch | |
parent | 2958e36d6fa99af4d5b70e9dac22013ca80158b0 (diff) | |
parent | 8ede563e65a8b5dfbfbd1daaf4dff8aed3e3a8e9 (diff) |
merge of 609271c40b312ab6442f49fa8fcf91b9de016933
and ad9133020a1a5b111af22c9ecb30c8ce1e428169
Diffstat (limited to 'packages/wlan-ng/wlan-ng-modules-0.2.2/module_param_array.patch')
-rw-r--r-- | packages/wlan-ng/wlan-ng-modules-0.2.2/module_param_array.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.2/module_param_array.patch b/packages/wlan-ng/wlan-ng-modules-0.2.2/module_param_array.patch new file mode 100644 index 0000000000..a22d39dca2 --- /dev/null +++ b/packages/wlan-ng/wlan-ng-modules-0.2.2/module_param_array.patch @@ -0,0 +1,19 @@ +--- linux-wlan-ng-0.2.2/src/prism2/driver/prism2_cs.c~ 2005-07-20 19:16:55.000000000 +0200 ++++ linux-wlan-ng-0.2.2/src/prism2/driver/prism2_cs.c 2005-09-01 19:02:59.099563318 +0200 +@@ -22,12 +22,16 @@ + * says. + */ + #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11) ) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) + #if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,5)) + static int numlist = 4; + module_param_array(irq_list, int, numlist, 0444); + #else + module_param_array(irq_list, int, NULL, 0444); + #endif ++#else ++MODULE_PARM( irq_list, "1-4i" ); ++#endif + module_param( irq_mask, int, 0644); + #endif + |