diff options
Diffstat (limited to 'static/netbsd/man4/intersil7170.4 4.html')
| -rw-r--r-- | static/netbsd/man4/intersil7170.4 4.html | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/static/netbsd/man4/intersil7170.4 4.html b/static/netbsd/man4/intersil7170.4 4.html deleted file mode 100644 index a1c51516..00000000 --- a/static/netbsd/man4/intersil7170.4 4.html +++ /dev/null @@ -1,98 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">INTERSIL7170(4)</td> - <td class="head-vol">Device Drivers Manual</td> - <td class="head-rtitle">INTERSIL7170(4)</td> - </tr> -</table> -<div class="manual-text"> -<section class="Sh"> -<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> -<p class="Pp"><code class="Nm">intersil7170</code> — - <span class="Nd">Intersil ICM7170 time-of-day clock driver</span></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> -<p class="Pp"><code class="In">#include - <<a class="In">dev/ic/intersil7170reg.h</a>></code> - <br/> - <code class="In">#include - <<a class="In">dev/ic/intersil7170var.h</a>></code></p> -<p class="Pp"><code class="Cd">define intersil7170</code> - <br/> - <code class="Cd">file dev/ic/intersil7170.c intersil7170</code></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> -<p class="Pp">The <code class="Nm">intersil7170</code> driver provides access to - the Intersil ICM7170 time-of-day clock chip. Access methods to retrieve and - set date and time are provided through the - <a class="permalink" href="#TODR"><i class="Em" id="TODR">TODR</i></a> - interface defined in <a class="Xr">todr(9)</a>.</p> -<p class="Pp" id="intersil7170_attach">To tie an instance of this device to the - system, use the - <a class="permalink" href="#intersil7170_attach"><code class="Fn">intersil7170_attach</code></a>() - function and the <var class="Fa">intersil7170_softc</var> structure defined - as follows:</p> -<p class="Pp" id="intersil7170_attach~2"><var class="Ft">void</var> - <a class="permalink" href="#intersil7170_attach~2"><code class="Fn">intersil7170_attach</code></a>(<var class="Fa">struct - intersil7170_softc *</var>)</p> -<div class="Bd Pp Li"> -<pre>struct intersil7170_softc { - struct device sc_dev; - bus_space_tag_t sc_bst; - bus_space_handle_t sc_bsh; - struct todr_chip_handle sc_handle; - u_int sc_year0; - u_int sc_flag; -};</pre> -</div> -<div class="Bd-indent"> -<dl class="Bl-tag"> - <dt><var class="Fa">bus_tag</var></dt> - <dd style="width: auto;"> </dd> - <dt><var class="Fa">bus_handle</var></dt> - <dd>Specify bus space access to the chip's non-volatile memory (including the - clock registers).</dd> - <dt id="todr_attach"><var class="Fa">sc_handle</var></dt> - <dd>TODR handle passed to the - <a class="permalink" href="#todr_attach"><code class="Fn">todr_attach</code></a>() - function to register <a class="Xr">todr(9)</a> interface.</dd> - <dt><var class="Fa">sc_year0</var></dt> - <dd>The actual year represented by the clock's ‘year’ counter. - This is generally dependent on the system configuration in which the clock - device is mounted. For instance, on Sun Microsystems machines the - convention is to have clock's two-digit year represent the year 1968.</dd> - <dt><var class="Fa">sc_flag</var></dt> - <dd>This flag is used to specify machine-dependent features.</dd> -</dl> -</div> -<p class="Pp">Note that if the resulting date retrieved with the todr_gettime() - method is earlier that January 1, 1970, the driver will assume that the - chip's year counter actually represents a year in the 21st century. This - behaviour can be overridden by setting the - <var class="Va">INTERSIL7170_NO_CENT_ADJUST</var> flag in - <var class="Fa">sc_flag</var>.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE - ALSO</a></h1> -<p class="Pp"><a class="Xr">intro(4)</a>, <a class="Xr">todr(9)</a></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1> -<p class="Pp">The <code class="Nm">intersil7170</code> driver first appeared in - <span class="Ux">NetBSD 1.5</span>.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1> -<p class="Pp">The <code class="Nm">intersil7170</code> driver was written by - <span class="An">Paul Kranenburg</span> ⟨pk@NetBSD.org⟩.</p> -</section> -</div> -<table class="foot"> - <tr> - <td class="foot-date">October 1, 2006</td> - <td class="foot-os">NetBSD 10.1</td> - </tr> -</table> |
