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
4d15a177
Commit
4d15a177
authored
Jun 06, 2006
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PCI: fix error with pci_get_device() call in the mpc85xx driver
Signed-off-by:
Greg Kroah-Hartman
<
gregkh@suse.de
>
parent
bd91fde9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
arch/ppc/platforms/85xx/mpc85xx_cds_common.c
arch/ppc/platforms/85xx/mpc85xx_cds_common.c
+4
-5
No files found.
arch/ppc/platforms/85xx/mpc85xx_cds_common.c
View file @
4d15a177
...
@@ -379,13 +379,12 @@ mpc85xx_cds_pcibios_fixup(void)
...
@@ -379,13 +379,12 @@ mpc85xx_cds_pcibios_fixup(void)
PCI_DEVICE_ID_VIA_82C586_2
,
NULL
)))
{
PCI_DEVICE_ID_VIA_82C586_2
,
NULL
)))
{
dev
->
irq
=
10
;
dev
->
irq
=
10
;
pci_write_config_byte
(
dev
,
PCI_INTERRUPT_LINE
,
10
);
pci_write_config_byte
(
dev
,
PCI_INTERRUPT_LINE
,
10
);
pci_dev_put
(
dev
);
}
if
((
dev
=
pci_get_device
(
PCI_VENDOR_ID_VIA
,
if
((
dev
=
pci_get_device
(
PCI_VENDOR_ID_VIA
,
PCI_DEVICE_ID_VIA_82C586_2
,
dev
)))
{
PCI_DEVICE_ID_VIA_82C586_2
,
dev
)))
{
dev
->
irq
=
11
;
dev
->
irq
=
11
;
pci_write_config_byte
(
dev
,
PCI_INTERRUPT_LINE
,
11
);
pci_write_config_byte
(
dev
,
PCI_INTERRUPT_LINE
,
11
);
}
pci_dev_put
(
dev
);
pci_dev_put
(
dev
);
}
}
}
}
...
...
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