svn commit: r232028 - in user/jchandra/xlp-merge/sys: conf dev/iicbus

Jayachandran C. jchandra at freebsd.org
Thu Feb 23 15:38:54 UTC 2012


On Thu, Feb 23, 2012 at 7:42 PM, Rafal Jaworowski <raj at semihalf.com> wrote:
>
> On 2012-02-23, at 06:36, Jayachandran C. wrote:
>
>> Author: jchandra
>> Date: Thu Feb 23 05:36:49 2012
>> New Revision: 232028
>> URL: http://svn.freebsd.org/changeset/base/232028
>>
>> Log:
>>  Move driver for DS1374 RTC to sys/dev/iicbus
>>
>>  The earlier version of the driver was sys/mips/rmi/dev/iic/ds1374u.c
>
> Is the DS1374 very different from other DS13xx chips?
>
> We have some patches locally that extend the current DS133x into DS13xx i.e. support also DS1388 for example, so I was wondering if the DS1374 could be just squeezed in as well? See http://people.freebsd.org/~raj/patches/misc/ds13xx.diff

I had a quick look at the datasheets, the 1374 registers uses a  time
of day counter, while the 133x uses a BCD coded date representation.

The other features which we do not support now(alarm/watchdog etc)
also seems different, so merging the drivers may not result in
reducing code.

JC.


More information about the svn-src-user mailing list