diff options
Diffstat (limited to 'zh_CN.GB2312/books/arch-handbook/newbus/chapter.xml')
-rw-r--r-- | zh_CN.GB2312/books/arch-handbook/newbus/chapter.xml | 44 |
1 files changed, 16 insertions, 28 deletions
diff --git a/zh_CN.GB2312/books/arch-handbook/newbus/chapter.xml b/zh_CN.GB2312/books/arch-handbook/newbus/chapter.xml index f25293bf72..d91a4d26a7 100644 --- a/zh_CN.GB2312/books/arch-handbook/newbus/chapter.xml +++ b/zh_CN.GB2312/books/arch-handbook/newbus/chapter.xml @@ -25,37 +25,25 @@ Provided under the FreeBSD Documentation License. --> -<chapter id="newbus"> - <chapterinfo> +<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="newbus"> + <info><title>Newbus</title> <authorgroup> - <author> - <firstname>Jeroen</firstname> - <surname>Ruigrok van der Werven (asmodai)</surname> - <affiliation><address><email>asmodai@FreeBSD.org</email></address> - </affiliation> - <contrib>&cnproj.written.by;</contrib> - </author> - <author> - <firstname>Hiten</firstname> - <surname>Pandya</surname> - <affiliation><address><email>hiten@uk.FreeBSD.org</email></address> - </affiliation> - </author> + <author><personname><firstname>Jeroen</firstname><surname>Ruigrok van der Werven (asmodai)</surname></personname><affiliation><address><email>asmodai@FreeBSD.org</email></address> + </affiliation><contrib>&cnproj.written.by;</contrib></author> + <author><personname><firstname>Hiten</firstname><surname>Pandya</surname></personname><affiliation><address><email>hiten@uk.FreeBSD.org</email></address> + </affiliation></author> </authorgroup> <authorgroup> - <author> - &author.cn.spellar; - <contrib>&cnproj.translated.by;</contrib> - </author> + <author><personname/><contrib>&cnproj.translated.by;</contrib></author> </authorgroup> - </chapterinfo> - <title>Newbus</title> + </info> + <para><emphasis>特别感谢Matthew N. Dodd, Warner Losh, Bill Paul, Doug Rabson, Mike Smith, Peter Wemm and Scott Long</emphasis>.</para> <para>本章详细解释了Newbus设备框架。</para> - <sect1 id="newbus-devdrivers"> + <sect1 xml:id="newbus-devdrivers"> <title>设备驱动程序</title> <sect2> <title>设备驱动程序的目的</title> @@ -101,7 +89,7 @@ </sect2> </sect1> - <sect1 id="newbus-overview"> + <sect1 xml:id="newbus-overview"> <!-- Real title: Newbus, Busspace and the Resource Manager, an Explanation of the Possibilities @@ -143,8 +131,8 @@ <para>通常,不同类型的总线之间的连接被表示为 <emphasis><quote>桥</quote></emphasis>设备,它的孩子就是它所连接的 总线。一个例子就是<emphasis>PCI-to-PCI桥</emphasis>,它在父PCI总线上被 - 表示为<emphasis><devicename>pcibN</devicename></emphasis>,而用它的孩子 - <emphasis><devicename>pciN</devicename></emphasis>表示连接在它上面的 + 表示为<emphasis><filename>pcibN</filename></emphasis>,而用它的孩子 + <emphasis><filename>pciN</filename></emphasis>表示连接在它上面的 总线。这种布局简化了PCI总线树的实现,允许公共代码同时用于顶层和桥接的 总线。</para> @@ -171,8 +159,8 @@ 或端口映射寄存器(有些硬件支持两者)。</para> <para>这种支持被合并到了资源分配机制中。分配资源时,驱动程序可以从资源 - 中检取关联的<structfield>bus_space_tag_t</structfield>和 - <structfield>bus_space_handle_t</structfield>。</para> + 中检取关联的<varname remap="structfield">bus_space_tag_t</varname>和 + <varname remap="structfield">bus_space_handle_t</varname>。</para> <para>Newbus也允许在专用于此目的的文件中定义接口方法。这些是 <filename>.m</filename>文件,可以在<filename>src/sys</filename> @@ -264,7 +252,7 @@ 的配置寄存器。</para> </sect1> - <sect1 id="newbus-api"> + <sect1 xml:id="newbus-api"> <title>Newbus API</title> <para>由于Newbus API非常庞大,本节努力将它文档化。本文档的下一版本会 带来更多信息。</para> |