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
02d39f13
Commit
02d39f13
authored
Sep 29, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SUNGEM]: Do not need two implementations of poll_controller, hehe.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
ef897573
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
20 deletions
+0
-20
drivers/net/sungem.c
drivers/net/sungem.c
+0
-20
No files found.
drivers/net/sungem.c
View file @
02d39f13
...
...
@@ -2742,23 +2742,6 @@ static void get_gem_mac_nonobp(struct pci_dev *pdev, unsigned char *dev_addr)
}
#endif
/* not Sparc and not PPC */
#ifdef CONFIG_NET_POLL_CONTROLLER
/*
* Polling 'interrupt' - used by things like netconsole to send skbs
* without having to re-enable interrupts. It's not called while
* the interrupt routine is executing.
*/
static
void
gem_netpoll
(
struct
net_device
*
netdev
)
{
struct
gem
*
gp
=
netdev
->
priv
;
if
(
!
gp
->
pdev
)
return
;
disable_irq
(
gp
->
pdev
->
irq
);
gem_interrupt
(
gp
->
pdev
->
irq
,
netdev
,
NULL
);
enable_irq
(
gp
->
pdev
->
irq
);
}
#endif
static
int
__devinit
gem_get_device_address
(
struct
gem
*
gp
)
{
#if defined(__sparc__) || defined(CONFIG_PPC_PMAC)
...
...
@@ -2967,9 +2950,6 @@ static int __devinit gem_init_one(struct pci_dev *pdev,
dev
->
change_mtu
=
gem_change_mtu
;
dev
->
irq
=
pdev
->
irq
;
dev
->
dma
=
0
;
#ifdef CONFIG_NET_POLL_CONTROLLER
dev
->
poll_controller
=
gem_poll_controller
;
#endif
if
(
register_netdev
(
dev
))
{
printk
(
KERN_ERR
PFX
"Cannot register net device, "
...
...
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