[BACK]Return to sbp.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / ieee1394

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/ieee1394/sbp.c between version 1.1 and 1.2

version 1.1, 2005/07/11 15:29:05 version 1.2, 2005/08/29 17:20:31
Line 863  sbp_login(struct sbp_dev *sdev)
Line 863  sbp_login(struct sbp_dev *sdev)
         timevalsub(&t, &delta);          timevalsub(&t, &delta);
         if (t.tv_sec >= 0 && t.tv_usec > 0)          if (t.tv_sec >= 0 && t.tv_usec > 0)
                 ticks = (t.tv_sec * 1000 + t.tv_usec / 1000) * hz / 1000;                  ticks = (t.tv_sec * 1000 + t.tv_usec / 1000) * hz / 1000;
 #if defined(__NetBSD__) && defined(cobalt)  
         /* XXXX boot time for cobalt */  
         if (sdev->target->sbp->last_busreset.tv_sec == 0)  
                 ticks = hz * 2;  
 #endif  
 SBP_DEBUG(0)  SBP_DEBUG(0)
         printf("%s: sec = %ld usec = %ld ticks = %d\n", __func__,          printf("%s: sec = %ld usec = %ld ticks = %d\n", __func__,
             t.tv_sec, t.tv_usec, ticks);              t.tv_sec, t.tv_usec, ticks);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb <webmaster@jp.NetBSD.org>