1. 11 11月, 2008 7 次提交
  2. 01 11月, 2008 14 次提交
  3. 28 10月, 2008 3 次提交
  4. 23 10月, 2008 1 次提交
    • C
      p54: enable 2.4/5GHz spectrum by eeprom bits. · 4cc683c9
      Christian Lamparter 提交于
      Badness at /home/proski/src/linux-2.6/net/mac80211/rx.c:2200
      NIP: c02bc850 LR: c02ab268 CTR: 00000000
      REGS: ef01fcc0 TRAP: 0700   Tainted: G        W  (2.6.27-wl)
      MSR: 00029032 <EE,ME,IR,DR>  CR: 22004084  XER: 20000000
      TASK = c1a58800[1778] 'p54pci' THREAD: ef01e000
      [...]
      NIP [c02bc850] __ieee80211_rx+0x17c/0x638
      LR [c02ab268] ieee80211_tasklet_handler+0x104/0x120
      Call Trace:
      [ef01fd70] [c1a0c020] 0xc1a0c020 (unreliable)
      [ef01fdb0] [c02ab268] ieee80211_tasklet_handler+0x104/0x120
      [...]
      
      the problem was that some older cards are mis-identified and didn't support
      5GHz rates, while they have the right MAC & Synth chip.
      
      This patch changes the way how p54 decides if it should enable 11a channels
      or not.
      Reported-by: NPavel Roskin <proski@gnu.org>
      Signed-off-by: NChristian Lamparter <chunkeey@web.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4cc683c9
  5. 15 10月, 2008 2 次提交
  6. 07 10月, 2008 1 次提交
  7. 01 10月, 2008 1 次提交
    • L
      p54: Fix sparse warnings · 1f1c0e33
      Larry Finger 提交于
      The command
      
      make C=2 CF="-D__CHECK_ENDIAN__" drivers/net/wireless/p54/
      
      generates the following warnings:
      
      .../p54common.c:152:38: warning: incorrect type in argument 1 (different base types)
      .../p54common.c:152:38:    expected restricted __be32 const [usertype] *p
      .../p54common.c:152:38:    got unsigned int *<noident>
      .../p54common.c:184:15: warning: restricted __le32 degrades to integer
      .../p54common.c:185:29: warning: cast to restricted __le16
      .../p54common.c:309:11: warning: symbol 'p54_rf_chips' was not declared.
      		        Should it be static?
      .../p54common.c:313:5: warning: symbol 'p54_parse_eeprom' was not declared.
      		       Should it be static?
      .../p54common.c:620:43: warning: incorrect type in argument 3 (different base types)
      .../p54common.c:620:43:    expected unsigned long [unsigned] [usertype] len
      .../p54common.c:620:43:    got restricted __le16 [usertype] len
      .../p54common.c:780:41: warning: restricted __le16 degrades to integer
      .../p54common.c:781:32: warning: restricted __le16 degrades to integer
      .../p54common.c:1250:28: warning: incorrect type in argument 2 (different base types)
      .../p54common.c:1250:28:    expected unsigned short [unsigned] [usertype] filter_type
      .../p54common.c:1250:28:    got restricted __le16 [usertype] filter_type
      .../p54common.c:1252:28: warning: incorrect type in argument 2 (different base types)
      .../p54common.c:1252:28:    expected unsigned short [unsigned] [usertype] filter_type
      .../p54common.c:1252:28:    got restricted __le16 [usertype] filter_type
      .../p54common.c:1257:42: warning: incorrect type in argument 2 (different base types)
      .../p54common.c:1257:42:    expected unsigned short [unsigned] [usertype] filter_type
      .../p54common.c:1257:42:    got restricted __le16
      .../p54common.c:1260:42: warning: incorrect type in argument 2 (different base types)
      .../p54common.c:1260:42:    expected unsigned short [unsigned] [usertype] filter_type
      .../p54common.c:1260:42:    got restricted __le16
      .../p54usb.c:228:10: warning: restricted __le32 degrades to integer
      .../p54usb.c:228:23: warning: restricted __le32 degrades to integer
      .../p54usb.c:228:7: warning: incorrect type in assignment (different base types)
      .../p54usb.c:228:7:    expected restricted __le32 [assigned] [usertype] chk
      .../p54usb.c:228:7:    got unsigned int
      .../p54usb.c:221:8: warning: symbol 'p54u_lm87_chksum' was not declared.
      		    Should it be static?
      
      All of the above have been fixed. One question, however, remains: In struct
      bootrec, the array "data" is treated in many places as native CPU order, but
      it may be little-endian everywhere. As far as I can tell, this driver has only
      been used with little-endian hardware.
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1f1c0e33
  8. 16 9月, 2008 1 次提交
  9. 12 9月, 2008 5 次提交
  10. 09 9月, 2008 2 次提交
  11. 06 9月, 2008 3 次提交