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
79824a43
Commit
79824a43
authored
May 29, 2003
by
Chas Williams
Committed by
David S. Miller
May 29, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ATM]: HE driver misc irq handler cleanups.
parent
83a7f3f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
18 deletions
+16
-18
drivers/atm/he.c
drivers/atm/he.c
+16
-18
No files found.
drivers/atm/he.c
View file @
79824a43
...
...
@@ -2174,7 +2174,8 @@ he_tasklet(unsigned long data)
switch
(
type
)
{
case
ITYPE_RBRQ_THRESH
:
hprintk
(
"rbrq%d threshold
\n
"
,
group
);
HPRINTK
(
"rbrq%d threshold
\n
"
,
group
);
/* fall through */
case
ITYPE_RBRQ_TIMER
:
if
(
he_service_rbrq
(
he_dev
,
group
))
{
he_service_rbpl
(
he_dev
,
group
);
...
...
@@ -2184,7 +2185,8 @@ he_tasklet(unsigned long data)
}
break
;
case
ITYPE_TBRQ_THRESH
:
hprintk
(
"tbrq%d threshold
\n
"
,
group
);
HPRINTK
(
"tbrq%d threshold
\n
"
,
group
);
/* fall through */
case
ITYPE_TPD_COMPLETE
:
he_service_tbrq
(
he_dev
,
group
);
break
;
...
...
@@ -2197,17 +2199,16 @@ he_tasklet(unsigned long data)
#endif
/* USE_RBPS */
break
;
case
ITYPE_PHY
:
HPRINTK
(
"phy interrupt
\n
"
);
#ifdef CONFIG_ATM_HE_USE_SUNI
HE_SPIN_UNLOCK
(
he_dev
,
flags
);
if
(
he_dev
->
atm_dev
->
phy
&&
he_dev
->
atm_dev
->
phy
->
interrupt
)
he_dev
->
atm_dev
->
phy
->
interrupt
(
he_dev
->
atm_dev
);
HE_SPIN_LOCK
(
he_dev
,
flags
);
#endif
HPRINTK
(
"phy interrupt
\n
"
);
break
;
case
ITYPE_OTHER
:
switch
(
type
|
group
)
{
switch
(
type
|
group
)
{
case
ITYPE_PARITY
:
hprintk
(
"parity error
\n
"
);
break
;
...
...
@@ -2216,12 +2217,10 @@ he_tasklet(unsigned long data)
break
;
}
break
;
default:
if
(
he_dev
->
irq_head
->
isw
==
ITYPE_INVALID
)
{
case
ITYPE_TYPE
(
ITYPE_INVALID
):
/* see 8.1.1 -- check all queues */
HPRINTK
(
"isw not updated 0x%x
\n
"
,
he_dev
->
irq_head
->
isw
);
HPRINTK
(
"isw not updated 0x%x
\n
"
,
he_dev
->
irq_head
->
isw
);
he_service_rbrq
(
he_dev
,
0
);
he_service_rbpl
(
he_dev
,
0
);
...
...
@@ -2229,10 +2228,9 @@ he_tasklet(unsigned long data)
he_service_rbps
(
he_dev
,
0
);
#endif
/* USE_RBPS */
he_service_tbrq
(
he_dev
,
0
);
}
else
hprintk
(
"bad isw = 0x%x?
\n
"
,
he_dev
->
irq_head
->
isw
);
break
;
default:
hprintk
(
"bad isw 0x%x?
\n
"
,
he_dev
->
irq_head
->
isw
);
}
he_dev
->
irq_head
->
isw
=
ITYPE_INVALID
;
...
...
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