Merge upstream into ieee80211.
authorJeff Garzik <jgarzik@pobox.com>
Wed, 24 Aug 2005 05:02:04 +0000 (01:02 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Wed, 24 Aug 2005 05:02:04 +0000 (01:02 -0400)
Hand-fix merge conflict in drivers/usb/net/zd1201.c.

1  2 
drivers/net/wireless/Kconfig
drivers/usb/net/zd1201.c

index d20e0da05a26eab996841f5c678f11d54a8fb460,ec3f75a030d2073248791d443d9f432027dd35bf..0574050672261c360b3920b3d1bd2d42bb1aff3a
@@@ -137,110 -137,6 +137,110 @@@ config PCMCIA_RAYC
  comment "Wireless 802.11b ISA/PCI cards support"
        depends on NET_RADIO && (ISA || PCI || PPC_PMAC || PCMCIA)
  
 +config IPW2100
 +      tristate "Intel PRO/Wireless 2100 Network Connection"
 +      depends on NET_RADIO && PCI && IEEE80211
 +      select FW_LOADER
 +      ---help---
 +          A driver for the Intel PRO/Wireless 2100 Network 
 +        Connection 802.11b wireless network adapter.
 +
 +          See <file:Documentation/networking/README.ipw2100> for information on
 +          the capabilities currently enabled in this driver and for tips
 +          for debugging issues and problems.
 +
 +        In order to use this driver, you will need a firmware image for it.
 +          You can obtain the firmware from
 +        <http://ipw2100.sf.net/>.  Once you have the firmware image, you 
 +        will need to place it in /etc/firmware.
 +
 +          You will also very likely need the Wireless Tools in order to
 +          configure your card:
 +
 +          <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>.
 + 
 +          If you want to compile the driver as a module ( = code which can be
 +          inserted in and remvoed from the running kernel whenever you want),
 +          say M here and read <file:Documentation/modules.txt>.  The module
 +          will be called ipw2100.ko.
 +      
 +config IPW2100_PROMISC
 +        bool "Enable promiscuous mode"
 +        depends on IPW2100
 +        ---help---
 +        Enables promiscuous/monitor mode support for the ipw2100 driver.
 +        With this feature compiled into the driver, you can switch to 
 +        promiscuous mode via the Wireless Tool's Monitor mode.  While in this
 +        mode, no packets can be sent.
 +
 +config IPW_DEBUG
 +      bool "Enable full debugging output in IPW2100 module."
 +      depends on IPW2100
 +      ---help---
 +        This option will enable debug tracing output for the IPW2100.  
 +
 +        This will result in the kernel module being ~60k larger.  You can 
 +        control which debug output is sent to the kernel log by setting the 
 +        value in 
 +
 +        /sys/bus/pci/drivers/ipw2100/debug_level
 +
 +        This entry will only exist if this option is enabled.
 +
 +        If you are not trying to debug or develop the IPW2100 driver, you 
 +        most likely want to say N here.
 +
 +config IPW2200
 +      tristate "Intel PRO/Wireless 2200BG and 2915ABG Network Connection"
 +      depends on IEEE80211 && PCI
 +      select FW_LOADER
 +      ---help---
 +          A driver for the Intel PRO/Wireless 2200BG and 2915ABG Network
 +        Connection adapters. 
 +
 +          See <file:Documentation/networking/README.ipw2200> for 
 +        information on the capabilities currently enabled in this 
 +        driver and for tips for debugging issues and problems.
 +
 +        In order to use this driver, you will need a firmware image for it.
 +          You can obtain the firmware from
 +        <http://ipw2200.sf.net/>.  See the above referenced README.ipw2200 
 +        for information on where to install the firmare images.
 +
 +          You will also very likely need the Wireless Tools in order to
 +          configure your card:
 +
 +          <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>.
 + 
 +          If you want to compile the driver as a module ( = code which can be
 +          inserted in and remvoed from the running kernel whenever you want),
 +          say M here and read <file:Documentation/modules.txt>.  The module
 +          will be called ipw2200.ko.
 +
 +config IPW_DEBUG
 +      bool "Enable full debugging output in IPW2200 module."
 +      depends on IPW2200
 +      ---help---
 +        This option will enable debug tracing output for the IPW2200.  
 +
 +        This will result in the kernel module being ~100k larger.  You can 
 +        control which debug output is sent to the kernel log by setting the 
 +        value in 
 +
 +        /sys/bus/pci/drivers/ipw2200/debug_level
 +
 +        This entry will only exist if this option is enabled.
 +
 +        To set a value, simply echo an 8-byte hex value to the same file:
 +
 +        % echo 0x00000FFO > /sys/bus/pci/drivers/ipw2200/debug_level
 +
 +        You can find the list of debug mask values in 
 +        drivers/net/wireless/ipw2200.h
 +
 +        If you are not trying to debug or develop the IPW2200 driver, you 
 +        most likely want to say N here.
 +
  config AIRO
        tristate "Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards"
        depends on NET_RADIO && ISA && (PCI || BROKEN)
@@@ -374,7 -270,7 +374,7 @@@ config PCMCIA_HERME
  
  config AIRO_CS
        tristate "Cisco/Aironet 34X/35X/4500/4800 PCMCIA cards"
-       depends on NET_RADIO && PCMCIA
+       depends on NET_RADIO && PCMCIA && (BROKEN || !M32R)
        ---help---
          This is the standard Linux driver to support Cisco/Aironet PCMCIA
          802.11 wireless cards.  This driver is the same as the Aironet
diff --combined drivers/usb/net/zd1201.c
index 2a1d489e92c024793f9437a0a8ac0d3538af9950,e32a80b39182b5dbbc06d15b2f96abf1897f9e7f..fc013978837e21fd756a594d53b6d52326b2646f
@@@ -21,7 -21,7 +21,7 @@@
  #include <linux/string.h>
  #include <linux/if_arp.h>
  #include <linux/firmware.h>
 -#include <ieee802_11.h>
 +#include <net/ieee80211.h>
  #include "zd1201.h"
  
  static struct usb_device_id zd1201_table[] = {
@@@ -338,25 -338,24 +338,24 @@@ static void zd1201_usbrx(struct urb *ur
                        goto resubmit;
                }
                        
 -              if ((seq & IEEE802_11_SCTL_FRAG) ||
 -                  (fc & IEEE802_11_FCTL_MOREFRAGS)) {
 +              if ((seq & IEEE80211_SCTL_FRAG) ||
 +                  (fc & IEEE80211_FCTL_MOREFRAGS)) {
                        struct zd1201_frag *frag = NULL;
                        char *ptr;
  
                        if (datalen<14)
                                goto resubmit;
 -                      if ((seq & IEEE802_11_SCTL_FRAG) == 0) {
 +                      if ((seq & IEEE80211_SCTL_FRAG) == 0) {
-                               frag = kmalloc(sizeof(struct zd1201_frag*),
-                                   GFP_ATOMIC);
+                               frag = kmalloc(sizeof(*frag), GFP_ATOMIC);
                                if (!frag)
                                        goto resubmit;
 -                              skb = dev_alloc_skb(IEEE802_11_DATA_LEN +14+2);
 +                              skb = dev_alloc_skb(IEEE80211_DATA_LEN +14+2);
                                if (!skb) {
                                        kfree(frag);
                                        goto resubmit;
                                }
                                frag->skb = skb;
 -                              frag->seq = seq & IEEE802_11_SCTL_SEQ;
 +                              frag->seq = seq & IEEE80211_SCTL_SEQ;
                                skb_reserve(skb, 2);
                                memcpy(skb_put(skb, 12), &data[datalen-14], 12);
                                memcpy(skb_put(skb, 2), &data[6], 2);
                                goto resubmit;
                        }
                        hlist_for_each_entry(frag, node, &zd->fraglist, fnode)
 -                              if(frag->seq == (seq&IEEE802_11_SCTL_SEQ))
 +                              if(frag->seq == (seq&IEEE80211_SCTL_SEQ))
                                        break;
                        if (!frag)
                                goto resubmit;
                        ptr = skb_put(skb, len);
                        if (ptr)
                                memcpy(ptr, data+8, len);
 -                      if (fc & IEEE802_11_FCTL_MOREFRAGS)
 +                      if (fc & IEEE80211_FCTL_MOREFRAGS)
                                goto resubmit;
                        hlist_del_init(&frag->fnode);
                        kfree(frag);
This page took 0.032575 seconds and 5 git commands to generate.