1. 15 Sep, 2013 5 commits
    • Alessandro Rubini's avatar
      servo: trivial fix: rename of a field · 3fc858d2
      Alessandro Rubini authored
      This renames "ofst_first_updated" (wrongly a runtime option) into
      "t1_t2_valid" as a servo field. This makes thing more readable and
      is a fix in that it allows more than one servo to coexist in the future.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      3fc858d2
    • Alessandro Rubini's avatar
      servo: minor changes (negligible technical effect) · 4741d553
      Alessandro Rubini authored
      This commit is another step in simplifying the servo. It makes the following
      changes:
      
      - format_TimeInternal is just moved (no effect)
      
      - pp_update_offset() and __pp_update_clock() are squashed together.
      
      They were called in sequence anyways, as two halves of a single thing.
      This changes the error return paths, because the whole procedure is
      aborted in case of error.  I've never seen such errors, but I think if
      something is "aborted" it should not proceed.
      
      One non-error return from the first half is turned into a goto, to avoid
      changing indentation (that appears in the commit diff).
      
      - the meaning of "ofst_first_updated" is slightly changed.
      
      If we get an error in the sync phase the bit is cleared so delay-resp
      won't use the tuple.  The field is then renamed in the next commit.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      4741d553
    • Alessandro Rubini's avatar
      227f1b30
    • Alessandro Rubini's avatar
      servo: rename some functions (no technical effect) · dc5a6c4e
      Alessandro Rubini authored
      The servo implementation we brought forward from ptpd was strange
      and difficult to understand. This commit is the first step in trying
      to make some order, but it doesn't actually change anything but names.
      
      The entry points for the servo are now called pp_servo_init(),
      pp_servo_got_sync() and pp_servo_got_resp().  A two-step protocol
      calls got_sync after getting the follow-up message.
      
      Also, the hook for response messages is called handle_resp with a
      name similar to the hooks for sync and follow-up.
      
      The servo itself is not changed, but I reordered the functions so
      the calculations appear in the real order in which they happen.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      dc5a6c4e
    • Alessandro Rubini's avatar
  2. 11 Sep, 2013 6 commits
  3. 09 Sep, 2013 4 commits
  4. 04 Sep, 2013 4 commits
  5. 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
  6. 30 Jul, 2013 1 commit
  7. 26 Jul, 2013 11 commits
  8. 25 Jul, 2013 6 commits
  9. 07 Jul, 2013 2 commits