1. 01 Sep, 2009 1 commit
  2. 06 Jul, 2009 1 commit
  3. 08 Jan, 2009 1 commit
  4. 05 Jan, 2009 1 commit
  5. 19 Dec, 2008 1 commit
    • Baruch Siach's avatar
      enc28j60: reduce the number of spi transfers in enc28j60_set_bank() · 5664dd55
      Baruch Siach authored
      
      A major source of overhead in the enc28j60 driver is the SPI transfers. Each
      SPI transfer entails two kernel thread context switches. One major source of
      SPI transfers is the enc28j60_set_bank() functions which runs before every
      register access. This patch reduces the number of SPI transfers that
      enc28j60_set_bank() performs in two ways:
      
        1. removes unnecessary bank switch for the registers that are present in all
      	 banks
      
        2. when switching from banks 0 or 3 to banks 1 or 2 (i.e. only one bit
      	 changes) enc28j60_set_bank() does only one SPI transfer instead of two
      
      According to my tests these changes reduce the number of SPI transfers in
      about 25%.
      Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5664dd55
  6. 16 Dec, 2008 1 commit
  7. 04 Dec, 2008 1 commit
  8. 10 Nov, 2008 1 commit
  9. 04 Nov, 2008 1 commit
  10. 28 Oct, 2008 1 commit
  11. 24 Sep, 2008 1 commit
  12. 29 Jul, 2008 1 commit
    • David Brownell's avatar
      enc28j60: don't specify (wrong) IRQ type · c7b7b042
      David Brownell authored
      
      Recent changes to the IRQ framework have made passing the wrong
      trigger type to request_irq() become a fatal error.  In the case
      of the enc28j60 driver, it stopped working in my test harness.
      
      (Specifically:  the signal detects "pin change" events, both edges,
      not just falling edges.  Similarly, other boards might route it
      through an inverter.  Trigger type are board-specific.)
      
      This fixes that problem by the usual fix of expecting board setup
      code to have set up the correct IRQ trigger type.  The best known
      example of that being x86 setup.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      c7b7b042
  13. 18 Jun, 2008 2 commits
  14. 06 Mar, 2008 1 commit
  15. 28 Jan, 2008 1 commit