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
Kirill Smelkov
linux
Commits
5b1d221e
Commit
5b1d221e
authored
Dec 09, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Fix build of several IDE drivers by providing pci_get_legacy_ide_irq
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
3263263f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
include/asm-mips/pci.h
include/asm-mips/pci.h
+6
-0
No files found.
include/asm-mips/pci.h
View file @
5b1d221e
...
...
@@ -187,4 +187,10 @@ static inline void pcibios_add_platform_entries(struct pci_dev *dev)
/* Do platform specific device initialization at pci_enable_device() time */
extern
int
pcibios_plat_dev_init
(
struct
pci_dev
*
dev
);
/* Chances are this interrupt is wired PC-style ... */
static
inline
int
pci_get_legacy_ide_irq
(
struct
pci_dev
*
dev
,
int
channel
)
{
return
channel
?
15
:
14
;
}
#endif
/* _ASM_PCI_H */
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