diff options
author | Jar <jar@pcuf.fi> | 2005-07-30 15:49:57 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-07-30 18:17:22 -0400 |
commit | 0ef79ee22cf5c1b177184c18b6525889bcc6681f (patch) | |
tree | d1fd0e8f8de80e0728dfd46f7ae130e9a6999439 /drivers | |
parent | 1fad810473423bbf0626fab2fbeb27a4663fa2d5 (diff) |
[PATCH] hostap update
hostap_cs: Remove irq_list, irq_mask and pcmcia/version.h
Remove irq_list, irq_mask and pcmcia/version.h as suggested in
http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_cs.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c index 3ca52e7aea1d..f915f0c75cf4 100644 --- a/drivers/net/wireless/hostap/hostap_cs.c +++ b/drivers/net/wireless/hostap/hostap_cs.c | |||
@@ -34,12 +34,6 @@ MODULE_SUPPORTED_DEVICE("Intersil Prism2-based WLAN cards (PC Card)"); | |||
34 | MODULE_LICENSE("GPL"); | 34 | MODULE_LICENSE("GPL"); |
35 | 35 | ||
36 | 36 | ||
37 | static int irq_mask = 0xdeb8; | ||
38 | module_param(irq_mask, int, 0444); | ||
39 | |||
40 | static int irq_list[4] = { -1 }; | ||
41 | module_param_array(irq_list, int, NULL, 0444); | ||
42 | |||
43 | static int ignore_cis_vcc; | 37 | static int ignore_cis_vcc; |
44 | module_param(ignore_cis_vcc, int, 0444); | 38 | module_param(ignore_cis_vcc, int, 0444); |
45 | MODULE_PARM_DESC(ignore_cis_vcc, "Ignore broken CIS VCC entry"); | 39 | MODULE_PARM_DESC(ignore_cis_vcc, "Ignore broken CIS VCC entry"); |
@@ -742,14 +736,8 @@ static int prism2_config(dev_link_t *link) | |||
742 | * irq structure is initialized. | 736 | * irq structure is initialized. |
743 | */ | 737 | */ |
744 | if (link->conf.Attributes & CONF_ENABLE_IRQ) { | 738 | if (link->conf.Attributes & CONF_ENABLE_IRQ) { |
745 | int i; | ||
746 | link->irq.Attributes = IRQ_TYPE_EXCLUSIVE | IRQ_HANDLE_PRESENT; | 739 | link->irq.Attributes = IRQ_TYPE_EXCLUSIVE | IRQ_HANDLE_PRESENT; |
747 | link->irq.IRQInfo1 = IRQ_INFO2_VALID | IRQ_LEVEL_ID; | 740 | link->irq.IRQInfo1 = IRQ_LEVEL_ID; |
748 | if (irq_list[0] == -1) | ||
749 | link->irq.IRQInfo2 = irq_mask; | ||
750 | else | ||
751 | for (i = 0; i < 4; i++) | ||
752 | link->irq.IRQInfo2 |= 1 << irq_list[i]; | ||
753 | link->irq.Handler = prism2_interrupt; | 741 | link->irq.Handler = prism2_interrupt; |
754 | link->irq.Instance = dev; | 742 | link->irq.Instance = dev; |
755 | CS_CHECK(RequestIRQ, | 743 | CS_CHECK(RequestIRQ, |