Skip to content
Snippets Groups Projects
  1. Jul 08, 2014
  2. Jul 02, 2014
  3. Jun 12, 2014
  4. Jun 11, 2014
  5. Feb 28, 2014
  6. Feb 14, 2014
  7. Feb 12, 2014
  8. Feb 11, 2014
  9. Nov 18, 2013
  10. Nov 04, 2013
  11. Jul 02, 2013
  12. Jun 07, 2013
  13. May 31, 2013
  14. May 20, 2013
  15. May 16, 2013
    • Alessandro Rubini's avatar
      new fmc-bus and fix in destroy(), to match new dev->release · 580113ae
      Alessandro Rubini authored
      
      fmc-bus is now fixed WRT the dev->release(). Now devices are correctly
      released when their use count reaches zero. Thus, we can't release them
      ourselves.
      
      This commit picks the new fmc-bus and adapts th own releae method.
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      580113ae
    • Alessandro Rubini's avatar
      kernel/wr-nic (and doc): disable interrupts if too many · dcafaf66
      Alessandro Rubini authored
      
      When using the SPEC as White Rabbit grandmaster, you need to feed it
      with 10MHz, which would kill the computer with an interrupt flood.
      
      DIO interrupts are now disabled if they consume more than 80% of the
      total time, which usually triggers between 100kHz and 200kHz. Network
      interrupts are not affected.
      
      Thanks to Anders Wallin for reporting the problem and helping in the
      diagnosis.
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      dcafaf66
    • Alessandro Rubini's avatar
      kernel/spec-i2c: bugfix: add delays in bitbanging i2c · 8b7a486f
      Alessandro Rubini authored
      
      This is a long-standing bug, and completely my fault.  Since our i2c
      is simply a bitbanging gpio-based interface, I need to add some delays
      into the operations.  Without this, accessing eeprom worked with most
      mezzanines but not with all of them. The measured speed was more than 1MHz.
      
      The devices are rated at 400kHz, so delay 1.25 usecs at each output
      operation (thus, writing is three such delay for each bit).  Addin the
      unpredictable software delays I see slightly more than than 200kHz
      in my test system.
      
      The driver now takes 2.5s to read the whole eeprom, but there's ample
      space to make it better by fixing the FIXME in spec-i2c.c .
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      8b7a486f