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
7034227a
Commit
7034227a
authored
Apr 20, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SCSI ESP]: Update for irqreturn_t.
parent
923d1864
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/scsi/esp.c
drivers/scsi/esp.c
+4
-2
No files found.
drivers/scsi/esp.c
View file @
7034227a
...
@@ -186,7 +186,7 @@ static spinlock_t espchain_lock = SPIN_LOCK_UNLOCKED;
...
@@ -186,7 +186,7 @@ static spinlock_t espchain_lock = SPIN_LOCK_UNLOCKED;
static
int
esps_running
=
0
;
static
int
esps_running
=
0
;
/* Forward declarations. */
/* Forward declarations. */
static
void
esp_intr
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
pregs
);
static
irqreturn_t
esp_intr
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
pregs
);
/* Debugging routines */
/* Debugging routines */
struct
esp_cmdstrings
{
struct
esp_cmdstrings
{
...
@@ -4321,7 +4321,7 @@ static void esp_handle(struct esp *esp)
...
@@ -4321,7 +4321,7 @@ static void esp_handle(struct esp *esp)
}
}
/* Service only the ESP described by dev_id. */
/* Service only the ESP described by dev_id. */
static
void
esp_intr
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
pregs
)
static
irqreturn_t
esp_intr
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
pregs
)
{
{
struct
esp
*
esp
=
dev_id
;
struct
esp
*
esp
=
dev_id
;
unsigned
long
flags
;
unsigned
long
flags
;
...
@@ -4337,6 +4337,8 @@ static void esp_intr(int irq, void *dev_id, struct pt_regs *pregs)
...
@@ -4337,6 +4337,8 @@ static void esp_intr(int irq, void *dev_id, struct pt_regs *pregs)
ESP_INTSON
(
esp
->
dregs
);
ESP_INTSON
(
esp
->
dregs
);
}
}
spin_unlock_irqrestore
(
esp
->
ehost
->
host_lock
,
flags
);
spin_unlock_irqrestore
(
esp
->
ehost
->
host_lock
,
flags
);
return
IRQ_HANDLED
;
}
}
static
int
esp_slave_alloc
(
Scsi_Device
*
SDptr
)
static
int
esp_slave_alloc
(
Scsi_Device
*
SDptr
)
...
...
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