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
da5508a5
Commit
da5508a5
authored
Oct 19, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Add netconsole support to ARM AM79C961A driver.
parent
d3069b4d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
drivers/net/arm/am79c961a.c
drivers/net/arm/am79c961a.c
+13
-0
No files found.
drivers/net/arm/am79c961a.c
View file @
da5508a5
...
...
@@ -630,6 +630,16 @@ am79c961_interrupt(int irq, void *dev_id, struct pt_regs *regs)
return
IRQ_RETVAL
(
handled
);
}
#ifdef CONFIG_NET_POLL_CONTROLLER
static
void
am79c961_poll_controller
(
struct
net_device
*
dev
)
{
unsigned
long
flags
;
local_irq_save
(
flags
);
am79c961_interrupt
(
dev
->
irq
,
dev
,
NULL
);
local_irq_restore
(
flags
);
}
#endif
/*
* Initialise the chip. Note that we always expect
* to be entered with interrupts enabled.
...
...
@@ -721,6 +731,9 @@ static int __init am79c961_init(void)
dev
->
get_stats
=
am79c961_getstats
;
dev
->
set_multicast_list
=
am79c961_setmulticastlist
;
dev
->
tx_timeout
=
am79c961_timeout
;
#ifdef CONFIG_NET_POLL_CONTROLLER
dev
->
poll_controller
=
am79c961_poll_controller
;
#endif
ret
=
register_netdev
(
dev
);
if
(
ret
==
0
)
...
...
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