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
0bfdcc88
Commit
0bfdcc88
authored
Dec 07, 2006
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr] netxen: workqueue-related build fixes
parent
f1ff0fdc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
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
-1
No files found.
drivers/net/netxen/netxen_nic_init.c
View file @
0bfdcc88
...
@@ -1023,8 +1023,7 @@ int netxen_process_cmd_ring(unsigned long data)
...
@@ -1023,8 +1023,7 @@ int netxen_process_cmd_ring(unsigned long data)
&&
netif_carrier_ok
(
port
->
netdev
))
&&
netif_carrier_ok
(
port
->
netdev
))
&&
((
jiffies
-
port
->
netdev
->
trans_start
)
>
&&
((
jiffies
-
port
->
netdev
->
trans_start
)
>
port
->
netdev
->
watchdog_timeo
))
{
port
->
netdev
->
watchdog_timeo
))
{
SCHEDULE_WORK
(
port
->
adapter
->
tx_timeout_task
SCHEDULE_WORK
(
&
port
->
adapter
->
tx_timeout_task
);
+
port
->
portnum
);
}
}
last_consumer
=
get_next_index
(
last_consumer
,
last_consumer
=
get_next_index
(
last_consumer
,
...
...
drivers/net/netxen/netxen_nic_main.c
View file @
0bfdcc88
...
@@ -969,7 +969,7 @@ static void netxen_tx_timeout(struct net_device *netdev)
...
@@ -969,7 +969,7 @@ static void netxen_tx_timeout(struct net_device *netdev)
{
{
struct
netxen_port
*
port
=
(
struct
netxen_port
*
)
netdev_priv
(
netdev
);
struct
netxen_port
*
port
=
(
struct
netxen_port
*
)
netdev_priv
(
netdev
);
SCHEDULE_WORK
(
port
->
adapter
->
tx_timeout_task
+
port
->
portnum
);
SCHEDULE_WORK
(
&
port
->
adapter
->
tx_timeout_task
);
}
}
static
void
netxen_tx_timeout_task
(
struct
work_struct
*
work
)
static
void
netxen_tx_timeout_task
(
struct
work_struct
*
work
)
...
...
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