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
dd3d5004
Commit
dd3d5004
authored
Apr 20, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TG3]: Update to irqreturn_t.
parent
bb8ed894
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
drivers/net/tg3.c
drivers/net/tg3.c
+3
-1
No files found.
drivers/net/tg3.c
View file @
dd3d5004
...
@@ -2148,7 +2148,7 @@ static inline unsigned int tg3_has_work(struct net_device *dev, struct tg3 *tp)
...
@@ -2148,7 +2148,7 @@ static inline unsigned int tg3_has_work(struct net_device *dev, struct tg3 *tp)
return
work_exists
;
return
work_exists
;
}
}
static
void
tg3_interrupt
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
static
irqreturn_t
tg3_interrupt
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
{
{
struct
net_device
*
dev
=
dev_id
;
struct
net_device
*
dev
=
dev_id
;
struct
tg3
*
tp
=
dev
->
priv
;
struct
tg3
*
tp
=
dev
->
priv
;
...
@@ -2187,6 +2187,8 @@ static void tg3_interrupt(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -2187,6 +2187,8 @@ static void tg3_interrupt(int irq, void *dev_id, struct pt_regs *regs)
}
}
spin_unlock_irqrestore
(
&
tp
->
lock
,
flags
);
spin_unlock_irqrestore
(
&
tp
->
lock
,
flags
);
return
IRQ_HANDLED
;
}
}
static
void
tg3_init_rings
(
struct
tg3
*
);
static
void
tg3_init_rings
(
struct
tg3
*
);
...
...
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