1. 04 5月, 2010 2 次提交
  2. 20 4月, 2010 3 次提交
  3. 24 3月, 2010 1 次提交
  4. 16 3月, 2010 1 次提交
  5. 28 2月, 2010 1 次提交
  6. 20 2月, 2010 1 次提交
    • P
      Introduce PCMCIA_DEVICE_PROD_ID3 · fbc87d67
      Pavel Roskin 提交于
      ...and use it in hostap_cs and orinoco_cs.
      
      Another PCMCIA device with Intersil Prism chipset has been reported:
      
      Socket 0:
        product info: "Gigabyte", "GN-WLM01_P25L_ADAPTER", "ISL37300P", "Eval-RevA"
        manfid: 0x02e0, 0x1011
        function: 6 (network)
      
      As it's the case with some other Prism based devices, the third ID
      string contains a design name that should be sufficient to identify the
      card as having Intersil Prism chipset and thus compatible with both
      orinoco_cs and hostap_cs.
      
      Introduce PCMCIA_DEVICE_PROD_ID3 that matches the third ID string only.
      
      Use it in orinoco_cs and hostap_cs to match cards with the third ID
      string indicating Prism chipset.  Remove corresponding entries that use
      PCMCIA_DEVICE_PROD_ID123.
      Reported-by: NOzzy <ozzymud@gmail.com>
      Signed-off-by: NPavel Roskin <proski@gnu.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      fbc87d67
  7. 13 2月, 2010 1 次提交
  8. 08 1月, 2010 1 次提交
  9. 29 12月, 2009 1 次提交
    • A
      orinoco: fix GFP_KERNEL in orinoco_set_key with interrupts disabled · 5b069150
      Andrey Borzenkov 提交于
      orinoco_set_key is called from two places both with interrupts disabled
      (under orinoco_lock). Use GFP_ATOMIC instead of GFP_KERNEL. Fixes following
      warning:
      
      [   77.254109] WARNING: at /home/bor/src/linux-git/kernel/lockdep.c:2465 lockdep_trace_alloc+0x9a/0xa0()
      [   77.254109] Hardware name: PORTEGE 4000
      [   77.254109] Modules linked in: af_packet irnet ppp_generic slhc ircomm_tty ircomm binfmt_misc dm_mirror dm_region_hash dm_log dm_round_robin dm_multipath dm_mod loop nvram toshiba cryptomgr aead pcompress crypto_blkcipher michael_mic crypto_hash crypto_algapi orinoco_cs orinoco cfg80211 smsc_ircc2 pcmcia irda toshiba_acpi yenta_socket video i2c_ali1535 backlight rsrc_nonstatic ali_agp pcmcia_core psmouse output crc_ccitt i2c_core alim1535_wdt rfkill sg evdev ohci_hcd agpgart usbcore pata_ali libata reiserfs [last unloaded: scsi_wait_scan]
      [   77.254109] Pid: 2296, comm: wpa_supplicant Not tainted 2.6.32-1avb #1
      [   77.254109] Call Trace:
      [   77.254109]  [<c011f0ad>] warn_slowpath_common+0x6d/0xa0
      [   77.254109]  [<c014206a>] ? lockdep_trace_alloc+0x9a/0xa0
      [   77.254109]  [<c014206a>] ? lockdep_trace_alloc+0x9a/0xa0
      [   77.254109]  [<c011f0f5>] warn_slowpath_null+0x15/0x20
      [   77.254109]  [<c014206a>] lockdep_trace_alloc+0x9a/0xa0
      [   77.254109]  [<c018d296>] __kmalloc+0x36/0x130
      [   77.254109]  [<dffcb6a8>] ? orinoco_set_key+0x48/0x1c0 [orinoco]
      [   77.254109]  [<dffcb6a8>] orinoco_set_key+0x48/0x1c0 [orinoco]
      [   77.254109]  [<dffcb9fc>] orinoco_ioctl_set_encodeext+0x1dc/0x2d0 [orinoco]
      [   77.254109]  [<c035b117>] ioctl_standard_call+0x207/0x3b0
      [   77.254109]  [<dffcb820>] ? orinoco_ioctl_set_encodeext+0x0/0x2d0 [orinoco]
      [   77.254109]  [<c0307f1f>] ? rtnl_lock+0xf/0x20
      [   77.254109]  [<c0307f1f>] ? rtnl_lock+0xf/0x20
      [   77.254109]  [<c02fb115>] ? __dev_get_by_name+0x85/0xb0
      [   77.254109]  [<c035b616>] wext_handle_ioctl+0x176/0x200
      [   77.254109]  [<dffcb820>] ? orinoco_ioctl_set_encodeext+0x0/0x2d0 [orinoco]
      [   77.254109]  [<c030020f>] dev_ioctl+0x6af/0x730
      [   77.254109]  [<c02eec65>] ? move_addr_to_kernel+0x55/0x60
      [   77.254109]  [<c02eed59>] ? sys_sendto+0xe9/0x130
      [   77.254109]  [<c02ed77e>] sock_ioctl+0x7e/0x250
      [   77.254109]  [<c02ed700>] ? sock_ioctl+0x0/0x250
      [   77.254109]  [<c019cf4c>] vfs_ioctl+0x1c/0x70
      [   77.254109]  [<c019d1fa>] do_vfs_ioctl+0x6a/0x590
      [   77.254109]  [<c0178e50>] ? might_fault+0x90/0xa0
      [   77.254109]  [<c0178e0a>] ? might_fault+0x4a/0xa0
      [   77.254109]  [<c02ef90e>] ? sys_socketcall+0x17e/0x280
      [   77.254109]  [<c019d759>] sys_ioctl+0x39/0x60
      [   77.254109]  [<c0102e3b>] sysenter_do_call+0x12/0x32
      [   77.254109] ---[ end trace 95ef563548d21efd ]---
      Signed-off-by: NAndrey Borzenkov <arvidjaar@mail.ru>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      5b069150
  10. 08 12月, 2009 1 次提交
  11. 29 11月, 2009 2 次提交
    • D
      pcmcia: rework the irq_req_t typedef · 5fa9167a
      Dominik Brodowski 提交于
      Most of the irq_req_t typedef'd struct can be re-worked quite
      easily:
      
      (1) IRQInfo2 was unused in any case, so drop it.
      
      (2) IRQInfo1 was used write-only, so drop it.
      
      (3) Instance (private data to be passed to the IRQ handler):
      	Most PCMCIA drivers using pcmcia_request_irq() to actually
      	register an IRQ handler set the "dev_id" to the same pointer
      	as the "priv" pointer in struct pcmcia_device. Modify the two
      	exceptions (ipwireless, ibmtr_cs) to also work this waym and
      	set the IRQ handler's "dev_id" to p_dev->priv unconditionally.
      
      (4) Handler is to be of type irq_handler_t.
      
      (5) Handler != NULL already tells whether an IRQ handler is present.
      	Therefore, we do not need the IRQ_HANDLER_PRESENT flag in
      	irq_req_t.Attributes.
      
      CC: netdev@vger.kernel.org
      CC: linux-bluetooth@vger.kernel.org
      CC: linux-ide@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      CC: linux-scsi@vger.kernel.org
      CC: alsa-devel@alsa-project.org
      CC: Jaroslav Kysela <perex@perex.cz>
      CC: Jiri Kosina <jkosina@suse.cz>
      CC: Karsten Keil <isdn@linux-pingi.de>
      for the Bluetooth parts: Acked-by: Marcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      5fa9167a
    • D
      pcmcia: remove deprecated handle_to_dev() macro · dd2e5a15
      Dominik Brodowski 提交于
      Update remaining users and remove deprecated handle_to_dev() macro
      
      CC: Harald Welte <laforge@gnumonks.org>
      CC: netdev@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      CC: linux-serial@vger.kernel.org
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      dd2e5a15
  12. 12 11月, 2009 1 次提交
  13. 09 11月, 2009 2 次提交
  14. 31 10月, 2009 1 次提交
  15. 28 10月, 2009 1 次提交
  16. 08 10月, 2009 3 次提交
    • R
      wireless: fix CFG80211_WEXT build problems · c6d3597c
      Randy Dunlap 提交于
      Fix CFG80211_WEXT build dependencies/errors:
      
      ERROR: "cfg80211_wext_siwscan" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
      ERROR: "cfg80211_wext_siwmode" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
      ERROR: "cfg80211_wext_giwrange" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
      ERROR: "cfg80211_wext_giwmode" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
      ERROR: "cfg80211_wext_giwname" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
      ERROR: "cfg80211_wext_giwscan" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
      ERROR: "cfg80211_wext_giwname" [drivers/net/wireless/ipw2x00/ipw2200.ko] undefined!
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      c6d3597c
    • J
      orinoco: support ETHTOOL_GPERMADDR · cf32ed92
      John W. Linville 提交于
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      cf32ed92
    • J
      wext: refactor · 3d23e349
      Johannes Berg 提交于
      Refactor wext to
       * split out iwpriv handling
       * split out iwspy handling
       * split out procfs support
       * allow cfg80211 to have wireless extensions compat code
         w/o CONFIG_WIRELESS_EXT
      
      After this, drivers need to
       - select WIRELESS_EXT	- for wext support
       - select WEXT_PRIV	- for iwpriv support
       - select WEXT_SPY	- for iwspy support
      
      except cfg80211 -- which gets new hooks in wext-core.c
      and can then get wext handlers without CONFIG_WIRELESS_EXT.
      
      Wireless extensions procfs support is auto-selected
      based on PROC_FS and anything that requires the wext core
      (i.e. WIRELESS_EXT or CFG80211_WEXT).
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3d23e349
  17. 01 9月, 2009 1 次提交
  18. 20 8月, 2009 1 次提交
  19. 18 8月, 2009 1 次提交
  20. 14 8月, 2009 6 次提交
  21. 05 8月, 2009 1 次提交
  22. 13 7月, 2009 1 次提交
  23. 11 7月, 2009 6 次提交