patch-2.4.23 linux-2.4.23/Documentation/zorro.txt
Next file: linux-2.4.23/MAINTAINERS
Previous file: linux-2.4.23/Documentation/x86_64/boot-options.txt
Back to the patch index
Back to the overall index
- Lines: 46
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/Documentation/zorro.txt
- Orig date:
2000-10-16 12:51:16.000000000 -0700
diff -urN linux-2.4.22/Documentation/zorro.txt linux-2.4.23/Documentation/zorro.txt
@@ -2,7 +2,7 @@
----------------------------------------
Written by Geert Uytterhoeven <geert@linux-m68k.org>
-Last revised: February 27, 2000
+Last revised: September 5, 2003
1. Introduction
@@ -77,7 +77,7 @@
The treatment of these regions depends on the type of Zorro space:
- Zorro II address space is always mapped and does not have to be mapped
- explicitly using ioremap().
+ explicitly using z_ioremap().
Conversion from bus/physical Zorro II addresses to kernel virtual addresses
and vice versa is done using:
@@ -85,22 +85,20 @@
virt_addr = ZTWO_VADDR(bus_addr);
bus_addr = ZTWO_PADDR(virt_addr);
- - Zorro III address space must be mapped explicitly using ioremap() first
+ - Zorro III address space must be mapped explicitly using z_ioremap() first
before it can be accessed:
- virt_addr = ioremap(bus_addr, size);
+ virt_addr = z_ioremap(bus_addr, size);
...
- iounmap(virt_addr);
+ z_iounmap(virt_addr);
5. References
-------------
linux/include/linux/zorro.h
-linux/include/linux/ioport.h
-linux/include/asm-m68k/io.h
-linux/include/asm-m68k/amigahw.h
-linux/include/asm-ppc/io.h
+linux/include/asm-{m68k,ppc}/zorro.h
+linux/include/linux/zorro_ids.h
linux/drivers/zorro
/proc/bus/zorro
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)