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
006631a8
Commit
006631a8
authored
Apr 21, 2003
by
James Bottomley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
irqreturn_t fixup for 53c700
parent
8b8b413e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
drivers/scsi/53c700.c
drivers/scsi/53c700.c
+5
-1
drivers/scsi/53c700.h
drivers/scsi/53c700.h
+1
-1
No files found.
drivers/scsi/53c700.c
View file @
006631a8
...
...
@@ -1432,7 +1432,7 @@ NCR_700_start_command(Scsi_Cmnd *SCp)
return
1
;
}
void
irqreturn_t
NCR_700_intr
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
{
struct
Scsi_Host
*
host
=
(
struct
Scsi_Host
*
)
dev_id
;
...
...
@@ -1442,6 +1442,7 @@ NCR_700_intr(int irq, void *dev_id, struct pt_regs *regs)
__u32
resume_offset
=
0
;
__u8
pun
=
0xff
,
lun
=
0xff
;
unsigned
long
flags
;
irqreturn_t
retval
=
IRQ_NONE
;
/* Use the host lock to serialise acess to the 53c700
* hardware. Note: In future, we may need to take the queue
...
...
@@ -1457,6 +1458,8 @@ NCR_700_intr(int irq, void *dev_id, struct pt_regs *regs)
Scsi_Cmnd
*
SCp
=
hostdata
->
cmd
;
enum
NCR_700_Host_State
state
;
retval
=
IRQ_HANDLED
;
state
=
hostdata
->
state
;
SCp
=
hostdata
->
cmd
;
...
...
@@ -1697,6 +1700,7 @@ NCR_700_intr(int irq, void *dev_id, struct pt_regs *regs)
}
out_unlock:
spin_unlock_irqrestore
(
host
->
host_lock
,
flags
);
return
retval
;
}
/* FIXME: Need to put some proc information in and plumb it
...
...
drivers/scsi/53c700.h
View file @
006631a8
...
...
@@ -52,7 +52,7 @@ struct NCR_700_Host_Parameters;
/* These are the externally used routines */
struct
Scsi_Host
*
NCR_700_detect
(
Scsi_Host_Template
*
,
struct
NCR_700_Host_Parameters
*
);
int
NCR_700_release
(
struct
Scsi_Host
*
host
);
void
NCR_700_intr
(
int
,
void
*
,
struct
pt_regs
*
);
irqreturn_t
NCR_700_intr
(
int
,
void
*
,
struct
pt_regs
*
);
enum
NCR_700_Host_State
{
...
...
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