[bootlin/training-materials updates] master: kernel: iomem: Clarify what PCI-style means when talking about endianness (8d6c6c4e)

Miquel Raynal miquel.raynal at bootlin.com
Tue Jun 22 20:46:58 CEST 2021


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/8d6c6c4ec6a32fa9b1f1986184376b06e00a037c

>---------------------------------------------------------------

commit 8d6c6c4ec6a32fa9b1f1986184376b06e00a037c
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date:   Tue Jun 22 20:31:34 2021 +0200

    kernel: iomem: Clarify what PCI-style means when talking about endianness
    
    Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>


>---------------------------------------------------------------

8d6c6c4ec6a32fa9b1f1986184376b06e00a037c
 .../kernel-driver-development-io-memory.tex                           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/slides/kernel-driver-development-io-memory/kernel-driver-development-io-memory.tex b/slides/kernel-driver-development-io-memory/kernel-driver-development-io-memory.tex
index 63ded5d5..a000dd07 100644
--- a/slides/kernel-driver-development-io-memory/kernel-driver-development-io-memory.tex
+++ b/slides/kernel-driver-development-io-memory/kernel-driver-development-io-memory.tex
@@ -139,8 +139,8 @@ if (IS_ERR(base))
   \item Directly reading from or writing to addresses returned by
     \kfunc{ioremap} (\emph{pointer dereferencing}) may not work on some
     architectures.
-  \item To do PCI-style, little-endian accesses, conversion being done
-    automatically:
+  \item To do PCI-style, little-endian accesses (byte swapping being done
+    automatically assuming a little-endian device):
 \begin{minted}{c}
 unsigned read[bwl](void *addr);
 void write[bwl](unsigned val, void *addr);




More information about the training-materials-updates mailing list