1. 18 7月, 2012 2 次提交
  2. 21 6月, 2012 1 次提交
  3. 07 6月, 2012 2 次提交
  4. 17 4月, 2012 2 次提交
  5. 12 4月, 2012 2 次提交
  6. 06 4月, 2012 1 次提交
    • S
      simple_open: automatically convert to simple_open() · 234e3405
      Stephen Boyd 提交于
      Many users of debugfs copy the implementation of default_open() when
      they want to support a custom read/write function op.  This leads to a
      proliferation of the default_open() implementation across the entire
      tree.
      
      Now that the common implementation has been consolidated into libfs we
      can replace all the users of this function with simple_open().
      
      This replacement was done with the following semantic patch:
      
      <smpl>
      @ open @
      identifier open_f != simple_open;
      identifier i, f;
      @@
      -int open_f(struct inode *i, struct file *f)
      -{
      (
      -if (i->i_private)
      -f->private_data = i->i_private;
      |
      -f->private_data = i->i_private;
      )
      -return 0;
      -}
      
      @ has_open depends on open @
      identifier fops;
      identifier open.open_f;
      @@
      struct file_operations fops = {
      ...
      -.open = open_f,
      +.open = simple_open,
      ...
      };
      </smpl>
      
      [akpm@linux-foundation.org: checkpatch fixes]
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      234e3405
  7. 16 3月, 2012 1 次提交
  8. 08 3月, 2012 2 次提交
  9. 28 2月, 2012 5 次提交
  10. 16 12月, 2011 2 次提交
  11. 10 11月, 2011 1 次提交
  12. 01 11月, 2011 1 次提交
  13. 12 10月, 2011 1 次提交
  14. 28 9月, 2011 1 次提交
  15. 17 9月, 2011 1 次提交
  16. 15 9月, 2011 3 次提交
  17. 31 8月, 2011 1 次提交
  18. 30 8月, 2011 1 次提交
  19. 25 8月, 2011 1 次提交
  20. 10 8月, 2011 2 次提交
  21. 19 7月, 2011 1 次提交
  22. 04 6月, 2011 1 次提交
  23. 02 6月, 2011 2 次提交
    • M
      ath9k: Add a debug entry to start/stop ANI · 05c0be2f
      Mohammed Shafi Shajakhan 提交于
      this helps the user to start/stop ANI dynamically.
      Signed-off-by: NMohammed Shafi Shajakhan <mshajakhan@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      05c0be2f
    • F
      ath9k: unify edma and non-edma tx code, improve tx fifo handling · fce041be
      Felix Fietkau 提交于
      EDMA based chips (AR9380+) have 8 Tx FIFO slots, which are used to fix the
      tx queue start/stop race conditions which have to be worked around for
      earlier chips by keeping the last descriptor in the queue. The current code
      stores all frames that do not fit onto the 8 FIFO slots in a separate
      list. Whenever a FIFO slot is freed up, the next frame (or A-MPDU) from the
      pending queue gets moved to that slot.
      
      This process is not only inefficient, but also unnecessary. The code can
      be improved visibly by keeping the pending queue fully linked, and moving
      the contents of the entire queue to a FIFO slot as it becomes available.
      
      This patch makes the necessary changes for that and also merges some code
      that was duplicated for EDMA vs non-EDMA. It changes txq->axq_link to point
      to the last descriptor instead of the link pointer, so that
      ath9k_hw_set_desc_link can be used, which works on all chips.
      
      With this patch, a small performance increase for non-aggregated traffic
      was observed on AR9380 based embedded hardware.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      fce041be
  24. 20 5月, 2011 2 次提交
  25. 19 5月, 2011 1 次提交