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
fa58cfcf
Commit
fa58cfcf
authored
Apr 25, 2004
by
Chas Williams
Committed by
Stephen Hemminger
Apr 25, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ATM]: [fore200e] make use tasklet configurable
parent
9ed124a3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
drivers/atm/Kconfig
drivers/atm/Kconfig
+9
-0
drivers/atm/fore200e.c
drivers/atm/fore200e.c
+3
-1
No files found.
drivers/atm/Kconfig
View file @
fa58cfcf
...
...
@@ -385,6 +385,15 @@ config ATM_FORE200E_SBA_FW
not have to supply an alternative one. They just say Y to "Use
default SBA-200E firmware", above.
config ATM_FORE200E_USE_TASKLET
bool "Defer interrupt work to a tasklet"
depends on (PCI || SBUS) && (ATM_FORE200E_PCA || ATM_FORE200E_SBA)
default n
help
This defers work to be done by the interrupt handler to a
tasklet instead of hanlding everything at interrupt time. This
may improve the responsive of the host.
config ATM_FORE200E_TX_RETRY
int "Maximum number of tx retries"
depends on (PCI || SBUS) && (ATM_FORE200E_PCA || ATM_FORE200E_SBA)
...
...
drivers/atm/fore200e.c
View file @
fa58cfcf
...
...
@@ -55,7 +55,7 @@
#include <asm/pgtable.h>
#endif
#if
0
/* defer interrupt work to a tasklet */
#if
defined(CONFIG_ATM_FORE200E_USE_TASKLET)
/* defer interrupt work to a tasklet */
#define FORE200E_USE_TASKLET
#endif
...
...
@@ -1354,6 +1354,7 @@ fore200e_rx_irq(struct fore200e* fore200e)
}
#ifndef FORE200E_USE_TASKLET
static
void
fore200e_irq
(
struct
fore200e
*
fore200e
)
{
...
...
@@ -1367,6 +1368,7 @@ fore200e_irq(struct fore200e* fore200e)
fore200e_tx_irq
(
fore200e
);
spin_unlock_irqrestore
(
&
fore200e
->
q_lock
,
flags
);
}
#endif
static
irqreturn_t
...
...
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