[PATCH 32/32] Documentation/parport.txt: fix table to show on LaTeX

From: Mauro Carvalho Chehab
Date: Mon Oct 17 2016 - 12:58:33 EST


Sphinx doesn't like nested tables on the LaTex output.

So, change the table there to be displayed properly at
the PDF output.

Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx>
---
Documentation/parport.txt | 33 ++++++++++++++++++++++-----------
1 file changed, 22 insertions(+), 11 deletions(-)

diff --git a/Documentation/parport.txt b/Documentation/parport.txt
index 3273ce79f9e3..ad3f9b8a11e1 100644
--- a/Documentation/parport.txt
+++ b/Documentation/parport.txt
@@ -132,6 +132,8 @@ The ``/proc/sys/dev/parport`` directory tree looks like::
|-- modes
`-- spintime

+.. tabularcolumns:: |p{4.0cm}|p{13.5cm}|
+
======================= =======================================================
File Contents
======================= =======================================================
@@ -154,17 +156,26 @@ File Contents
``modes`` Parallel port's hardware modes, comma-separated,
meaning:

- =============== =======================================
- PCSPP PC-style SPP registers are available.
- TRISTATE Port is bidirectional.
- COMPAT Hardware acceleration for printers is
- available and will be used.
- EPP Hardware acceleration for EPP protocol
- is available and will be used.
- ECP Hardware acceleration for ECP protocol
- is available and will be used.
- DMA DMA is available and will be used.
- =============== =======================================
+ - PCSPP
+ PC-style SPP registers are available.
+
+ - TRISTATE
+ Port is bidirectional.
+
+ - COMPAT
+ Hardware acceleration for printers is
+ available and will be used.
+
+ - EPP
+ Hardware acceleration for EPP protocol
+ is available and will be used.
+
+ - ECP
+ Hardware acceleration for ECP protocol
+ is available and will be used.
+
+ - DMA
+ DMA is available and will be used.

Note that the current implementation will only take
advantage of COMPAT and ECP modes if it has an IRQ
--
2.7.4