<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/mc146818, branch releng/7.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2010-01-15T16:29:41Z</updated>
<entry>
<title>MFC: r201009</title>
<updated>2010-01-15T16:29:41Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-01-15T16:29:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cf3a41c4e3dd31e4eeb1a0190f9d1f3dc3ed5868'/>
<id>urn:sha1:cf3a41c4e3dd31e4eeb1a0190f9d1f3dc3ed5868</id>
<content type='text'>
Remove clause 3 from Izumi Tsutsui's licenses.

Obtained from:	NetBSD
</content>
</entry>
<entry>
<title>MFC: r201008</title>
<updated>2010-01-15T16:28:02Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-01-15T16:28:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3be6f252879056a07e74aacdeef4ecde79d02f26'/>
<id>urn:sha1:3be6f252879056a07e74aacdeef4ecde79d02f26</id>
<content type='text'>
Style changes

Obtained from:	NetBSD (mc146818reg.h)
</content>
</entry>
<entry>
<title>Export mc146818_def_{read,write}() so the front-end can make use</title>
<updated>2007-06-16T23:10:00Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2007-06-16T23:10:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=40fa5858b1b059ca5b9d0c39c9cd29e3199e034b'/>
<id>urn:sha1:40fa5858b1b059ca5b9d0c39c9cd29e3199e034b</id>
<content type='text'>
of them if needed.
</content>
</entry>
<entry>
<title>Add macros for the individual divisor bits as some MC146818A-compatible</title>
<updated>2007-01-20T14:57:51Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2007-01-20T14:57:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8dbf0223f3b0aaa055ff8d6827e2c26ca9ebf9ae'/>
<id>urn:sha1:8dbf0223f3b0aaa055ff8d6827e2c26ca9ebf9ae</id>
<content type='text'>
chips also use them for different purposes.
</content>
</entry>
<entry>
<title>After some input from bde@ and rereading the datasheet use a MTX_SPIN</title>
<updated>2005-06-04T23:24:50Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2005-06-04T23:24:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fce21e7e25d8e11fb3b59c217fc8ec63709a7877'/>
<id>urn:sha1:fce21e7e25d8e11fb3b59c217fc8ec63709a7877</id>
<content type='text'>
mutex instead of a MTX_DEF one in order to defer preemption while
reading the date and time registers. If we don't manage to read them
within the time slot where we are guaranteed that no updates occur we
might actually read them during an update in which case the output is
undefined.
</content>
</entry>
<entry>
<title>o mc146818(4):</title>
<updated>2005-05-19T21:20:42Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2005-05-19T21:20:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=003daaea5f816e2c747ad2f841c630cf6ff2cb25'/>
<id>urn:sha1:003daaea5f816e2c747ad2f841c630cf6ff2cb25</id>
<content type='text'>
  - Add locking.
  - Account for if the MC146818_NO_CENT_ADJUST flag is set we don't need
    to check wheter year &lt; POSIX_BASE_YEAR.
  - Add some comments about mapping the day of week from the range the
    generic clock code uses to the range the chip uses and which I meant
    to add in the initial version.
  - Minor clean-up, use __func__ instead of hardcoded function names in
    error strings.

o in the rtc(4) front-end additionally:
  - Don't leak resources in case mc146818_attach() fails.
  - Account for ebus(4) defaulting to SYS_RES_MEMORY for the memory
    resources since ebus.c rev. 1.22.
</content>
</entry>
<entry>
<title>Start each of the license/copyright comments with /*-, minor shuffle of lines</title>
<updated>2005-01-06T01:43:34Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-06T01:43:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=098ca2bda93c701c5331d4e6aace072495b4caaa'/>
<id>urn:sha1:098ca2bda93c701c5331d4e6aace072495b4caaa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a driver back end for MC146818 and compatible clocks based on the</title>
<updated>2004-11-17T16:37:25Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2004-11-17T16:37:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f46d4a6741816df510acf03ea6b0beee7ca650e3'/>
<id>urn:sha1:f46d4a6741816df510acf03ea6b0beee7ca650e3</id>
<content type='text'>
respective NetBSD driver for use with the genclock interface.
It's first use will be on sparc64 but it was also tested on alpha with
a preliminary patch to switch alpha to use the genclock code together
with this driver instead of the respective code in alpha/alpha/clock.c
and the rather MD mcclock(4). Using it on i386 and amd64 won't be that
hard but some changes/extensions to improve the genclock code in general
should be done first, e.g. add locking and make it easier to access the
NVRAM usually coupled with RTCs.
</content>
</entry>
<entry>
<title>Add missing $FreeBSD$</title>
<updated>2000-05-01T19:54:26Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2000-05-01T19:54:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=10f9bc7f433379e63b15381f085199ffefbf39e5'/>
<id>urn:sha1:10f9bc7f433379e63b15381f085199ffefbf39e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Major changes to the generic device framework for FreeBSD/alpha:</title>
<updated>1998-06-14T13:46:10Z</updated>
<author>
<name>Doug Rabson</name>
<email>dfr@FreeBSD.org</email>
</author>
<published>1998-06-14T13:46:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=99d11cde56ea2fb7b02c14ee57917b6b07f7ce35'/>
<id>urn:sha1:99d11cde56ea2fb7b02c14ee57917b6b07f7ce35</id>
<content type='text'>
* Eliminate bus_t and make it possible for all devices to have
  attached children.

* Support dynamically extendable interfaces for drivers to replace
  both the function pointers in driver_t and bus_ops_t (which has been
  removed entirely.  Two system defined interfaces have been defined,
  'device' which is mandatory for all devices and 'bus' which is
  recommended for all devices which support attached children.

* In addition, the alpha port defines two simple interfaces 'clock'
  for attaching various real time clocks to the system and 'mcclock'
  for the many different variations of mc146818 clocks which can be
  attached to different alpha platforms.  This eliminates two more
  function pointer tables in favour of the generic method dispatch
  system provided by the device framework.

Future device interfaces may include:

* cdev and bdev interfaces for devfs to use in replacement for specfs
  and the fixed interfaces bdevsw and cdevsw.

* scsi interface to replace struct scsi_adapter (not sure how this
  works in CAM but I imagine there is something similar there).

* various tailored interfaces for different bus types such as pci,
  isa, pccard etc.
</content>
</entry>
</feed>
