1. 11 Sep, 2012 34 commits
  2. 07 Sep, 2012 6 commits
    • Gertjan van Wingerde's avatar
      rt2x00: rt2800 - Make probe_hw function common between PCI and USB. · ad417a53
      Gertjan van Wingerde authored
      Refactor the probe_hw code so that more code can be shared between
      rt2800pci and rt2800usb.
      Signed-off-by: default avatarGertjan van Wingerde <gwingerde@gmail.com>
      Acked-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      ad417a53
    • Gertjan van Wingerde's avatar
      rt2x00: Unify GPIO register field namings · 99bdf51a
      Gertjan van Wingerde authored
      The various rt2x00 drivers use different methods to name the different
      GPIO register fields indicating the GPIO pin value and the fields
      indicating the direction.
      Start using a unified naming scheme for the GPIO register fields:
      	- <csr>_VAL<x> for fields indicating the GPIO pin value.
      	- <csr>_DIR<x> for fields indicating the GPIO pin direction.
      Signed-off-by: default avatarGertjan van Wingerde <gwingerde@gmail.com>
      Acked-by: default avatarIvo Van Doorn <ivdoorn@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      99bdf51a
    • Gertjan van Wingerde's avatar
      rt2x00: Align GPIO register definitions with the datasheets. · 605b5518
      Gertjan van Wingerde authored
      Ensure that all active GPIO pins are included in the GPIO register
      definitions, nothing more and nothing less.
      Signed-off-by: default avatarGertjan van Wingerde <gwingerde@gmail.com>
      Acked-by: default avatarIvo Van Doorn <ivdoorn@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      605b5518
    • John W. Linville's avatar
    • Larry Finger's avatar
      rtlwifi: Update header file · 2461c7d6
      Larry Finger authored
      The latest version of the vendor driver for the rtlwifi family
      includes many changes. This patch incorporates the difference
      in the main header file.
      Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      2461c7d6
    • Larry Finger's avatar
      rtlwifi: rtl8192c: rtl8192ce: rtl8192cu: rtl8192se: Remove sparse warnings · 8e2c406a
      Larry Finger authored
      The rtlwifi family of drivers has the following sparse errors:
      
        CHECK   drivers/net/wireless/rtlwifi/usb.c
      drivers/net/wireless/rtlwifi/usb.c:122:17: warning: cast to restricted __le32
        CHECK   drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c
      drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c:1157:13: warning: context imbalance in 'rtl92c_dm_refresh_rate_adaptive_mask' - different lock contexts for basic block
        CHECK   drivers/net/wireless/rtlwifi/rtl8192ce/hw.c
      drivers/net/wireless/rtlwifi/rtl8192ce/hw.c:1909:30: warning: cast to restricted __le32
        CHECK   drivers/net/wireless/rtlwifi/rtl8192ce/sw.c
      drivers/net/wireless/rtlwifi/rtl8192ce/sw.c:345:1: warning: symbol 'rtl92ce_pci_ids' was not declared. Should it be static?
        CHECK   drivers/net/wireless/rtlwifi/rtl8192cu/trx.c
      drivers/net/wireless/rtlwifi/rtl8192cu/trx.c:494:9: warning: cast from restricted __le16
        CHECK   drivers/net/wireless/rtlwifi/rtl8192se/fw.c
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:490:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:490:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:494:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:494:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:499:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:499:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:510:25: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:510:25: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:607:9: warning: cast to restricted __le16
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:607:9: warning: cast to restricted __le16
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:650:9: warning: cast to restricted __le16
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:650:9: warning: cast to restricted __le16
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:652:9: warning: cast to restricted __le16
      drivers/net/wireless/rtlwifi/rtl8192se/fw.c:652:9: warning: cast to restricted __le16
        CHECK   drivers/net/wireless/rtlwifi/rtl8192se/trx.c
      drivers/net/wireless/rtlwifi/rtl8192se/trx.c:758:9: warning: cast from restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/trx.c:788:17: warning: cast from restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/trx.c:804:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/trx.c:804:17: warning: cast to restricted __le32
      drivers/net/wireless/rtlwifi/rtl8192se/trx.c:807:17: warning: cast from restricted __le32
      Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      8e2c406a