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
b4cd547b
Commit
b4cd547b
authored
Apr 27, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr 8139cp] enable MWI via pci_set_mwi, rather than manually
parent
24f91a19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
drivers/net/8139cp.c
drivers/net/8139cp.c
+1
-6
No files found.
drivers/net/8139cp.c
View file @
b4cd547b
...
...
@@ -1779,7 +1779,6 @@ static int __devinit cp_init_one (struct pci_dev *pdev,
long
pciaddr
;
unsigned
int
addr_len
,
i
;
u8
pci_rev
,
cache_size
;
u16
pci_command
;
unsigned
int
board_type
=
(
unsigned
int
)
ent
->
driver_data
;
#ifndef MODULE
...
...
@@ -1937,12 +1936,8 @@ static int __devinit cp_init_one (struct pci_dev *pdev,
}
/* enable busmastering and memory-write-invalidate */
pci_read_config_word
(
pdev
,
PCI_COMMAND
,
&
pci_command
);
if
(
!
(
pci_command
&
PCI_COMMAND_INVALIDATE
))
{
pci_command
|=
PCI_COMMAND_INVALIDATE
;
pci_write_config_word
(
pdev
,
PCI_COMMAND
,
pci_command
);
}
pci_set_master
(
pdev
);
pci_set_mwi
(
pdev
);
if
(
cp
->
wol_enabled
)
cp_set_d3_state
(
cp
);
...
...
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