Commit f25aad9e authored by Martin Waitz's avatar Martin Waitz Committed by Linus Torvalds

[PATCH] docbook: convert template files to XML

Convert template files to XML
Signed-off-by: default avatarMartin Waitz <tali@admingilde.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 54314729
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="DoingIO"> <book id="DoingIO">
<bookinfo> <bookinfo>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="USB-Gadget-API"> <book id="USB-Gadget-API">
<bookinfo> <bookinfo>
<title>USB Gadget API for Linux</title> <title>USB Gadget API for Linux</title>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="LinuxJBDAPI"> <book id="LinuxJBDAPI">
<bookinfo> <bookinfo>
<title>The Linux Journalling API</title> <title>The Linux Journalling API</title>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="LinuxKernelAPI"> <book id="LinuxKernelAPI">
<bookinfo> <bookinfo>
<title>The Linux Kernel API</title> <title>The Linux Kernel API</title>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="lk-hacking-guide"> <book id="lk-hacking-guide">
<bookinfo> <bookinfo>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="LKLockingGuide"> <book id="LKLockingGuide">
<bookinfo> <bookinfo>
...@@ -236,12 +238,12 @@ ...@@ -236,12 +238,12 @@
your task will put itself on the queue, and be woken up when the your task will put itself on the queue, and be woken up when the
semaphore is released. This means the CPU will do something semaphore is released. This means the CPU will do something
else while you are waiting, but there are many cases when you else while you are waiting, but there are many cases when you
simply can't sleep (see <xref linkend="sleeping-things">), and so simply can't sleep (see <xref linkend="sleeping-things"/>), and so
have to use a spinlock instead. have to use a spinlock instead.
</para> </para>
<para> <para>
Neither type of lock is recursive: see Neither type of lock is recursive: see
<xref linkend="deadlock">. <xref linkend="deadlock"/>.
</para> </para>
</sect1> </sect1>
...@@ -326,7 +328,7 @@ ...@@ -326,7 +328,7 @@
<para> <para>
Note that you can also use <function>spin_lock_irq()</function> Note that you can also use <function>spin_lock_irq()</function>
or <function>spin_lock_irqsave()</function> here, which stop or <function>spin_lock_irqsave()</function> here, which stop
hardware interrupts as well: see <xref linkend="hardirq-context">. hardware interrupts as well: see <xref linkend="hardirq-context"/>.
</para> </para>
<para> <para>
...@@ -403,7 +405,7 @@ ...@@ -403,7 +405,7 @@
<para> <para>
The same softirq can run on the other CPUs: you can use a The same softirq can run on the other CPUs: you can use a
per-CPU array (see <xref linkend="per-cpu">) for better per-CPU array (see <xref linkend="per-cpu"/>) for better
performance. If you're going so far as to use a softirq, performance. If you're going so far as to use a softirq,
you probably care about scalable performance enough you probably care about scalable performance enough
to justify the extra complexity. to justify the extra complexity.
...@@ -545,120 +547,120 @@ ...@@ -545,120 +547,120 @@
</para> </para>
<table> <table>
<title>Table of Locking Requirements</title> <title>Table of Locking Requirements</title>
<TGROUP COLS="11"> <tgroup cols="11">
<TBODY> <tbody>
<ROW> <row>
<ENTRY></ENTRY> <entry></entry>
<ENTRY>IRQ Handler A</ENTRY> <entry>IRQ Handler A</entry>
<ENTRY>IRQ Handler B</ENTRY> <entry>IRQ Handler B</entry>
<ENTRY>Softirq A</ENTRY> <entry>Softirq A</entry>
<ENTRY>Softirq B</ENTRY> <entry>Softirq B</entry>
<ENTRY>Tasklet A</ENTRY> <entry>Tasklet A</entry>
<ENTRY>Tasklet B</ENTRY> <entry>Tasklet B</entry>
<ENTRY>Timer A</ENTRY> <entry>Timer A</entry>
<ENTRY>Timer B</ENTRY> <entry>Timer B</entry>
<ENTRY>User Context A</ENTRY> <entry>User Context A</entry>
<ENTRY>User Context B</ENTRY> <entry>User Context B</entry>
</ROW> </row>
<ROW> <row>
<ENTRY>IRQ Handler A</ENTRY> <entry>IRQ Handler A</entry>
<ENTRY>None</ENTRY> <entry>None</entry>
</ROW> </row>
<ROW> <row>
<ENTRY>IRQ Handler B</ENTRY> <entry>IRQ Handler B</entry>
<ENTRY>spin_lock_irqsave</ENTRY> <entry>spin_lock_irqsave</entry>
<ENTRY>None</ENTRY> <entry>None</entry>
</ROW> </row>
<ROW> <row>
<ENTRY>Softirq A</ENTRY> <entry>Softirq A</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
</ROW> </row>
<ROW> <row>
<ENTRY>Softirq B</ENTRY> <entry>Softirq B</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
</ROW> </row>
<ROW> <row>
<ENTRY>Tasklet A</ENTRY> <entry>Tasklet A</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
<ENTRY>None</ENTRY> <entry>None</entry>
</ROW> </row>
<ROW> <row>
<ENTRY>Tasklet B</ENTRY> <entry>Tasklet B</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
<ENTRY>None</ENTRY> <entry>None</entry>
</ROW> </row>
<ROW> <row>
<ENTRY>Timer A</ENTRY> <entry>Timer A</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
<ENTRY>None</ENTRY> <entry>None</entry>
</ROW> </row>
<ROW> <row>
<ENTRY>Timer B</ENTRY> <entry>Timer B</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
<ENTRY>spin_lock</ENTRY> <entry>spin_lock</entry>
<ENTRY>None</ENTRY> <entry>None</entry>
</ROW> </row>
<ROW> <row>
<ENTRY>User Context A</ENTRY> <entry>User Context A</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock_bh</ENTRY> <entry>spin_lock_bh</entry>
<ENTRY>spin_lock_bh</ENTRY> <entry>spin_lock_bh</entry>
<ENTRY>spin_lock_bh</ENTRY> <entry>spin_lock_bh</entry>
<ENTRY>spin_lock_bh</ENTRY> <entry>spin_lock_bh</entry>
<ENTRY>spin_lock_bh</ENTRY> <entry>spin_lock_bh</entry>
<ENTRY>spin_lock_bh</ENTRY> <entry>spin_lock_bh</entry>
<ENTRY>None</ENTRY> <entry>None</entry>
</ROW> </row>
<ROW> <row>
<ENTRY>User Context B</ENTRY> <entry>User Context B</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock_irq</ENTRY> <entry>spin_lock_irq</entry>
<ENTRY>spin_lock_bh</ENTRY> <entry>spin_lock_bh</entry>
<ENTRY>spin_lock_bh</ENTRY> <entry>spin_lock_bh</entry>
<ENTRY>spin_lock_bh</ENTRY> <entry>spin_lock_bh</entry>
<ENTRY>spin_lock_bh</ENTRY> <entry>spin_lock_bh</entry>
<ENTRY>spin_lock_bh</ENTRY> <entry>spin_lock_bh</entry>
<ENTRY>spin_lock_bh</ENTRY> <entry>spin_lock_bh</entry>
<ENTRY>down_interruptible</ENTRY> <entry>down_interruptible</entry>
<ENTRY>None</ENTRY> <entry>None</entry>
</ROW> </row>
</TBODY> </tbody>
</TGROUP> </tgroup>
</TABLE> </table>
</sect1> </sect1>
</chapter> </chapter>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="libataDevGuide"> <book id="libataDevGuide">
<bookinfo> <bookinfo>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="Reed-Solomon-Library-Guide"> <book id="Reed-Solomon-Library-Guide">
<bookinfo> <bookinfo>
......
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<article class="whitepaper" id="LinuxSecurityModule" lang="en"> <article class="whitepaper" id="LinuxSecurityModule" lang="en">
<artheader> <articleinfo>
<title>Linux Security Modules: General Security Hooks for Linux</title> <title>Linux Security Modules: General Security Hooks for Linux</title>
<authorgroup> <authorgroup>
<author> <author>
...@@ -28,7 +31,7 @@ ...@@ -28,7 +31,7 @@
</affiliation> </affiliation>
</author> </author>
</authorgroup> </authorgroup>
</artheader> </articleinfo>
<sect1><title>Introduction</title> <sect1><title>Introduction</title>
...@@ -84,7 +87,7 @@ security; it merely provides the infrastructure to support security ...@@ -84,7 +87,7 @@ security; it merely provides the infrastructure to support security
modules. The LSM kernel patch also moves most of the capabilities modules. The LSM kernel patch also moves most of the capabilities
logic into an optional security module, with the system defaulting logic into an optional security module, with the system defaulting
to the traditional superuser logic. This capabilities module to the traditional superuser logic. This capabilities module
is discussed further in <XRef LinkEnd="cap">. is discussed further in <xref linkend="cap"/>.
</para> </para>
<para> <para>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="MCAGuide"> <book id="MCAGuide">
<bookinfo> <bookinfo>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="MTD-NAND-Guide"> <book id="MTD-NAND-Guide">
<bookinfo> <bookinfo>
......
<!-- -*- sgml -*- --> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[ <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY procfsexample SYSTEM "procfs_example.sgml"> <!ENTITY procfsexample SYSTEM "procfs_example.sgml">
]> ]>
...@@ -205,7 +206,7 @@ ...@@ -205,7 +206,7 @@
function will return a pointer to the freshly created function will return a pointer to the freshly created
<structname>struct proc_dir_entry</structname>; otherwise it <structname>struct proc_dir_entry</structname>; otherwise it
will return <constant>NULL</constant>. <xref will return <constant>NULL</constant>. <xref
linkend="userland"> describes how to do something useful with linkend="userland"/> describes how to do something useful with
regular files. regular files.
</para> </para>
...@@ -221,7 +222,7 @@ ...@@ -221,7 +222,7 @@
<para> <para>
If you only want to be able to read the file, the function If you only want to be able to read the file, the function
<function>create_proc_read_entry</function> described in <xref <function>create_proc_read_entry</function> described in <xref
linkend="convenience"> may be used to create and initialise linkend="convenience"/> may be used to create and initialise
the procfs entry in one single call. the procfs entry in one single call.
</para> </para>
</sect1> </sect1>
...@@ -298,7 +299,7 @@ ...@@ -298,7 +299,7 @@
the <structname>struct proc_dir_entry</structname> before the <structname>struct proc_dir_entry</structname> before
<function>remove_proc_entry</function> is called (that is: if <function>remove_proc_entry</function> is called (that is: if
there was some <structfield>data</structfield> allocated, of there was some <structfield>data</structfield> allocated, of
course). See <xref linkend="usingdata"> for more information course). See <xref linkend="usingdata"/> for more information
on using the <structfield>data</structfield> entry. on using the <structfield>data</structfield> entry.
</para> </para>
</sect1> </sect1>
...@@ -333,7 +334,7 @@ entry->write_proc = write_proc_foo; ...@@ -333,7 +334,7 @@ entry->write_proc = write_proc_foo;
If you only want to use a the If you only want to use a the
<structfield>read_proc</structfield>, the function <structfield>read_proc</structfield>, the function
<function>create_proc_read_entry</function> described in <xref <function>create_proc_read_entry</function> described in <xref
linkend="convenience"> may be used to create and initialise the linkend="convenience"/> may be used to create and initialise the
procfs entry in one single call. procfs entry in one single call.
</para> </para>
...@@ -386,7 +387,7 @@ entry->write_proc = write_proc_foo; ...@@ -386,7 +387,7 @@ entry->write_proc = write_proc_foo;
The parameter <parameter>start</parameter> doesn't seem to be The parameter <parameter>start</parameter> doesn't seem to be
used anywhere in the kernel. The <parameter>data</parameter> used anywhere in the kernel. The <parameter>data</parameter>
parameter can be used to create a single call back function for parameter can be used to create a single call back function for
several files, see <xref linkend="usingdata">. several files, see <xref linkend="usingdata"/>.
</para> </para>
<para> <para>
...@@ -395,7 +396,7 @@ entry->write_proc = write_proc_foo; ...@@ -395,7 +396,7 @@ entry->write_proc = write_proc_foo;
</para> </para>
<para> <para>
<xref linkend="example"> shows how to use a read call back <xref linkend="example"/> shows how to use a read call back
function. function.
</para> </para>
</sect1> </sect1>
...@@ -429,12 +430,12 @@ entry->write_proc = write_proc_foo; ...@@ -429,12 +430,12 @@ entry->write_proc = write_proc_foo;
kernel's memory space, so it should first be copied to kernel kernel's memory space, so it should first be copied to kernel
space with <function>copy_from_user</function>. The space with <function>copy_from_user</function>. The
<parameter>file</parameter> parameter is usually <parameter>file</parameter> parameter is usually
ignored. <xref linkend="usingdata"> shows how to use the ignored. <xref linkend="usingdata"/> shows how to use the
<parameter>data</parameter> parameter. <parameter>data</parameter> parameter.
</para> </para>
<para> <para>
Again, <xref linkend="example"> shows how to use this call back Again, <xref linkend="example"/> shows how to use this call back
function. function.
</para> </para>
</sect1> </sect1>
...@@ -525,10 +526,10 @@ int foo_read_func(char *page, char **start, off_t off, ...@@ -525,10 +526,10 @@ int foo_read_func(char *page, char **start, off_t off,
<para> <para>
This function creates a regular file in exactly the same way This function creates a regular file in exactly the same way
as <function>create_proc_entry</function> from <xref as <function>create_proc_entry</function> from <xref
linkend="regularfile"> does, but also allows to set the read linkend="regularfile"/> does, but also allows to set the read
function <parameter>read_proc</parameter> in one call. This function <parameter>read_proc</parameter> in one call. This
function can set the <parameter>data</parameter> as well, like function can set the <parameter>data</parameter> as well, like
explained in <xref linkend="usingdata">. explained in <xref linkend="usingdata"/>.
</para> </para>
</sect1> </sect1>
......
<!-- -*- sgml -*- --> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN"[]> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="scsidrivers"> <book id="scsidrivers">
<bookinfo> <bookinfo>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="SiS900Guide"> <book id="SiS900Guide">
<bookinfo> <bookinfo>
<title>SiS 900/7016 Fast Ethernet Device Driver</Title> <title>SiS 900/7016 Fast Ethernet Device Driver</title>
<authorgroup> <authorgroup>
<author> <author>
<FirstName>Ollie</FirstName> <firstname>Ollie</firstname>
<surname>Lho</surname> <surname>Lho</surname>
</author> </author>
<author> <author>
<FirstName>Lei Chun</FirstName> <firstname>Lei Chun</firstname>
<surname>Chang</surname> <surname>Chang</surname>
</author> </author>
</authorgroup> </authorgroup>
<edition>Document Revision: 0.3 for SiS900 driver v1.06 & v1.07</edition> <edition>Document Revision: 0.3 for SiS900 driver v1.06 & v1.07</edition>
<PubDate>November 16, 2000</PubDate> <pubdate>November 16, 2000</pubdate>
<copyright> <copyright>
<year>1999</year> <year>1999</year>
...@@ -48,21 +50,21 @@ ...@@ -48,21 +50,21 @@
</para> </para>
</legalnotice> </legalnotice>
<Abstract> <abstract>
<Para> <para>
This document gives some information on installation and usage of SiS 900/7016 This document gives some information on installation and usage of SiS 900/7016
device driver under Linux. device driver under Linux.
</Para> </para>
</Abstract> </abstract>
</bookinfo> </bookinfo>
<toc></toc> <toc></toc>
<chapter id="intro"> <chapter id="intro">
<Title>Introduction</Title> <title>Introduction</title>
<Para> <para>
This document describes the revision 1.06 and 1.07 of SiS 900/7016 Fast Ethernet This document describes the revision 1.06 and 1.07 of SiS 900/7016 Fast Ethernet
device driver under Linux. The driver is developed by Silicon Integrated device driver under Linux. The driver is developed by Silicon Integrated
System Corp. and distributed freely under the GNU General Public License (GPL). System Corp. and distributed freely under the GNU General Public License (GPL).
...@@ -70,265 +72,265 @@ The driver can be compiled as a loadable module and used under Linux kernel ...@@ -70,265 +72,265 @@ The driver can be compiled as a loadable module and used under Linux kernel
version 2.2.x. (rev. 1.06) version 2.2.x. (rev. 1.06)
With minimal changes, the driver can also be used under 2.3.x and 2.4.x kernel With minimal changes, the driver can also be used under 2.3.x and 2.4.x kernel
(rev. 1.07), please see (rev. 1.07), please see
<XRef LinkEnd="install">. If you are intended to <xref linkend="install"/>. If you are intended to
use the driver for earlier kernels, you are on your own. use the driver for earlier kernels, you are on your own.
</Para> </para>
<Para> <para>
The driver is tested with usual TCP/IP applications including The driver is tested with usual TCP/IP applications including
FTP, Telnet, Netscape etc. and is used constantly by the developers. FTP, Telnet, Netscape etc. and is used constantly by the developers.
</Para> </para>
<Para> <para>
Please send all comments/fixes/questions to Please send all comments/fixes/questions to
<ULink URL="mailto:lcchang@sis.com.tw">Lei-Chun Chang</ULink>. <ulink url="mailto:lcchang@sis.com.tw">Lei-Chun Chang</ulink>.
</Para> </para>
</chapter> </chapter>
<chapter id="changes"> <chapter id="changes">
<Title>Changes</Title> <title>Changes</title>
<Para> <para>
Changes made in Revision 1.07 Changes made in Revision 1.07
<OrderedList> <orderedlist>
<ListItem> <listitem>
<Para> <para>
Separation of sis900.c and sis900.h in order to move most Separation of sis900.c and sis900.h in order to move most
constant definition to sis900.h (many of those constants were constant definition to sis900.h (many of those constants were
corrected) corrected)
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Clean up PCI detection, the pci-scan from Donald Becker were not used, Clean up PCI detection, the pci-scan from Donald Becker were not used,
just simple pci&lowbar;find&lowbar;*. just simple pci&lowbar;find&lowbar;*.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
MII detection is modified to support multiple mii transceiver. MII detection is modified to support multiple mii transceiver.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Bugs in read&lowbar;eeprom, mdio&lowbar;* were removed. Bugs in read&lowbar;eeprom, mdio&lowbar;* were removed.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Lot of sis900 irrelevant comments were removed/changed and Lot of sis900 irrelevant comments were removed/changed and
more comments were added to reflect the real situation. more comments were added to reflect the real situation.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Clean up of physical/virtual address space mess in buffer Clean up of physical/virtual address space mess in buffer
descriptors. descriptors.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Better transmit/receive error handling. Better transmit/receive error handling.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
The driver now uses zero-copy single buffer management The driver now uses zero-copy single buffer management
scheme to improve performance. scheme to improve performance.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Names of variables were changed to be more consistent. Names of variables were changed to be more consistent.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Clean up of auo-negotiation and timer code. Clean up of auo-negotiation and timer code.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Automatic detection and change of PHY on the fly. Automatic detection and change of PHY on the fly.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Bug in mac probing fixed. Bug in mac probing fixed.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Fix 630E equalier problem by modifying the equalizer workaround rule. Fix 630E equalier problem by modifying the equalizer workaround rule.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Support for ICS1893 10/100 Interated PHYceiver. Support for ICS1893 10/100 Interated PHYceiver.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Support for media select by ifconfig. Support for media select by ifconfig.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Added kernel-doc extratable documentation. Added kernel-doc extratable documentation.
</Para> </para>
</ListItem> </listitem>
</OrderedList> </orderedlist>
</Para> </para>
</chapter> </chapter>
<chapter id="tested"> <chapter id="tested">
<Title>Tested Environment</Title> <title>Tested Environment</title>
<Para> <para>
This driver is developed on the following hardware This driver is developed on the following hardware
<ItemizedList> <itemizedlist>
<ListItem> <listitem>
<Para> <para>
Intel Celeron 500 with SiS 630 (rev 02) chipset Intel Celeron 500 with SiS 630 (rev 02) chipset
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
SiS 900 (rev 01) and SiS 7016/7014 Fast Ethernet Card SiS 900 (rev 01) and SiS 7016/7014 Fast Ethernet Card
</Para> </para>
</ListItem> </listitem>
</ItemizedList> </itemizedlist>
and tested with these software environments and tested with these software environments
<ItemizedList> <itemizedlist>
<ListItem> <listitem>
<Para> <para>
Red Hat Linux version 6.2 Red Hat Linux version 6.2
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Linux kernel version 2.4.0 Linux kernel version 2.4.0
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Netscape version 4.6 Netscape version 4.6
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
NcFTP 3.0.0 beta 18 NcFTP 3.0.0 beta 18
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
Samba version 2.0.3 Samba version 2.0.3
</Para> </para>
</ListItem> </listitem>
</ItemizedList> </itemizedlist>
</Para> </para>
</chapter> </chapter>
<chapter id="files"> <chapter id="files">
<Title>Files in This Package</Title> <title>Files in This Package</title>
<Para> <para>
In the package you can find these files: In the package you can find these files:
</Para> </para>
<Para> <para>
<VariableList> <variablelist>
<VarListEntry> <varlistentry>
<Term>sis900.c</Term> <term>sis900.c</term>
<ListItem> <listitem>
<Para> <para>
Driver source file in C Driver source file in C
</Para> </para>
</ListItem> </listitem>
</VarListEntry> </varlistentry>
<VarListEntry> <varlistentry>
<Term>sis900.h</Term> <term>sis900.h</term>
<ListItem> <listitem>
<Para> <para>
Header file for sis900.c Header file for sis900.c
</Para> </para>
</ListItem> </listitem>
</VarListEntry> </varlistentry>
<VarListEntry> <varlistentry>
<Term>sis900.sgml</Term> <term>sis900.sgml</term>
<ListItem> <listitem>
<Para> <para>
DocBook SGML source of the document DocBook SGML source of the document
</Para> </para>
</ListItem> </listitem>
</VarListEntry> </varlistentry>
<VarListEntry> <varlistentry>
<Term>sis900.txt</Term> <term>sis900.txt</term>
<ListItem> <listitem>
<Para> <para>
Driver document in plain text Driver document in plain text
</Para> </para>
</ListItem> </listitem>
</VarListEntry> </varlistentry>
</VariableList> </variablelist>
</Para> </para>
</chapter> </chapter>
<chapter id="install"> <chapter id="install">
<Title>Installation</Title> <title>Installation</title>
<Para> <para>
Silicon Integrated System Corp. is cooperating closely with core Linux Kernel Silicon Integrated System Corp. is cooperating closely with core Linux Kernel
developers. The revisions of SiS 900 driver are distributed by the usuall channels developers. The revisions of SiS 900 driver are distributed by the usuall channels
for kernel tar files and patches. Those kernel tar files for official kernel and for kernel tar files and patches. Those kernel tar files for official kernel and
patches for kernel pre-release can be download at patches for kernel pre-release can be download at
<ULink URL="http://ftp.kernel.org/pub/linux/kernel/">official kernel ftp site</ULink> <ulink url="http://ftp.kernel.org/pub/linux/kernel/">official kernel ftp site</ulink>
and its mirrors. and its mirrors.
The 1.06 revision can be found in kernel version later than 2.3.15 and pre-2.2.14, The 1.06 revision can be found in kernel version later than 2.3.15 and pre-2.2.14,
and 1.07 revision can be found in kernel version 2.4.0. and 1.07 revision can be found in kernel version 2.4.0.
If you have no prior experience in networking under Linux, please read If you have no prior experience in networking under Linux, please read
<ULink URL="http://www.tldp.org/">Ethernet HOWTO</ULink> and <ulink url="http://www.tldp.org/">Ethernet HOWTO</ulink> and
<ULink URL="http://www.tldp.org/">Networking HOWTO</ULink> available from <ulink url="http://www.tldp.org/">Networking HOWTO</ulink> available from
Linux Documentation Project (LDP). Linux Documentation Project (LDP).
</Para> </para>
<Para> <para>
The driver is bundled in release later than 2.2.11 and 2.3.15 so this The driver is bundled in release later than 2.2.11 and 2.3.15 so this
is the most easy case. is the most easy case.
Be sure you have the appropriate packages for compiling kernel source. Be sure you have the appropriate packages for compiling kernel source.
...@@ -338,63 +340,63 @@ in kernel release, you should have your driver file ...@@ -338,63 +340,63 @@ in kernel release, you should have your driver file
<filename>sis900.c</filename> and <filename>sis900.h</filename> <filename>sis900.c</filename> and <filename>sis900.h</filename>
copied into <filename class="directory">/usr/src/linux/drivers/net/</filename> first. copied into <filename class="directory">/usr/src/linux/drivers/net/</filename> first.
There are two alternative ways to install the driver There are two alternative ways to install the driver
</Para> </para>
<Sect1> <sect1>
<Title>Building the driver as loadable module</Title> <title>Building the driver as loadable module</title>
<Para> <para>
To build the driver as a loadable kernel module you have to reconfigure To build the driver as a loadable kernel module you have to reconfigure
the kernel to activate network support by the kernel to activate network support by
</Para> </para>
<Para><screen> <para><screen>
make menuconfig make menuconfig
</screen></Para> </screen></para>
<Para> <para>
Choose <quote>Loadable module support ---></quote>, Choose <quote>Loadable module support ---></quote>,
then select <quote>Enable loadable module support</quote>. then select <quote>Enable loadable module support</quote>.
</Para> </para>
<Para> <para>
Choose <quote>Network Device Support ---></quote>, select Choose <quote>Network Device Support ---></quote>, select
<quote>Ethernet (10 or 100Mbit)</quote>. <quote>Ethernet (10 or 100Mbit)</quote>.
Then select <quote>EISA, VLB, PCI and on board controllers</quote>, Then select <quote>EISA, VLB, PCI and on board controllers</quote>,
and choose <quote>SiS 900/7016 PCI Fast Ethernet Adapter support</quote> and choose <quote>SiS 900/7016 PCI Fast Ethernet Adapter support</quote>
to <quote>M</quote>. to <quote>M</quote>.
</Para> </para>
<Para> <para>
After reconfiguring the kernel, you can make the driver module by After reconfiguring the kernel, you can make the driver module by
</Para> </para>
<Para><screen> <para><screen>
make modules make modules
</screen></Para> </screen></para>
<Para> <para>
The driver should be compiled with no errors. After compiling the driver, The driver should be compiled with no errors. After compiling the driver,
the driver can be installed to proper place by the driver can be installed to proper place by
</Para> </para>
<Para><screen> <para><screen>
make modules_install make modules_install
</screen></Para> </screen></para>
<Para> <para>
Load the driver into kernel by Load the driver into kernel by
</Para> </para>
<Para><screen> <para><screen>
insmod sis900 insmod sis900
</screen></Para> </screen></para>
<Para> <para>
When loading the driver into memory, some information message can be view by When loading the driver into memory, some information message can be view by
</Para> </para>
<Para> <para>
<screen> <screen>
dmesg dmesg
</screen> </screen>
...@@ -404,103 +406,103 @@ or ...@@ -404,103 +406,103 @@ or
<screen> <screen>
cat /var/log/message cat /var/log/message
</screen> </screen>
</Para> </para>
<Para> <para>
If the driver is loaded properly you will have messages similar to this: If the driver is loaded properly you will have messages similar to this:
</Para> </para>
<Para><screen> <para><screen>
sis900.c: v1.07.06 11/07/2000 sis900.c: v1.07.06 11/07/2000
eth0: SiS 900 PCI Fast Ethernet at 0xd000, IRQ 10, 00:00:e8:83:7f:a4. eth0: SiS 900 PCI Fast Ethernet at 0xd000, IRQ 10, 00:00:e8:83:7f:a4.
eth0: SiS 900 Internal MII PHY transceiver found at address 1. eth0: SiS 900 Internal MII PHY transceiver found at address 1.
eth0: Using SiS 900 Internal MII PHY as default eth0: Using SiS 900 Internal MII PHY as default
</screen></Para> </screen></para>
<Para> <para>
showing the version of the driver and the results of probing routine. showing the version of the driver and the results of probing routine.
</Para> </para>
<Para> <para>
Once the driver is loaded, network can be brought up by Once the driver is loaded, network can be brought up by
</Para> </para>
<Para><screen> <para><screen>
/sbin/ifconfig eth0 IPADDR broadcast BROADCAST netmask NETMASK media TYPE /sbin/ifconfig eth0 IPADDR broadcast BROADCAST netmask NETMASK media TYPE
</screen></Para> </screen></para>
<Para> <para>
where IPADDR, BROADCAST, NETMASK are your IP address, broadcast address and where IPADDR, BROADCAST, NETMASK are your IP address, broadcast address and
netmask respectively. TYPE is used to set medium type used by the device. netmask respectively. TYPE is used to set medium type used by the device.
Typical values are "10baseT"(twisted-pair 10Mbps Ethernet) or "100baseT" Typical values are "10baseT"(twisted-pair 10Mbps Ethernet) or "100baseT"
(twisted-pair 100Mbps Ethernet). For more information on how to configure (twisted-pair 100Mbps Ethernet). For more information on how to configure
network interface, please refer to network interface, please refer to
<ULink URL="http://www.tldp.org/">Networking HOWTO</ULink>. <ulink url="http://www.tldp.org/">Networking HOWTO</ulink>.
</Para> </para>
<Para> <para>
The link status is also shown by kernel messages. For example, after the The link status is also shown by kernel messages. For example, after the
network interface is activated, you may have the message: network interface is activated, you may have the message:
</Para> </para>
<Para><screen> <para><screen>
eth0: Media Link On 100mbps full-duplex eth0: Media Link On 100mbps full-duplex
</screen></Para> </screen></para>
<Para> <para>
If you try to unplug the twist pair (TP) cable you will get If you try to unplug the twist pair (TP) cable you will get
</Para> </para>
<Para><screen> <para><screen>
eth0: Media Link Off eth0: Media Link Off
</screen></Para> </screen></para>
<Para> <para>
indicating that the link is failed. indicating that the link is failed.
</Para> </para>
</Sect1> </sect1>
<Sect1> <sect1>
<Title>Building the driver into kernel</Title> <title>Building the driver into kernel</title>
<Para> <para>
If you want to make the driver into kernel, choose <quote>Y</quote> If you want to make the driver into kernel, choose <quote>Y</quote>
rather than <quote>M</quote> on rather than <quote>M</quote> on
<quote>SiS 900/7016 PCI Fast Ethernet Adapter support</quote> <quote>SiS 900/7016 PCI Fast Ethernet Adapter support</quote>
when configuring the kernel. Build the kernel image in the usual way when configuring the kernel. Build the kernel image in the usual way
</Para> </para>
<Para><screen> <para><screen>
make clean make clean
make bzlilo make bzlilo
</screen></Para> </screen></para>
<Para> <para>
Next time the system reboot, you have the driver in memory. Next time the system reboot, you have the driver in memory.
</Para> </para>
</Sect1> </sect1>
</chapter> </chapter>
<chapter id="problems"> <chapter id="problems">
<Title>Known Problems and Bugs</Title> <title>Known Problems and Bugs</title>
<Para> <para>
There are some known problems and bugs. If you find any other bugs please There are some known problems and bugs. If you find any other bugs please
mail to <ULink URL="mailto:lcchang@sis.com.tw">lcchang@sis.com.tw</ULink> mail to <ulink url="mailto:lcchang@sis.com.tw">lcchang@sis.com.tw</ulink>
<OrderedList> <orderedlist>
<ListItem> <listitem>
<Para> <para>
AM79C901 HomePNA PHY is not thoroughly tested, there may be some AM79C901 HomePNA PHY is not thoroughly tested, there may be some
bugs in the <quote>on the fly</quote> change of transceiver. bugs in the <quote>on the fly</quote> change of transceiver.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
A bug is hidden somewhere in the receive buffer management code, A bug is hidden somewhere in the receive buffer management code,
the bug causes NULL pointer reference in the kernel. This fault is the bug causes NULL pointer reference in the kernel. This fault is
caught before bad things happen and reported with the message: caught before bad things happen and reported with the message:
...@@ -509,70 +511,70 @@ caught before bad things happen and reported with the message: ...@@ -509,70 +511,70 @@ caught before bad things happen and reported with the message:
eth0: NULL pointer encountered in Rx ring, skipping eth0: NULL pointer encountered in Rx ring, skipping
</computeroutput> </computeroutput>
which can be viewed with <Literal remap="tt">dmesg</Literal> or which can be viewed with <literal remap="tt">dmesg</literal> or
<Literal remap="tt">cat /var/log/message</Literal>. <literal remap="tt">cat /var/log/message</literal>.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
The media type change from 10Mbps to 100Mbps twisted-pair ethernet The media type change from 10Mbps to 100Mbps twisted-pair ethernet
by ifconfig causes the media link down. by ifconfig causes the media link down.
</Para> </para>
</ListItem> </listitem>
</OrderedList> </orderedlist>
</Para> </para>
</chapter> </chapter>
<chapter id="RHistory"> <chapter id="RHistory">
<Title>Revision History</Title> <title>Revision History</title>
<Para> <para>
<ItemizedList> <itemizedlist>
<ListItem> <listitem>
<Para> <para>
November 13, 2000, Revision 1.07, seventh release, 630E problem fixed November 13, 2000, Revision 1.07, seventh release, 630E problem fixed
and further clean up. and further clean up.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
November 4, 1999, Revision 1.06, Second release, lots of clean up November 4, 1999, Revision 1.06, Second release, lots of clean up
and optimization. and optimization.
</Para> </para>
</ListItem> </listitem>
<ListItem> <listitem>
<Para> <para>
August 8, 1999, Revision 1.05, Initial Public Release August 8, 1999, Revision 1.05, Initial Public Release
</Para> </para>
</ListItem> </listitem>
</ItemizedList> </itemizedlist>
</Para> </para>
</chapter> </chapter>
<chapter id="acknowledgements"> <chapter id="acknowledgements">
<Title>Acknowledgements</Title> <title>Acknowledgements</title>
<Para> <para>
This driver was originally derived form This driver was originally derived form
<ULink URL="mailto:becker@cesdis1.gsfc.nasa.gov">Donald Becker</ULink>'s <ulink url="mailto:becker@cesdis1.gsfc.nasa.gov">Donald Becker</ulink>'s
<ULink URL="ftp://cesdis.gsfc.nasa.gov/pub/linux/drivers/kern-2.3/pci-skeleton.c" <ulink url="ftp://cesdis.gsfc.nasa.gov/pub/linux/drivers/kern-2.3/pci-skeleton.c"
>pci-skeleton</ULink> and >pci-skeleton</ulink> and
<ULink URL="ftp://cesdis.gsfc.nasa.gov/pub/linux/drivers/kern-2.3/rtl8139.c" <ulink url="ftp://cesdis.gsfc.nasa.gov/pub/linux/drivers/kern-2.3/rtl8139.c"
>rtl8139</ULink> drivers. Donald also provided various suggestion >rtl8139</ulink> drivers. Donald also provided various suggestion
regarded with improvements made in revision 1.06. regarded with improvements made in revision 1.06.
</Para> </para>
<Para> <para>
The 1.05 revision was created by The 1.05 revision was created by
<ULink URL="mailto:cmhuang@sis.com.tw">Jim Huang</ULink>, AMD 79c901 <ulink url="mailto:cmhuang@sis.com.tw">Jim Huang</ulink>, AMD 79c901
support was added by <ULink URL="mailto:lcs@sis.com.tw">Chin-Shan Li</ULink>. support was added by <ulink url="mailto:lcs@sis.com.tw">Chin-Shan Li</ulink>.
</Para> </para>
</chapter> </chapter>
<chapter id="functions"> <chapter id="functions">
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="TulipUserGuide"> <book id="TulipUserGuide">
<bookinfo> <bookinfo>
...@@ -67,7 +69,7 @@ Jeff Garzik, Takashi Manabe and a cast of thousands. ...@@ -67,7 +69,7 @@ Jeff Garzik, Takashi Manabe and a cast of thousands.
<para> <para>
For 2.4.x and later kernels, the Linux Tulip driver is available at For 2.4.x and later kernels, the Linux Tulip driver is available at
<ULink URL="http://sourceforge.net/projects/tulip/">http://sourceforge.net/projects/tulip/</ULink> <ulink url="http://sourceforge.net/projects/tulip/">http://sourceforge.net/projects/tulip/</ulink>
</para> </para>
<para> <para>
...@@ -85,7 +87,7 @@ For 2.4.x and later kernels, the Linux Tulip driver is available at ...@@ -85,7 +87,7 @@ For 2.4.x and later kernels, the Linux Tulip driver is available at
<para> <para>
Additional information on Donald Becker's tulip.c Additional information on Donald Becker's tulip.c
is available at <ULink URL="http://www.scyld.com/network/tulip.html">http://www.scyld.com/network/tulip.html</ULink> is available at <ulink url="http://www.scyld.com/network/tulip.html">http://www.scyld.com/network/tulip.html</ulink>
</para> </para>
</chapter> </chapter>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="Linux-USB-API"> <book id="Linux-USB-API">
<bookinfo> <bookinfo>
<title>The Linux-USB Host Side API</title> <title>The Linux-USB Host Side API</title>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="ViaAudioGuide"> <book id="ViaAudioGuide">
<bookinfo> <bookinfo>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="V4LGuide"> <book id="V4LGuide">
<bookinfo> <bookinfo>
...@@ -180,23 +182,23 @@ int __init myradio_init(struct video_init *v) ...@@ -180,23 +182,23 @@ int __init myradio_init(struct video_init *v)
<tgroup cols="3" align="left"> <tgroup cols="3" align="left">
<tbody> <tbody>
<row> <row>
<entry>VFL_TYPE_RADIO</><entry>/dev/radio{n}</><entry> <entry>VFL_TYPE_RADIO</entry><entry>/dev/radio{n}</entry><entry>
Radio devices are assigned in this block. As with all of these Radio devices are assigned in this block. As with all of these
selections the actual number assignment is done by the video layer selections the actual number assignment is done by the video layer
accordijng to what is free.</entry> accordijng to what is free.</entry>
</row><row> </row><row>
<entry>VFL_TYPE_GRABBER</><entry>/dev/video{n}</><entry> <entry>VFL_TYPE_GRABBER</entry><entry>/dev/video{n}</entry><entry>
Video capture devices and also -- counter-intuitively for the name -- Video capture devices and also -- counter-intuitively for the name --
hardware video playback devices such as MPEG2 cards.</entry> hardware video playback devices such as MPEG2 cards.</entry>
</row><row> </row><row>
<entry>VFL_TYPE_VBI</><entry>/dev/vbi{n}</><entry> <entry>VFL_TYPE_VBI</entry><entry>/dev/vbi{n}</entry><entry>
The VBI devices capture the hidden lines on a television picture The VBI devices capture the hidden lines on a television picture
that carry further information like closed caption data, teletext that carry further information like closed caption data, teletext
(primarily in Europe) and now Intercast and the ATVEC internet (primarily in Europe) and now Intercast and the ATVEC internet
television encodings.</entry> television encodings.</entry>
</row><row> </row><row>
<entry>VFL_TYPE_VTX</><entry>/dev/vtx[n}</><entry> <entry>VFL_TYPE_VTX</entry><entry>/dev/vtx[n}</entry><entry>
VTX is 'Videotext' also known as 'Teletext'. This is a system for VTX is 'Videotext' also known as 'Teletext'. This is a system for
sending numbered, 40x25, mostly textual page images over the hidden sending numbered, 40x25, mostly textual page images over the hidden
lines. Unlike the /dev/vbi interfaces, this is for 'smart' decoder lines. Unlike the /dev/vbi interfaces, this is for 'smart' decoder
...@@ -301,25 +303,25 @@ static int radio_ioctl(struct video_device *dev, unsigned int cmd, void *arg) ...@@ -301,25 +303,25 @@ static int radio_ioctl(struct video_device *dev, unsigned int cmd, void *arg)
<tgroup cols="2" align="left"> <tgroup cols="2" align="left">
<tbody> <tbody>
<row> <row>
<entry>name</><entry>The device text name. This is intended for the user.</> <entry>name</entry><entry>The device text name. This is intended for the user.</entry>
</row><row> </row><row>
<entry>channels</><entry>The number of different channels you can tune on <entry>channels</entry><entry>The number of different channels you can tune on
this card. It could even by zero for a card that has this card. It could even by zero for a card that has
no tuning capability. For our simple FM radio it is 1. no tuning capability. For our simple FM radio it is 1.
An AM/FM radio would report 2.</entry> An AM/FM radio would report 2.</entry>
</row><row> </row><row>
<entry>audios</><entry>The number of audio inputs on this device. For our <entry>audios</entry><entry>The number of audio inputs on this device. For our
radio there is only one audio input.</entry> radio there is only one audio input.</entry>
</row><row> </row><row>
<entry>minwidth,minheight</><entry>The smallest size the card is capable of capturing <entry>minwidth,minheight</entry><entry>The smallest size the card is capable of capturing
images in. We set these to zero. Radios do not images in. We set these to zero. Radios do not
capture pictures</entry> capture pictures</entry>
</row><row> </row><row>
<entry>maxwidth,maxheight</><entry>The largest image size the card is capable of <entry>maxwidth,maxheight</entry><entry>The largest image size the card is capable of
capturing. For our radio we report 0. capturing. For our radio we report 0.
</entry> </entry>
</row><row> </row><row>
<entry>type</><entry>This reports the capabilities of the device, and <entry>type</entry><entry>This reports the capabilities of the device, and
matches the field we filled in in the struct matches the field we filled in in the struct
video_device when registering.</entry> video_device when registering.</entry>
</row> </row>
...@@ -375,26 +377,26 @@ static int radio_ioctl(struct video_device *dev, unsigned int cmd, void *arg) ...@@ -375,26 +377,26 @@ static int radio_ioctl(struct video_device *dev, unsigned int cmd, void *arg)
<tgroup cols="2" align="left"> <tgroup cols="2" align="left">
<tbody> <tbody>
<row> <row>
<entry>int tuner</><entry>The number of the tuner in question</entry> <entry>int tuner</entry><entry>The number of the tuner in question</entry>
</row><row> </row><row>
<entry>char name[32]</><entry>A text description of this tuner. "FM" will do fine. <entry>char name[32]</entry><entry>A text description of this tuner. "FM" will do fine.
This is intended for the application.</entry> This is intended for the application.</entry>
</row><row> </row><row>
<entry>u32 flags</> <entry>u32 flags</entry>
<entry>Tuner capability flags</entry> <entry>Tuner capability flags</entry>
</row> </row>
<row> <row>
<entry>u16 mode</><entry>The current reception mode</entry> <entry>u16 mode</entry><entry>The current reception mode</entry>
</row><row> </row><row>
<entry>u16 signal</><entry>The signal strength scaled between 0 and 65535. If <entry>u16 signal</entry><entry>The signal strength scaled between 0 and 65535. If
a device cannot tell the signal strength it should a device cannot tell the signal strength it should
report 65535. Many simple cards contain only a report 65535. Many simple cards contain only a
signal/no signal bit. Such cards will report either signal/no signal bit. Such cards will report either
0 or 65535.</entry> 0 or 65535.</entry>
</row><row> </row><row>
<entry>u32 rangelow, rangehigh</><entry> <entry>u32 rangelow, rangehigh</entry><entry>
The range of frequencies supported by the radio The range of frequencies supported by the radio
or TV. It is scaled according to the VIDEO_TUNER_LOW or TV. It is scaled according to the VIDEO_TUNER_LOW
flag.</entry> flag.</entry>
...@@ -408,20 +410,20 @@ static int radio_ioctl(struct video_device *dev, unsigned int cmd, void *arg) ...@@ -408,20 +410,20 @@ static int radio_ioctl(struct video_device *dev, unsigned int cmd, void *arg)
<tgroup cols="2" align="left"> <tgroup cols="2" align="left">
<tbody> <tbody>
<row> <row>
<entry>VIDEO_TUNER_PAL</><entry>A PAL TV tuner</entry> <entry>VIDEO_TUNER_PAL</entry><entry>A PAL TV tuner</entry>
</row><row> </row><row>
<entry>VIDEO_TUNER_NTSC</><entry>An NTSC (US) TV tuner</entry> <entry>VIDEO_TUNER_NTSC</entry><entry>An NTSC (US) TV tuner</entry>
</row><row> </row><row>
<entry>VIDEO_TUNER_SECAM</><entry>A SECAM (French) TV tuner</entry> <entry>VIDEO_TUNER_SECAM</entry><entry>A SECAM (French) TV tuner</entry>
</row><row> </row><row>
<entry>VIDEO_TUNER_LOW</><entry> <entry>VIDEO_TUNER_LOW</entry><entry>
The tuner frequency is scaled in 1/16th of a KHz The tuner frequency is scaled in 1/16th of a KHz
steps. If not it is in 1/16th of a MHz steps steps. If not it is in 1/16th of a MHz steps
</entry> </entry>
</row><row> </row><row>
<entry>VIDEO_TUNER_NORM</><entry>The tuner can set its format</entry> <entry>VIDEO_TUNER_NORM</entry><entry>The tuner can set its format</entry>
</row><row> </row><row>
<entry>VIDEO_TUNER_STEREO_ON</><entry>The tuner is currently receiving a stereo signal</entry> <entry>VIDEO_TUNER_STEREO_ON</entry><entry>The tuner is currently receiving a stereo signal</entry>
</row> </row>
</tbody> </tbody>
</tgroup> </tgroup>
...@@ -431,13 +433,13 @@ static int radio_ioctl(struct video_device *dev, unsigned int cmd, void *arg) ...@@ -431,13 +433,13 @@ static int radio_ioctl(struct video_device *dev, unsigned int cmd, void *arg)
<tgroup cols="2" align="left"> <tgroup cols="2" align="left">
<tbody> <tbody>
<row> <row>
<entry>VIDEO_MODE_PAL</><entry>PAL Format</entry> <entry>VIDEO_MODE_PAL</entry><entry>PAL Format</entry>
</row><row> </row><row>
<entry>VIDEO_MODE_NTSC</><entry>NTSC Format (USA)</entry> <entry>VIDEO_MODE_NTSC</entry><entry>NTSC Format (USA)</entry>
</row><row> </row><row>
<entry>VIDEO_MODE_SECAM</><entry>French Format</entry> <entry>VIDEO_MODE_SECAM</entry><entry>French Format</entry>
</row><row> </row><row>
<entry>VIDEO_MODE_AUTO</><entry>A device that does not need to do <entry>VIDEO_MODE_AUTO</entry><entry>A device that does not need to do
TV format switching</entry> TV format switching</entry>
</row> </row>
</tbody> </tbody>
...@@ -582,32 +584,32 @@ static int current_volume=0; ...@@ -582,32 +584,32 @@ static int current_volume=0;
<tgroup cols="2" align="left"> <tgroup cols="2" align="left">
<tbody> <tbody>
<row> <row>
<entry>audio</><entry>The input the user wishes to query</> <entry>audio</entry><entry>The input the user wishes to query</entry>
</row><row> </row><row>
<entry>volume</><entry>The volume setting on a scale of 0-65535</> <entry>volume</entry><entry>The volume setting on a scale of 0-65535</entry>
</row><row> </row><row>
<entry>base</><entry>The base level on a scale of 0-65535</> <entry>base</entry><entry>The base level on a scale of 0-65535</entry>
</row><row> </row><row>
<entry>treble</><entry>The treble level on a scale of 0-65535</> <entry>treble</entry><entry>The treble level on a scale of 0-65535</entry>
</row><row> </row><row>
<entry>flags</><entry>The features this audio device supports <entry>flags</entry><entry>The features this audio device supports
</entry> </entry>
</row><row> </row><row>
<entry>name</><entry>A text name to display to the user. We picked <entry>name</entry><entry>A text name to display to the user. We picked
"Radio" as it explains things quite nicely.</> "Radio" as it explains things quite nicely.</entry>
</row><row> </row><row>
<entry>mode</><entry>The current reception mode for the audio <entry>mode</entry><entry>The current reception mode for the audio
We report MONO because our card is too stupid to know if it is in We report MONO because our card is too stupid to know if it is in
mono or stereo. mono or stereo.
</entry> </entry>
</row><row> </row><row>
<entry>balance</><entry>The stereo balance on a scale of 0-65535, 32768 is <entry>balance</entry><entry>The stereo balance on a scale of 0-65535, 32768 is
middle.</> middle.</entry>
</row><row> </row><row>
<entry>step</><entry>The step by which the volume control jumps. This is <entry>step</entry><entry>The step by which the volume control jumps. This is
used to help make it easy for applications to set used to help make it easy for applications to set
slider behaviour.</> slider behaviour.</entry>
</row> </row>
</tbody> </tbody>
</tgroup> </tgroup>
...@@ -617,15 +619,15 @@ static int current_volume=0; ...@@ -617,15 +619,15 @@ static int current_volume=0;
<tgroup cols="2" align="left"> <tgroup cols="2" align="left">
<tbody> <tbody>
<row> <row>
<entry>VIDEO_AUDIO_MUTE</><entry>The audio is currently muted. We <entry>VIDEO_AUDIO_MUTE</entry><entry>The audio is currently muted. We
could fake this in our driver but we could fake this in our driver but we
choose not to bother.</entry> choose not to bother.</entry>
</row><row> </row><row>
<entry>VIDEO_AUDIO_MUTABLE</><entry>The input has a mute option</entry> <entry>VIDEO_AUDIO_MUTABLE</entry><entry>The input has a mute option</entry>
</row><row> </row><row>
<entry>VIDEO_AUDIO_TREBLE</><entry>The input has a treble control</entry> <entry>VIDEO_AUDIO_TREBLE</entry><entry>The input has a treble control</entry>
</row><row> </row><row>
<entry>VIDEO_AUDIO_BASS</><entry>The input has a base control</entry> <entry>VIDEO_AUDIO_BASS</entry><entry>The input has a base control</entry>
</row> </row>
</tbody> </tbody>
</tgroup> </tgroup>
...@@ -635,13 +637,13 @@ static int current_volume=0; ...@@ -635,13 +637,13 @@ static int current_volume=0;
<tgroup cols="2" align="left"> <tgroup cols="2" align="left">
<tbody> <tbody>
<row> <row>
<entry>VIDEO_SOUND_MONO</><entry>Mono sound</entry> <entry>VIDEO_SOUND_MONO</entry><entry>Mono sound</entry>
</row><row> </row><row>
<entry>VIDEO_SOUND_STEREO</><entry>Stereo sound</entry> <entry>VIDEO_SOUND_STEREO</entry><entry>Stereo sound</entry>
</row><row> </row><row>
<entry>VIDEO_SOUND_LANG1</><entry>Alternative language 1 (TV specific)</entry> <entry>VIDEO_SOUND_LANG1</entry><entry>Alternative language 1 (TV specific)</entry>
</row><row> </row><row>
<entry>VIDEO_SOUND_LANG2</><entry>Alternative language 2 (TV specific)</entry> <entry>VIDEO_SOUND_LANG2</entry><entry>Alternative language 2 (TV specific)</entry>
</row> </row>
</tbody> </tbody>
</tgroup> </tgroup>
...@@ -866,37 +868,37 @@ static struct video_device my_camera ...@@ -866,37 +868,37 @@ static struct video_device my_camera
<tgroup cols="2" align="left"> <tgroup cols="2" align="left">
<tbody> <tbody>
<row> <row>
<entry>VID_TYPE_CAPTURE</><entry>We support image capture</> <entry>VID_TYPE_CAPTURE</entry><entry>We support image capture</entry>
</row><row> </row><row>
<entry>VID_TYPE_TELETEXT</><entry>A teletext capture device (vbi{n])</> <entry>VID_TYPE_TELETEXT</entry><entry>A teletext capture device (vbi{n])</entry>
</row><row> </row><row>
<entry>VID_TYPE_OVERLAY</><entry>The image can be directly overlaid onto the <entry>VID_TYPE_OVERLAY</entry><entry>The image can be directly overlaid onto the
frame buffer</> frame buffer</entry>
</row><row> </row><row>
<entry>VID_TYPE_CHROMAKEY</><entry>Chromakey can be used to select which parts <entry>VID_TYPE_CHROMAKEY</entry><entry>Chromakey can be used to select which parts
of the image to display</> of the image to display</entry>
</row><row> </row><row>
<entry>VID_TYPE_CLIPPING</><entry>It is possible to give the board a list of <entry>VID_TYPE_CLIPPING</entry><entry>It is possible to give the board a list of
rectangles to draw around. </> rectangles to draw around. </entry>
</row><row> </row><row>
<entry>VID_TYPE_FRAMERAM</><entry>The video capture goes into the video memory <entry>VID_TYPE_FRAMERAM</entry><entry>The video capture goes into the video memory
and actually changes it. Applications need and actually changes it. Applications need
to know this so they can clean up after the to know this so they can clean up after the
card</> card</entry>
</row><row> </row><row>
<entry>VID_TYPE_SCALES</><entry>The image can be scaled to various sizes, <entry>VID_TYPE_SCALES</entry><entry>The image can be scaled to various sizes,
rather than being a single fixed size.</> rather than being a single fixed size.</entry>
</row><row> </row><row>
<entry>VID_TYPE_MONOCHROME</><entry>The capture will be monochrome. This isn't a <entry>VID_TYPE_MONOCHROME</entry><entry>The capture will be monochrome. This isn't a
complete answer to the question since a mono complete answer to the question since a mono
camera on a colour capture card will still camera on a colour capture card will still
produce mono output.</> produce mono output.</entry>
</row><row> </row><row>
<entry>VID_TYPE_SUBCAPTURE</><entry>The card allows only part of its field of <entry>VID_TYPE_SUBCAPTURE</entry><entry>The card allows only part of its field of
view to be captured. This enables view to be captured. This enables
applications to avoid copying all of a large applications to avoid copying all of a large
image into memory when only some section is image into memory when only some section is
relevant.</> relevant.</entry>
</row> </row>
</tbody> </tbody>
</tgroup> </tgroup>
...@@ -1207,18 +1209,18 @@ static int camera_ioctl(struct video_device *dev, unsigned int cmd, void *arg) ...@@ -1207,18 +1209,18 @@ static int camera_ioctl(struct video_device *dev, unsigned int cmd, void *arg)
<tbody> <tbody>
<row> <row>
<entry>channel</><entry>The channel number we are selecting</entry> <entry>channel</entry><entry>The channel number we are selecting</entry>
</row><row> </row><row>
<entry>name</><entry>The name for this channel. This is intended <entry>name</entry><entry>The name for this channel. This is intended
to describe the port to the user. to describe the port to the user.
Appropriate names are therefore things like Appropriate names are therefore things like
"Camera" "SCART input"</entry> "Camera" "SCART input"</entry>
</row><row> </row><row>
<entry>flags</><entry>Channel properties</entry> <entry>flags</entry><entry>Channel properties</entry>
</row><row> </row><row>
<entry>type</><entry>Input type</entry> <entry>type</entry><entry>Input type</entry>
</row><row> </row><row>
<entry>norm</><entry>The current television encoding being used <entry>norm</entry><entry>The current television encoding being used
if relevant for this channel. if relevant for this channel.
</entry> </entry>
</row> </row>
...@@ -1229,9 +1231,9 @@ static int camera_ioctl(struct video_device *dev, unsigned int cmd, void *arg) ...@@ -1229,9 +1231,9 @@ static int camera_ioctl(struct video_device *dev, unsigned int cmd, void *arg)
<tgroup cols="2" align="left"> <tgroup cols="2" align="left">
<tbody> <tbody>
<row> <row>
<entry>VIDEO_VC_TUNER</><entry>Channel has a tuner.</entry> <entry>VIDEO_VC_TUNER</entry><entry>Channel has a tuner.</entry>
</row><row> </row><row>
<entry>VIDEO_VC_AUDIO</><entry>Channel has audio.</entry> <entry>VIDEO_VC_AUDIO</entry><entry>Channel has audio.</entry>
</row> </row>
</tbody> </tbody>
</tgroup> </tgroup>
...@@ -1240,11 +1242,11 @@ static int camera_ioctl(struct video_device *dev, unsigned int cmd, void *arg) ...@@ -1240,11 +1242,11 @@ static int camera_ioctl(struct video_device *dev, unsigned int cmd, void *arg)
<tgroup cols="2" align="left"> <tgroup cols="2" align="left">
<tbody> <tbody>
<row> <row>
<entry>VIDEO_TYPE_TV</><entry>Television input.</entry> <entry>VIDEO_TYPE_TV</entry><entry>Television input.</entry>
</row><row> </row><row>
<entry>VIDEO_TYPE_CAMERA</><entry>Fixed camera input.</entry> <entry>VIDEO_TYPE_CAMERA</entry><entry>Fixed camera input.</entry>
</row><row> </row><row>
<entry>0</><entry>Type is unknown.</entry> <entry>0</entry><entry>Type is unknown.</entry>
</row> </row>
</tbody> </tbody>
</tgroup> </tgroup>
...@@ -1253,13 +1255,13 @@ static int camera_ioctl(struct video_device *dev, unsigned int cmd, void *arg) ...@@ -1253,13 +1255,13 @@ static int camera_ioctl(struct video_device *dev, unsigned int cmd, void *arg)
<tgroup cols="2" align="left"> <tgroup cols="2" align="left">
<tbody> <tbody>
<row> <row>
<entry>VIDEO_MODE_PAL</><entry>PAL encoded Television</entry> <entry>VIDEO_MODE_PAL</entry><entry>PAL encoded Television</entry>
</row><row> </row><row>
<entry>VIDEO_MODE_NTSC</><entry>NTSC (US) encoded Television</entry> <entry>VIDEO_MODE_NTSC</entry><entry>NTSC (US) encoded Television</entry>
</row><row> </row><row>
<entry>VIDEO_MODE_SECAM</><entry>SECAM (French) Television </entry> <entry>VIDEO_MODE_SECAM</entry><entry>SECAM (French) Television </entry>
</row><row> </row><row>
<entry>VIDEO_MODE_AUTO</><entry>Automatic switching, or format does not <entry>VIDEO_MODE_AUTO</entry><entry>Automatic switching, or format does not
matter</entry> matter</entry>
</row> </row>
</tbody> </tbody>
...@@ -1339,14 +1341,14 @@ static int camera_ioctl(struct video_device *dev, unsigned int cmd, void *arg) ...@@ -1339,14 +1341,14 @@ static int camera_ioctl(struct video_device *dev, unsigned int cmd, void *arg)
<tgroup cols="2" align="left"> <tgroup cols="2" align="left">
<tbody> <tbody>
<row> <row>
<entry>GREY</><entry>Linear greyscale. This is for simple cameras and the <entry>GREY</entry><entry>Linear greyscale. This is for simple cameras and the
like</> like</entry>
</row><row> </row><row>
<entry>RGB565</><entry>The top 5 bits hold 32 red levels, the next six bits <entry>RGB565</entry><entry>The top 5 bits hold 32 red levels, the next six bits
hold green and the low 5 bits hold blue. </> hold green and the low 5 bits hold blue. </entry>
</row><row> </row><row>
<entry>RGB555</><entry>The top bit is clear. The red green and blue levels <entry>RGB555</entry><entry>The top bit is clear. The red green and blue levels
each occupy five bits.</> each occupy five bits.</entry>
</row> </row>
</tbody> </tbody>
</tgroup> </tgroup>
...@@ -1477,32 +1479,32 @@ static struct video_buffer capture_fb; ...@@ -1477,32 +1479,32 @@ static struct video_buffer capture_fb;
<tgroup cols="2" align="left"> <tgroup cols="2" align="left">
<tbody> <tbody>
<row> <row>
<entry>width</><entry>The width in pixels of the desired image. The card <entry>width</entry><entry>The width in pixels of the desired image. The card
may use a smaller size if this size is not available</> may use a smaller size if this size is not available</entry>
</row><row> </row><row>
<entry>height</><entry>The height of the image. The card may use a smaller <entry>height</entry><entry>The height of the image. The card may use a smaller
size if this size is not available.</> size if this size is not available.</entry>
</row><row> </row><row>
<entry>x</><entry> The X position of the top left of the window. This <entry>x</entry><entry> The X position of the top left of the window. This
is in pixels relative to the left hand edge of the is in pixels relative to the left hand edge of the
picture. Not all cards can display images aligned on picture. Not all cards can display images aligned on
any pixel boundary. If the position is unsuitable any pixel boundary. If the position is unsuitable
the card adjusts the image right and reduces the the card adjusts the image right and reduces the
width.</> width.</entry>
</row><row> </row><row>
<entry>y</><entry> The Y position of the top left of the window. This <entry>y</entry><entry> The Y position of the top left of the window. This
is counted in pixels relative to the top edge of the is counted in pixels relative to the top edge of the
picture. As with the width if the card cannot picture. As with the width if the card cannot
display starting on this line it will adjust the display starting on this line it will adjust the
values.</> values.</entry>
</row><row> </row><row>
<entry>chromakey</><entry>The colour (expressed in RGB32 format) for the <entry>chromakey</entry><entry>The colour (expressed in RGB32 format) for the
chromakey colour if chroma keying is being used. </> chromakey colour if chroma keying is being used. </entry>
</row><row> </row><row>
<entry>clips</><entry>An array of rectangles that must not be drawn <entry>clips</entry><entry>An array of rectangles that must not be drawn
over.</> over.</entry>
</row><row> </row><row>
<entry>clipcount</><entry>The number of clips in this array.</> <entry>clipcount</entry><entry>The number of clips in this array.</entry>
</row> </row>
</tbody> </tbody>
</tgroup> </tgroup>
...@@ -1514,11 +1516,11 @@ static struct video_buffer capture_fb; ...@@ -1514,11 +1516,11 @@ static struct video_buffer capture_fb;
<tgroup cols="2" align="left"> <tgroup cols="2" align="left">
<tbody> <tbody>
<row> <row>
<entry>x, y</><entry>Co-ordinates relative to the display</> <entry>x, y</entry><entry>Co-ordinates relative to the display</entry>
</row><row> </row><row>
<entry>width, height</><entry>Width and height in pixels</> <entry>width, height</entry><entry>Width and height in pixels</entry>
</row><row> </row><row>
<entry>next</><entry>A spare field for the application to use</> <entry>next</entry><entry>A spare field for the application to use</entry>
</row> </row>
</tbody> </tbody>
</tgroup> </tgroup>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="WANGuide"> <book id="WANGuide">
<bookinfo> <bookinfo>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="USBDeviceDriver"> <book id="USBDeviceDriver">
<bookinfo> <bookinfo>
......
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<book id="Z85230Guide"> <book id="Z85230Guide">
<bookinfo> <bookinfo>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment