Re: CVS commit: src/sys/net

2018-12-14 Thread Rin Okuyama

Thank you for finding it out. I removed it in accident.

rin

On 2018/12/14 21:27, Martin Husemann wrote:

Module Name:src
Committed By:   martin
Date:   Fri Dec 14 12:27:22 UTC 2018

Modified Files:
src/sys/net: if_bridge.c

Log Message:
Need  for ip6_statinc() prototype.


To generate a diff of this commit:
cvs rdiff -u -r1.161 -r1.162 src/sys/net/if_bridge.c

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


Re: CVS commit: src/sys/dev/i2c

2018-12-14 Thread Jason Thorpe



> On Dec 14, 2018, at 2:05 PM, Michael Lorenz  wrote:
> 
> Module Name:  src
> Committed By: macallan
> Date: Fri Dec 14 22:05:36 UTC 2018
> 
> Modified Files:
>   src/sys/dev/i2c: ds1307.c files.i2c
> 
> Log Message:
> add options DSRTC_YEAR_START_2K for machines which use 2000 and not 1970
> as base to count years from, like Iyonix.
> While there apply the offset when writing to the clock as well.

This should not be done with a compile-time option.  A better way to handle 
this is to define a device property ("rtc-base-year" maybe?) as an and to use 
that if the property exists.  You can then set it in the iyonix 
device_register() function when you get a "dsrtc".

-- thorpej