diff options
Diffstat (limited to 'en_US.ISO8859-1/books/arch-handbook/isa/chapter.xml')
-rw-r--r-- | en_US.ISO8859-1/books/arch-handbook/isa/chapter.xml | 63 |
1 files changed, 24 insertions, 39 deletions
diff --git a/en_US.ISO8859-1/books/arch-handbook/isa/chapter.xml b/en_US.ISO8859-1/books/arch-handbook/isa/chapter.xml index f413a0dbb1..97bd2822c5 100644 --- a/en_US.ISO8859-1/books/arch-handbook/isa/chapter.xml +++ b/en_US.ISO8859-1/books/arch-handbook/isa/chapter.xml @@ -4,36 +4,21 @@ $FreeBSD$ --> - -<chapter id="isa-driver"> - <chapterinfo> +<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="isa-driver"> + <info><title>ISA Device Drivers</title> <authorgroup> - <author> - <firstname>Sergey</firstname> - <surname>Babkin</surname> - <contrib>Written by </contrib> - </author> + <author><personname><firstname>Sergey</firstname><surname>Babkin</surname></personname><contrib>Written by </contrib></author> </authorgroup> <authorgroup> - <author> - <firstname>Murray</firstname> - <surname>Stokely</surname> - <contrib>Modifications for Handbook made by </contrib> - </author> - <author> - <firstname>Valentino</firstname> - <surname>Vaschetto</surname> - </author> - <author> - <firstname>Wylie</firstname> - <surname>Stilwell</surname> - </author> + <author><personname><firstname>Murray</firstname><surname>Stokely</surname></personname><contrib>Modifications for Handbook made by </contrib></author> + <author><personname><firstname>Valentino</firstname><surname>Vaschetto</surname></personname></author> + <author><personname><firstname>Wylie</firstname><surname>Stilwell</surname></personname></author> </authorgroup> - </chapterinfo> + </info> - <title>ISA Device Drivers</title> + - <sect1 id="isa-driver-synopsis"> + <sect1 xml:id="isa-driver-synopsis"> <title>Synopsis</title> <indexterm><primary>ISA</primary></indexterm> @@ -48,7 +33,7 @@ <literal>ep</literal> and <literal>aha</literal> are good sources of information.</para> </sect1> - <sect1 id="isa-driver-basics"> + <sect1 xml:id="isa-driver-basics"> <title>Basic Information</title> <para>A typical ISA driver would need the following include @@ -163,7 +148,7 @@ <indexterm><primary>softc</primary></indexterm> - <para>Here struct <structname>xxx_softc</structname> is a + <para>Here struct <varname remap="structname">xxx_softc</varname> is a device-specific structure that contains private driver data and descriptors for the driver's resources. The bus code automatically allocates one softc descriptor per device as @@ -207,10 +192,10 @@ </sect1> - <sect1 id="isa-driver-device-t"> - <title><structname>device_t</structname> Pointer</title> + <sect1 xml:id="isa-driver-device-t"> + <title><varname remap="structname">device_t</varname> Pointer</title> - <para><structname>device_t</structname> is the pointer type for + <para><varname remap="structname">device_t</varname> is the pointer type for the device structure. Here we consider only the methods interesting from the device driver writer's standpoint. The methods to manipulate values in the device structure @@ -257,7 +242,7 @@ <listitem><para><function>void *device_get_softc(dev)</function> Get pointer to the device - descriptor (struct <structname>xxx_softc</structname>) + descriptor (struct <varname remap="structname">xxx_softc</varname>) associated with this device.</para></listitem> <listitem><para><function>u_int32_t @@ -276,7 +261,7 @@ </sect1> - <sect1 id="isa-driver-config"> + <sect1 xml:id="isa-driver-config"> <title>Configuration File and the Order of Identifying and Probing During Auto-Configuration</title> @@ -417,7 +402,7 @@ </sect1> - <sect1 id="isa-driver-resources"> + <sect1 xml:id="isa-driver-resources"> <title>Resources</title> <indexterm><primary>resources</primary></indexterm> @@ -730,7 +715,7 @@ </sect1> - <sect1 id="isa-driver-busmem"> + <sect1 xml:id="isa-driver-busmem"> <title>Bus Memory Mapping</title> <para>In many cases data is exchanged between the driver and the @@ -1510,7 +1495,7 @@ <!--_________________________________________________________________________--> <!--~~~~~~~~~~~~~~~~~~~~END OF SECTION~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--> - <sect1 id="isa-driver-dma"> + <sect1 xml:id="isa-driver-dma"> <title>DMA</title> <!-- Section Marked up by Wylie --> @@ -1747,7 +1732,7 @@ </itemizedlist> </sect1> - <sect1 id="isa-driver-probe"> + <sect1 xml:id="isa-driver-probe"> <title>xxx_isa_probe</title> <!-- Section marked up by Wylie --> @@ -2177,7 +2162,7 @@ </sect1> - <sect1 id="isa-driver-attach"> + <sect1 xml:id="isa-driver-attach"> <title>xxx_isa_attach</title> <!-- Section Marked up by Wylie --> @@ -2385,7 +2370,7 @@ </sect1> - <sect1 id="isa-driver-detach"> + <sect1 xml:id="isa-driver-detach"> <title>xxx_isa_detach</title> <para> @@ -2448,7 +2433,7 @@ </para> </sect1> - <sect1 id="isa-driver-shutdown"> + <sect1 xml:id="isa-driver-shutdown"> <title>xxx_isa_shutdown</title> <para> @@ -2468,7 +2453,7 @@ </para> </sect1> - <sect1 id="isa-driver-intr"> + <sect1 xml:id="isa-driver-intr"> <title>xxx_intr</title> <indexterm><primary>interrupt handler</primary></indexterm> |