debug: remove roaming events
[pandora-wifi.git] / patches / 08-rename-iwl4965-config.patch
1 In kernel 2.6.26 and older CONFIG_IWL4965 was build as an extra
2 module, but now it is directly included in the iwlagn.
3
4 CONFIG_IWL4965 has to be set to y, to build correctly.
5
6 --- a/drivers/net/wireless/iwlwifi/Makefile
7 +++ b/drivers/net/wireless/iwlwifi/Makefile
8 @@ -11,7 +11,7 @@ CFLAGS_iwl-devtrace.o := -I$(src)
9  obj-$(CONFIG_IWLAGN)   += iwlagn.o
10  iwlagn-objs            := iwl-agn.o iwl-agn-rs.o iwl-agn-led.o
11  
12 -iwlagn-$(CONFIG_IWL4965) += iwl-4965.o
13 +iwlagn-$(CONFIG_COMPAT_IWL4965) += iwl-4965.o
14  iwlagn-$(CONFIG_IWL5000) += iwl-5000.o
15  iwlagn-$(CONFIG_IWL5000) += iwl-6000.o
16  iwlagn-$(CONFIG_IWL5000) += iwl-1000.o
17 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c
18 +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
19 @@ -3796,10 +3796,10 @@ static void __devexit iwl_pci_remove(str
20  
21  /* Hardware specific file defines the PCI IDs table for that hardware module */
22  static DEFINE_PCI_DEVICE_TABLE(iwl_hw_card_ids) = {
23 -#ifdef CONFIG_IWL4965
24 +#ifdef CONFIG_COMPAT_IWL4965
25         {IWL_PCI_DEVICE(0x4229, PCI_ANY_ID, iwl4965_agn_cfg)},
26         {IWL_PCI_DEVICE(0x4230, PCI_ANY_ID, iwl4965_agn_cfg)},
27 -#endif /* CONFIG_IWL4965 */
28 +#endif /* CONFIG_COMPAT_IWL4965 */
29  #ifdef CONFIG_IWL5000
30  /* 5100 Series WiFi */
31         {IWL_PCI_DEVICE(0x4232, 0x1201, iwl5100_agn_cfg)}, /* Mini Card */