Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
b1017ae4
Commit
b1017ae4
authored
Sep 28, 2003
by
Geert Uytterhoeven
Committed by
Linus Torvalds
Sep 28, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Amiga Zorro bus doc updates
Amiga Zorro bus: Update the docs to match the current situation.
parent
4411451d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
Documentation/zorro.txt
Documentation/zorro.txt
+7
-9
No files found.
Documentation/zorro.txt
View file @
b1017ae4
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
----------------------------------------
----------------------------------------
Written by Geert Uytterhoeven <geert@linux-m68k.org>
Written by Geert Uytterhoeven <geert@linux-m68k.org>
Last revised:
February 27, 2000
Last revised:
September 5, 2003
1. Introduction
1. Introduction
...
@@ -75,7 +75,7 @@ they are CPU physical addresses as well.
...
@@ -75,7 +75,7 @@ they are CPU physical addresses as well.
The treatment of these regions depends on the type of Zorro space:
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
- 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
Conversion from bus/physical Zorro II addresses to kernel virtual addresses
and vice versa is done using:
and vice versa is done using:
...
@@ -83,22 +83,20 @@ The treatment of these regions depends on the type of Zorro space:
...
@@ -83,22 +83,20 @@ The treatment of these regions depends on the type of Zorro space:
virt_addr = ZTWO_VADDR(bus_addr);
virt_addr = ZTWO_VADDR(bus_addr);
bus_addr = ZTWO_PADDR(virt_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:
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
5. References
-------------
-------------
linux/include/linux/zorro.h
linux/include/linux/zorro.h
linux/include/linux/ioport.h
linux/include/asm-{m68k,ppc}/zorro.h
linux/include/asm-m68k/io.h
linux/include/linux/zorro_ids.h
linux/include/asm-m68k/amigahw.h
linux/include/asm-ppc/io.h
linux/drivers/zorro
linux/drivers/zorro
/proc/bus/zorro
/proc/bus/zorro
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment