Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/powerpc/powerpc



In article <20140318143431.920A298%cvs.netbsd.org@localhost>,
Michael Lorenz <source-changes-d%NetBSD.org@localhost> wrote:
>-=-=-=-=-=-
>
>+#ifdef PPC_OEA601
>+static struct timecounter powerpc_601_timecounter = {
>+      get_601_timecount,      /* get_timecount */
>+      0,                      /* no poll_pps */
>+      0x7fffffff,             /* counter_mask */
>+      0,                      /* frequency */
>+      "rtc",                  /* name */
>+      100,                    /* quality */
>+      NULL,                   /* tc_priv */
>+      NULL                    /* tc_next */
>+};
>+#endif
>+
> static struct timecounter powerpc_timecounter = {
>       get_powerpc_timecount,  /* get_timecount */
>       0,                      /* no poll_pps */
>       0x7fffffff,             /* counter_mask */
>       0,                      /* frequency */
>-#if PPC_OEA601
>-      "rtc",                  /* name */
>-#else
>       "mftb",                 /* name */
>-#endif
>       100,                    /* quality */
>       NULL,                   /* tc_priv */
>       NULL                    /* tc_next */

Can we use c99 field initializers here instead of comments?!?

christos



Home | Main Index | Thread Index | Old Index