[bootlin/training-materials updates] master: kernel: iomem: Clarify what PCI-style means when talking about endianness (40d45d1c)
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Oct 29 10:46:39 CEST 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/40d45d1c2e8aafb00022c0211585f0e33b9b2549
>---------------------------------------------------------------
commit 40d45d1c2e8aafb00022c0211585f0e33b9b2549
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>
>---------------------------------------------------------------
40d45d1c2e8aafb00022c0211585f0e33b9b2549
.../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