diff options
Diffstat (limited to 'static/freebsd/man4/ppc.4 3.html')
| -rw-r--r-- | static/freebsd/man4/ppc.4 3.html | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/static/freebsd/man4/ppc.4 3.html b/static/freebsd/man4/ppc.4 3.html new file mode 100644 index 00000000..8b1368a2 --- /dev/null +++ b/static/freebsd/man4/ppc.4 3.html @@ -0,0 +1,118 @@ +<table class="head"> + <tr> + <td class="head-ltitle">PPC(4)</td> + <td class="head-vol">Device Drivers Manual</td> + <td class="head-rtitle">PPC(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">ppc</code> — <span class="Nd">Parallel + Port Chipset 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="Cd">device ppc</code></p> +<p class="Pp">In <span class="Pa">/boot/device.hints</span>: + <br/> + <code class="Cd">hint.ppc.0.at="isa"</code> + <br/> + <code class="Cd">hint.ppc.0.irq="7"</code></p> +<p class="Pp">For one or more PPBUS busses: + <br/> + <code class="Cd">device ppbus</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">ppc</code> driver provides low level support + to various parallel port chipsets for the <a class="Xr">ppbus(4)</a> + system.</p> +<p class="Pp">During the probe phase, <code class="Nm">ppc</code> detects + parallel port chipsets and initializes private data according to their + operating mode: COMPATIBLE, NIBBLE, PS/2, EPP, ECP and other mixed modes. If + a mode is provided at startup through the <var class="Va">flags</var> + variable of the boot interface, the operating mode of the chipset is forced + according to <var class="Va">flags</var> and the hardware supported + modes.</p> +<p class="Pp">During the attach phase, <code class="Nm">ppc</code> allocates a + ppbus structure, initializes it and calls the ppbus attach function.</p> +<section class="Ss"> +<h2 class="Ss" id="Supported_flags"><a class="permalink" href="#Supported_flags">Supported + flags</a></h2> +<ul class="Bl-item Bd-indent"> + <li>bits 0-3: chipset forced mode(s) + <div class="Bd Pp Li"> + <pre>PPB_COMPATIBLE 0x0 /* Centronics compatible mode */ +PPB_NIBBLE 0x1 /* reverse 4 bit mode */ +PPB_PS2 0x2 /* PS/2 byte mode */ +PPB_EPP 0x4 /* EPP mode, 32 bit */ +PPB_ECP 0x8 /* ECP mode */</pre> + </div> + <p class="Pp">And any mixed values.</p> + </li> + <li>bit 4: EPP protocol (0 EPP 1.9, 1 EPP 1.7)</li> + <li>bit 5: activate IRQ (1 IRQ disabled, 0 IRQ enabled)</li> + <li>bit 6: disable chipset specific detection</li> + <li>bit 7: disable FIFO detection</li> +</ul> +</section> +<section class="Ss"> +<h2 class="Ss" id="Supported_chipsets"><a class="permalink" href="#Supported_chipsets">Supported + chipsets</a></h2> +<p class="Pp">Some parallel port chipsets are explicitly supported: detection + and initialisation code has been written according to their datasheets.</p> +<ul class="Bl-bullet Bd-indent"> + <li>SMC FDC37C665GT and FDC37C666GT chipsets</li> + <li>Natsemi PC873xx-family (PC87332 and PC87306)</li> + <li>Winbond W83877xx-family (W83877F and W83877AF)</li> + <li>SMC-like chipsets with mixed modes (see <a class="Xr">ppbus(4)</a>)</li> +</ul> +</section> +<section class="Ss"> +<h2 class="Ss" id="Adding_support_to_a_new_chipset"><a class="permalink" href="#Adding_support_to_a_new_chipset">Adding + support to a new chipset</a></h2> +<p class="Pp">You may want to add support for the newest chipset your + motherboard was sold with. For the ISA bus, just retrieve the specs of the + chipset and write the corresponding + <a class="permalink" href="#ppc_mychipset_detect"><code class="Fn" id="ppc_mychipset_detect">ppc_mychipset_detect</code></a>(<var class="Fa"></var>) + function. Then add an entry to the general purpose + <a class="permalink" href="#ppc_detect"><code class="Fn" id="ppc_detect">ppc_detect</code></a>(<var class="Fa"></var>) + function.</p> +<p class="Pp" id="ppc_mychipset_detect~2">Your + <a class="permalink" href="#ppc_mychipset_detect~2"><code class="Fn">ppc_mychipset_detect</code></a>(<var class="Fa"></var>) + function should ensure that if the mode field of the + <var class="Va">flags</var> boot variable is not null, then the operating + mode is forced to the given mode and no other mode is available and + ppb->ppb_avm field contains the available modes of the chipset.</p> +</section> +</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">ppbus(4)</a>, <a class="Xr">ppi(4)</a>, + <a class="Xr">device.hints(5)</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">ppc</code> manual page first appeared in + <span class="Ux">FreeBSD 3.0</span>.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1> +<p class="Pp">This manual page was written by <span class="An">Nicolas + Souchu</span>.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1> +<p class="Pp">The chipset detection process may corrupt your chipset + configuration. You may disable chipset specific detection by using the above + flags.</p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">March 5, 1998</td> + <td class="foot-os">FreeBSD 15.0</td> + </tr> +</table> |
