1. 25 3月, 2014 1 次提交
  2. 17 1月, 2014 2 次提交
    • B
      dm9000: fix a lot of checkpatch issues · 5b22721d
      Barry Song 提交于
      recently, dm9000 codes have many checkpatch errors and warnings:
      
      WARNING: please, no space before tabs
      3: FILE: dm9000.c:3:
      + * ^ICopyright (C) 1997  Sten Wang$
      
      WARNING: please, no space before tabs
      5: FILE: dm9000.c:5:
      + * ^IThis program is free software; you can redistribute it and/or$
      
      WARNING: please, no space before tabs
      6: FILE: dm9000.c:6:
      + * ^Imodify it under the terms of the GNU General Public License$
      
      WARNING: please, no space before tabs
      7: FILE: dm9000.c:7:
      + * ^Ias published by the Free Software Foundation; either version 2$
      
      WARNING: please, no space before tabs
      8: FILE: dm9000.c:8:
      + * ^Iof the License, or (at your option) any later version.$
      
      WARNING: please, no space before tabs
      10: FILE: dm9000.c:10:
      + * ^IThis program is distributed in the hope that it will be useful,$
      
      WARNING: please, no space before tabs
      11: FILE: dm9000.c:11:
      + * ^Ibut WITHOUT ANY WARRANTY; without even the implied warranty of$
      
      WARNING: please, no space before tabs
      12: FILE: dm9000.c:12:
      + * ^IMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the$
      
      WARNING: please, no space before tabs
      13: FILE: dm9000.c:13:
      + * ^IGNU General Public License for more details.$
      
      WARNING: do not add new typedefs
      97: FILE: dm9000.c:97:
      +typedef struct board_info {
      
      ERROR: spaces prohibited around that ':' (ctx:WxV)
      113: FILE: dm9000.c:113:
      +	unsigned int	in_suspend :1;
       	            	           ^
      
      ERROR: spaces prohibited around that ':' (ctx:WxV)
      114: FILE: dm9000.c:114:
      +	unsigned int	wake_supported :1;
       	            	               ^
      
      This patch fixes important errors in it.
      Signed-off-by: NBarry Song <Baohua.Song@csr.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5b22721d
    • P
      drivers/net: delete non-required instances of include <linux/init.h> · a81ab36b
      Paul Gortmaker 提交于
      None of these files are actually using any __init type directives
      and hence don't need to include <linux/init.h>.   Most are just a
      left over from __devinit and __cpuinit removal, or simply due to
      code getting copied from one driver to the next.
      
      This covers everything under drivers/net except for wireless, which
      has been submitted separately.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a81ab36b
  3. 18 10月, 2013 4 次提交
  4. 03 10月, 2013 1 次提交
  5. 31 8月, 2013 1 次提交
  6. 28 5月, 2013 1 次提交
  7. 21 5月, 2013 1 次提交
  8. 18 5月, 2013 1 次提交
  9. 01 4月, 2013 1 次提交
    • J
      DM9000B: driver initialization upgrade · 6741f40d
      Joseph CHANG 提交于
      Fix bug for DM9000 revision B which contain a DSP PHY
      
      DM9000B use DSP PHY instead previouse DM9000 revisions' analog PHY,
      So need extra change in initialization, For
      explicity PHY Reset and PHY init parameter, and
      first DM9000_NCR reset need NCR_MAC_LBK bit by dm9000_probe().
      
      Following DM9000_NCR reset cause by dm9000_open() clear the
      NCR_MAC_LBK bit.
      
      Without this fix, Power-up FIFO pointers error happen around 2%
      rate among Davicom's customers' boards. With this fix, All above
      cases can be solved.
      Signed-off-by: NJoseph CHANG <josright123@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6741f40d
  10. 19 3月, 2013 1 次提交
  11. 07 1月, 2013 1 次提交
  12. 11 12月, 2012 1 次提交
    • M
      net: dm9000: use io{read,write}*_rep accessors · daadaf6f
      Matthew Leach 提交于
      The {read,write}s{b,w,l} operations are not defined by all
      architectures and are being removed from the asm-generic/io.h
      interface.
      
      This patch replaces the usage of these string functions in the default
      DM9000 accessors with io{read,write}{8,16,32}_rep calls instead. This
      is required as the dm9000 driver is in use by the blackfin
      architecture which uses the asm-generic io accessors.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Ben Herrenschmidt <benh@kernel.crashing.org>
      Cc: David Miller <davem@davemloft.net>
      Cc: netdev@vger.kernel.org
      Signed-off-by: NMatthew Leach <matthew@mattleach.net>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      daadaf6f
  13. 04 12月, 2012 1 次提交
  14. 16 2月, 2012 1 次提交
  15. 07 2月, 2012 1 次提交
  16. 01 2月, 2012 1 次提交
  17. 27 11月, 2011 1 次提交
  18. 17 11月, 2011 1 次提交
  19. 21 8月, 2011 1 次提交
  20. 18 8月, 2011 1 次提交
  21. 13 8月, 2011 1 次提交
  22. 12 6月, 2011 1 次提交
  23. 07 6月, 2011 1 次提交
  24. 02 6月, 2011 1 次提交
    • M
      net: dm9000: Get the chip in a known good state before enabling interrupts · 6979d5dd
      Mark Brown 提交于
      Currently the DM9000 driver requests the primary interrupt before it
      resets the chip and puts it into a known good state. This means that if
      the chip is asserting interrupt for some reason we can end up with a
      screaming IRQ that the interrupt handler is unable to deal with. Avoid
      this by only requesting the interrupt after we've reset the chip so we
      know what state it's in.
      
      This started manifesting itself on one of my boards in the past month or
      so, I suspect as a result of some core infrastructure changes removing
      some form of mitigation against bad behaviour here, even when things boot
      it seems that the new code brings the interface up more quickly.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6979d5dd
  25. 19 4月, 2011 1 次提交
  26. 16 4月, 2011 1 次提交
  27. 29 3月, 2011 1 次提交
  28. 01 3月, 2011 1 次提交
  29. 24 2月, 2011 2 次提交
  30. 18 11月, 2010 1 次提交
  31. 03 9月, 2010 1 次提交
  32. 03 6月, 2010 1 次提交
  33. 18 5月, 2010 1 次提交
    • B
      dm9000: fix "BUG: spinlock recursion" · 380fefb2
      Baruch Siach 提交于
      dm9000_set_rx_csum and dm9000_hash_table are called from atomic context (in
      dm9000_init_dm9000), and from non-atomic context (via ethtool_ops and
      net_device_ops respectively). This causes a spinlock recursion BUG. Fix this by
      renaming these functions to *_unlocked for the atomic context, and make the
      original functions locking wrappers for use in the non-atomic context.
      Signed-off-by: NBaruch Siach <baruch@tkos.co.il>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      380fefb2
  34. 10 5月, 2010 1 次提交
  35. 04 4月, 2010 1 次提交
    • J
      net: convert multicast list to list_head · 22bedad3
      Jiri Pirko 提交于
      Converts the list and the core manipulating with it to be the same as uc_list.
      
      +uses two functions for adding/removing mc address (normal and "global"
       variant) instead of a function parameter.
      +removes dev_mcast.c completely.
      +exposes netdev_hw_addr_list_* macros along with __hw_addr_* functions for
       manipulation with lists on a sandbox (used in bonding and 80211 drivers)
      Signed-off-by: NJiri Pirko <jpirko@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      22bedad3