Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
04efb878
Commit
04efb878
authored
May 24, 2007
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CASSINI]: Check pci_set_mwi() return value.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
ba78073e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
drivers/net/cassini.c
drivers/net/cassini.c
+4
-1
No files found.
drivers/net/cassini.c
View file @
04efb878
...
...
@@ -4919,7 +4919,10 @@ static int __devinit cas_init_one(struct pci_dev *pdev,
pci_cmd
&=
~
PCI_COMMAND_SERR
;
pci_cmd
|=
PCI_COMMAND_PARITY
;
pci_write_config_word
(
pdev
,
PCI_COMMAND
,
pci_cmd
);
pci_set_mwi
(
pdev
);
if
(
pci_set_mwi
(
pdev
))
printk
(
KERN_WARNING
PFX
"Could enable MWI for %s
\n
"
,
pci_name
(
pdev
));
/*
* On some architectures, the default cache line size set
* by pci_set_mwi reduces perforamnce. We have to increase
...
...
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