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
2918c35d
Commit
2918c35d
authored
May 12, 2005
by
Michal Schmidt
Committed by
Jeff Garzik
May 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] forcedeth: netpoll support
parent
88d7bd8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
drivers/net/forcedeth.c
drivers/net/forcedeth.c
+10
-0
No files found.
drivers/net/forcedeth.c
View file @
2918c35d
...
@@ -1480,6 +1480,13 @@ static void nv_do_nic_poll(unsigned long data)
...
@@ -1480,6 +1480,13 @@ static void nv_do_nic_poll(unsigned long data)
enable_irq
(
dev
->
irq
);
enable_irq
(
dev
->
irq
);
}
}
#ifdef CONFIG_NET_POLL_CONTROLLER
static
void
nv_poll_controller
(
struct
net_device
*
dev
)
{
nv_do_nic_poll
((
unsigned
long
)
dev
);
}
#endif
static
void
nv_get_drvinfo
(
struct
net_device
*
dev
,
struct
ethtool_drvinfo
*
info
)
static
void
nv_get_drvinfo
(
struct
net_device
*
dev
,
struct
ethtool_drvinfo
*
info
)
{
{
struct
fe_priv
*
np
=
get_nvpriv
(
dev
);
struct
fe_priv
*
np
=
get_nvpriv
(
dev
);
...
@@ -1962,6 +1969,9 @@ static int __devinit nv_probe(struct pci_dev *pci_dev, const struct pci_device_i
...
@@ -1962,6 +1969,9 @@ static int __devinit nv_probe(struct pci_dev *pci_dev, const struct pci_device_i
dev
->
get_stats
=
nv_get_stats
;
dev
->
get_stats
=
nv_get_stats
;
dev
->
change_mtu
=
nv_change_mtu
;
dev
->
change_mtu
=
nv_change_mtu
;
dev
->
set_multicast_list
=
nv_set_multicast
;
dev
->
set_multicast_list
=
nv_set_multicast
;
#ifdef CONFIG_NET_POLL_CONTROLLER
dev
->
poll_controller
=
nv_poll_controller
;
#endif
SET_ETHTOOL_OPS
(
dev
,
&
ops
);
SET_ETHTOOL_OPS
(
dev
,
&
ops
);
dev
->
tx_timeout
=
nv_tx_timeout
;
dev
->
tx_timeout
=
nv_tx_timeout
;
dev
->
watchdog_timeo
=
NV_WATCHDOG_TIMEO
;
dev
->
watchdog_timeo
=
NV_WATCHDOG_TIMEO
;
...
...
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