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
f0c88f9c
Commit
f0c88f9c
authored
Mar 25, 2008
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netxen, phy/marvell, skge: minor checkpatch fixes
Signed-off-by:
Jeff Garzik
<
jgarzik@redhat.com
>
parent
f6f4bfa3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
drivers/net/netxen/netxen_nic_init.c
drivers/net/netxen/netxen_nic_init.c
+1
-2
drivers/net/netxen/netxen_nic_main.c
drivers/net/netxen/netxen_nic_main.c
+1
-2
No files found.
drivers/net/netxen/netxen_nic_init.c
View file @
f0c88f9c
...
...
@@ -1144,9 +1144,8 @@ u32 netxen_process_rcv_ring(struct netxen_adapter *adapter, int ctxid, int max)
consumer
=
(
consumer
+
1
)
&
(
adapter
->
max_rx_desc_count
-
1
);
count
++
;
}
for
(
ring
=
0
;
ring
<
NUM_RCV_DESC_RINGS
;
ring
++
)
{
for
(
ring
=
0
;
ring
<
NUM_RCV_DESC_RINGS
;
ring
++
)
netxen_post_rx_buffers_nodb
(
adapter
,
ctxid
,
ring
);
}
/* update the consumer index in phantom */
if
(
count
)
{
...
...
drivers/net/netxen/netxen_nic_main.c
View file @
f0c88f9c
...
...
@@ -166,9 +166,8 @@ static void netxen_nic_disable_int(struct netxen_adapter *adapter)
int
port
=
adapter
->
portnum
;
int
pci_fn
=
adapter
->
ahw
.
pci_func
;
if
(
adapter
->
msi_mode
!=
MSI_MODE_MULTIFUNC
)
{
if
(
adapter
->
msi_mode
!=
MSI_MODE_MULTIFUNC
)
writel
(
0x0
,
NETXEN_CRB_NORMALIZE
(
adapter
,
sw_int_mask
[
port
]));
}
if
(
adapter
->
intr_scheme
!=
-
1
&&
adapter
->
intr_scheme
!=
INTR_SCHEME_PERPORT
)
...
...
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