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
df625579
Commit
df625579
authored
Jan 11, 2005
by
Tony Luck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IA64] reorder functions to define ia64_pci_get_legacy_mem() before using it
Signed-off-by:
Tony Luck
<
tony.luck@intel.com
>
parent
d75f1c61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
arch/ia64/pci/pci.c
arch/ia64/pci/pci.c
+17
-17
No files found.
arch/ia64/pci/pci.c
View file @
df625579
...
@@ -550,6 +550,23 @@ pci_mmap_page_range (struct pci_dev *dev, struct vm_area_struct *vma,
...
@@ -550,6 +550,23 @@ pci_mmap_page_range (struct pci_dev *dev, struct vm_area_struct *vma,
return
0
;
return
0
;
}
}
/**
* ia64_pci_get_legacy_mem - generic legacy mem routine
* @bus: bus to get legacy memory base address for
*
* Find the base of legacy memory for @bus. This is typically the first
* megabyte of bus address space for @bus or is simply 0 on platforms whose
* chipsets support legacy I/O and memory routing. Returns the base address
* or an error pointer if an error occurred.
*
* This is the ia64 generic version of this routine. Other platforms
* are free to override it with a machine vector.
*/
char
*
ia64_pci_get_legacy_mem
(
struct
pci_bus
*
bus
)
{
return
(
char
*
)
__IA64_UNCACHED_OFFSET
;
}
/**
/**
* pci_mmap_legacy_page_range - map legacy memory space to userland
* pci_mmap_legacy_page_range - map legacy memory space to userland
* @bus: bus whose legacy space we're mapping
* @bus: bus whose legacy space we're mapping
...
@@ -578,23 +595,6 @@ pci_mmap_legacy_page_range(struct pci_bus *bus, struct vm_area_struct *vma)
...
@@ -578,23 +595,6 @@ pci_mmap_legacy_page_range(struct pci_bus *bus, struct vm_area_struct *vma)
return
0
;
return
0
;
}
}
/**
* ia64_pci_get_legacy_mem - generic legacy mem routine
* @bus: bus to get legacy memory base address for
*
* Find the base of legacy memory for @bus. This is typically the first
* megabyte of bus address space for @bus or is simply 0 on platforms whose
* chipsets support legacy I/O and memory routing. Returns the base address
* or an error pointer if an error occurred.
*
* This is the ia64 generic version of this routine. Other platforms
* are free to override it with a machine vector.
*/
char
*
ia64_pci_get_legacy_mem
(
struct
pci_bus
*
bus
)
{
return
(
char
*
)
__IA64_UNCACHED_OFFSET
;
}
/**
/**
* ia64_pci_legacy_read - read from legacy I/O space
* ia64_pci_legacy_read - read from legacy I/O space
* @bus: bus to read
* @bus: bus to read
...
...
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