1. 16 May, 2016 1 commit
  2. 01 Sep, 2015 1 commit
    • Alessandro Rubini's avatar
      general: cleanup prototypes · 1acf50d1
      Alessandro Rubini authored
      This adds -Wstrict-prototypes -Wmissing-prototypes and takes actions
      accordingly.
      
      Some of the solutions are ugly, especially in the bare architectures,
      but I prefer to be warned if I take dangerous paths wrt prototypes while
      writing further code.
      
      I'm upset by those two not being included in -Wall, as they used to.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      1acf50d1
  3. 07 Nov, 2014 1 commit
  4. 22 Sep, 2014 1 commit
    • Alessandro Rubini's avatar
      general: rename freq_ppm to freq_ppb (and fix arch-bare) · aa29b554
      Alessandro Rubini authored
      All adjustments are passed as part-per-billion, so after getting mad
      in understanding what freq_ppm was, I renamed all of them to freq_ppb.
      
      While making changes I verified this is what it is. Thus I fixed the comment
      in ppsi.h (that was wrong by a factor of 64) and the adjustment code in
      bare-time.c that made the same error (I admit I don't test arch-bare often).
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      aa29b554
  5. 21 Jul, 2014 1 commit
  6. 05 Oct, 2013 2 commits
  7. 31 Jul, 2013 1 commit
    • Alessandro Rubini's avatar
      general: rephrase copyright notices (no tech effect) · 23033d8a
      Alessandro Rubini authored
      This changes all "Name Surname for CERN" to "Copyright CERN, author
      Name Surname".  This is trivial and makes no change, with a few
      expections:
      
      - all trivial Makefiles that had "for CERN" lines have now no
      attributions, as they are trivial anyways.
      
      - a few unrepresented files have not the copyright notice (especially
      ptpdump, that I wrote in 2012).
      
      - a few "for CERN" remain in subprojects, where I didn't touch anyrhing
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      23033d8a
  8. 23 May, 2013 2 commits
  9. 15 May, 2013 1 commit
  10. 23 Apr, 2013 1 commit
  11. 07 Mar, 2013 3 commits
    • Alessandro Rubini's avatar
      diag: use new diagnostics for time · c946dca5
      Alessandro Rubini authored
      This is the result, on a master, with "-d 02":
      
      diag-time-2-eth0: posix_time_get:  1362675879.940187923
      diag-time-1-eth0: timeout expired: PP_TO_ANN_INTERVAL
      diag-time-2-eth0: posix_time_get:  1362675880.081818439
      diag-time-2-eth0: posix_time_get:  1362675880.233227916
      diag-time-2-eth0: recv stamp: 1362675880.233227916 (user)
      diag-time-2-eth0: posix_time_get:  1362675880.233499803
      diag-time-1-eth0: timeout expired: PP_TO_SYNC
      
      (time level 1 reports timeouts and set, level 2 reports get-time too).
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      c946dca5
    • Alessandro Rubini's avatar
      general: add ppi argument to all time operations · 11ee59c0
      Alessandro Rubini authored
      Unfortunately, we need to pass ppi to the time operations, so we
      can have per-instance logging options. This is the second time I found
      the need for such extra argument: the first time I worked it around, now
      I surrender.
      
      Actually, I don't find it unlikely for a multi-instance process to
      spit a lot of diagnostics about timestamps. A developer may need to
      filter messages according to who is tiemstamping/timing out etc.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      11ee59c0
    • Alessandro Rubini's avatar
      5e595126
  12. 04 Mar, 2013 3 commits
    • Alessandro Rubini's avatar
      general: time operations are now per-instance · 7837d938
      Alessandro Rubini authored
      This commit moves the time operations inside the instance.  It
      allows to have different time operations for each instance, which will be
      useful in the future. For example, one ethernet card may White Rabbit,
      and another may not be.
      
      This commit, like moving network operations inside ppi, requires a
      change in wrpc-sw.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      7837d938
    • Alessandro Rubini's avatar
      arch-bare-*: unify common code · 4220b51a
      Alessandro Rubini authored
      This unifies all bare-linux common code. It's an out-of-context commit
      (as I'm not adding bare-arm today) but I prefer to avoid doing the same
      change twice in things that are going to change these days.
      
      BTW: this commit introduces no changes in the binary files generated,
      with the exception of a small difference between i386 and x86-64 in
      the receive buffer.  This keeps the x86-64 version but i386 was not
      working anyways (and still doesn't work).  That bug fix is in my queue,
      but I've other things to do first with ppsi.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      4220b51a
    • Alessandro Rubini's avatar
      diag: avoid needless get_time reports · 57ef61c3
      Alessandro Rubini authored
      pp_timed_printf is a great resource, but we need to temporarily
      silence diagnostic printing in  time_ops.get, in order to be able to
      tell stamping-related calls to just printf-related ones.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      57ef61c3
  13. 02 Mar, 2013 2 commits
  14. 28 Feb, 2013 1 commit
  15. 27 Feb, 2013 2 commits