1. 06 8月, 2013 1 次提交
    • J
      net: micrel: Staticize local functions · 51a700db
      Jingoo Han 提交于
      These local functions are used only in this file.
      Fix the following sparse warnings:
      
      drivers/net/ethernet/micrel/ks8842.c:708:6: warning: symbol 'ks8842_handle_rx' was not declared. Should it be static?
      drivers/net/ethernet/micrel/ks8842.c:718:6: warning: symbol 'ks8842_handle_tx' was not declared. Should it be static?
      drivers/net/ethernet/micrel/ks8842.c:727:6: warning: symbol 'ks8842_handle_rx_overrun' was not declared. Should it be static?
      drivers/net/ethernet/micrel/ks8842.c:735:6: warning: symbol 'ks8842_tasklet' was not declared. Should it be static?
      drivers/net/ethernet/micrel/ks8851_mll.c:691:6: warning: symbol 'ks_enable_qmu' was not declared. Should it be static?
      Signed-off-by: NJingoo Han <jg1.han@samsung.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      51a700db
  2. 28 5月, 2013 1 次提交
  3. 04 1月, 2013 1 次提交
  4. 04 12月, 2012 1 次提交
  5. 22 4月, 2012 1 次提交
  6. 21 3月, 2012 1 次提交
  7. 16 2月, 2012 1 次提交
  8. 29 11月, 2011 1 次提交
    • A
      net/ethernet: convert drivers/net/ethernet/* to use module_platform_driver() · db62f684
      Axel Lin 提交于
      This patch converts the drivers in drivers/net/ethernet/* to use the
      module_platform_driver() macro which makes the code smaller and a bit
      simpler.
      
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Pantelis Antoniou <pantelis.antoniou@gmail.com>
      Cc: Vitaly Bordug <vbordug@ru.mvista.com>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Cc: Nicolas Pitre <nico@fluxnic.net>
      Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
      Cc: Marc Kleine-Budde <mkl@pengutronix.de>
      Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      Cc: Jiri Pirko <jpirko@redhat.com>
      Cc: Daniel Hellstrom <daniel@gaisler.com>
      Cc: Alexey Dobriyan <adobriyan@gmail.com>
      Cc: Tobias Klauser <tklauser@distanz.ch>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Richard Cochran <richard.cochran@omicron.at>
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: Sebastian Poehn <sebastian.poehn@belden.com>
      Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Cc: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
      Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Acked-by: NWan ZongShun <mcuos.com@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      db62f684
  9. 12 8月, 2011 1 次提交
  10. 07 6月, 2011 1 次提交
  11. 01 6月, 2011 1 次提交
  12. 27 5月, 2011 1 次提交
  13. 31 3月, 2011 1 次提交
  14. 23 3月, 2011 1 次提交
  15. 28 7月, 2010 2 次提交
    • D
      ks8842: Fix warnings on 64-bit. · bd280635
      David S. Miller 提交于
      drivers/net/ks8842.c:922:26: warning: cast from pointer to integer of different size
      drivers/net/ks8842.c:940:17: warning: cast to pointer from integer of different size
      drivers/net/ks8842.c:963:17: warning: cast to pointer from integer of different size
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bd280635
    • R
      ks8842: Support DMA when accessed via timberdale · 94fe8c68
      Richard Röjfors 提交于
      This patch adds support for RX and TX DMA via the DMA API,
      this is only supported when the KS8842 is accessed via timberdale.
      
      There is no support for DMA on the generic bus interface it self,
      a state machine inside the FPGA is handling RX and TX transfers to/from
      buffers in the FPGA. The host CPU can do DMA to and from these buffers.
      
      The FPGA has to handle the RX interrupts, so these must be enabled in
      the ks8842 but not in the FPGA. The driver must not disable the RX interrupt
      that would mean that the data transfers into the FPGA buffers would stop.
      
      The host shall not enable TX interrupts since TX is handled by the FPGA,
      the host is notified by DMA callbacks when transfers are finished.
      
      Which DMA channels to use are added as parameters in the platform data struct.
      Signed-off-by: NRichard Röjfors <richard.rojfors@pelagicore.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      94fe8c68
  16. 27 7月, 2010 1 次提交
  17. 20 7月, 2010 1 次提交
  18. 14 7月, 2010 1 次提交
  19. 09 7月, 2010 2 次提交
  20. 06 7月, 2010 1 次提交
  21. 22 4月, 2010 1 次提交
  22. 17 3月, 2010 1 次提交
    • J
      drivers/net/ks*: Use netdev_<level>, netif_<level> and pr_<level> · 0dc7d2b3
      Joe Perches 提交于
      I'm not sure this is correct.
      
      It changes logging macros from:
      	dev_<level>(&ks->spidev->dev,
      to
      	netdev_<level>(ks->netdev,
      
      Comments?
      
      Use netdev_<level>
      Use netif_<level>
      Use pr_<level>
      Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
      Add missing line to message in ks8851_remove
      Change kmalloc/memset(,0) to kzalloc
      Remove ks_<level> macros
      Consolidation code into set_media_state
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0dc7d2b3
  23. 14 10月, 2009 1 次提交
  24. 02 9月, 2009 1 次提交
  25. 01 9月, 2009 1 次提交
  26. 08 6月, 2009 1 次提交