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
8d509777
Commit
8d509777
authored
Apr 20, 2003
by
Andrew Morton
Committed by
Linus Torvalds
Apr 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] irqs: 1394
Update 1394 to the new IRQ API
parent
5396585d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
drivers/ieee1394/ohci1394.c
drivers/ieee1394/ohci1394.c
+4
-3
No files found.
drivers/ieee1394/ohci1394.c
View file @
8d509777
...
@@ -2214,7 +2214,7 @@ static void ohci_schedule_iso_tasklets(struct ti_ohci *ohci,
...
@@ -2214,7 +2214,7 @@ static void ohci_schedule_iso_tasklets(struct ti_ohci *ohci,
}
}
static
void
ohci_irq_handler
(
int
irq
,
void
*
dev_id
,
static
irqreturn_t
ohci_irq_handler
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs_are_unused
)
struct
pt_regs
*
regs_are_unused
)
{
{
quadlet_t
event
,
node_id
;
quadlet_t
event
,
node_id
;
...
@@ -2231,7 +2231,8 @@ static void ohci_irq_handler(int irq, void *dev_id,
...
@@ -2231,7 +2231,8 @@ static void ohci_irq_handler(int irq, void *dev_id,
reg_write
(
ohci
,
OHCI1394_IntEventClear
,
event
&
~
OHCI1394_busReset
);
reg_write
(
ohci
,
OHCI1394_IntEventClear
,
event
&
~
OHCI1394_busReset
);
spin_unlock_irqrestore
(
&
ohci
->
event_lock
,
flags
);
spin_unlock_irqrestore
(
&
ohci
->
event_lock
,
flags
);
if
(
!
event
)
return
;
if
(
!
event
)
return
IRQ_HANDLED
;
DBGMSG
(
ohci
->
id
,
"IntEvent: %08x"
,
event
);
DBGMSG
(
ohci
->
id
,
"IntEvent: %08x"
,
event
);
...
@@ -2462,7 +2463,7 @@ static void ohci_irq_handler(int irq, void *dev_id,
...
@@ -2462,7 +2463,7 @@ static void ohci_irq_handler(int irq, void *dev_id,
PRINT
(
KERN_ERR
,
ohci
->
id
,
"Unhandled interrupt(s) 0x%08x"
,
PRINT
(
KERN_ERR
,
ohci
->
id
,
"Unhandled interrupt(s) 0x%08x"
,
event
);
event
);
return
;
return
IRQ_HANDLED
;
}
}
/* Put the buffer back into the dma context */
/* Put the buffer back into the dma context */
...
...
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