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
515a6f24
Commit
515a6f24
authored
Oct 27, 2002
by
Alan Cox
Committed by
Linus Torvalds
Oct 27, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix scsi irq errors on seagate
parent
610b5962
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
drivers/scsi/seagate.c
drivers/scsi/seagate.c
+8
-0
drivers/scsi/seagate.h
drivers/scsi/seagate.h
+1
-0
No files found.
drivers/scsi/seagate.c
View file @
515a6f24
...
@@ -1689,6 +1689,14 @@ static int seagate_st0x_device_reset(Scsi_Cmnd *SCpnt)
...
@@ -1689,6 +1689,14 @@ static int seagate_st0x_device_reset(Scsi_Cmnd *SCpnt)
return
FAILED
;
return
FAILED
;
}
}
static
int
seagate_st0x_release
(
struct
Scsi_Host
*
shost
)
{
if
(
shost
->
irq
)
free_irq
(
shost
->
irq
,
shost
);
release_region
(
shost
->
io_port
,
shost
->
n_io_port
);
return
0
;
}
/* Eventually this will go into an include file, but this will be later */
/* Eventually this will go into an include file, but this will be later */
static
Scsi_Host_Template
driver_template
=
SEAGATE_ST0X
;
static
Scsi_Host_Template
driver_template
=
SEAGATE_ST0X
;
...
...
drivers/scsi/seagate.h
View file @
515a6f24
...
@@ -20,6 +20,7 @@ static int seagate_st0x_device_reset(Scsi_Cmnd *);
...
@@ -20,6 +20,7 @@ static int seagate_st0x_device_reset(Scsi_Cmnd *);
static
int
seagate_st0x_host_reset
(
Scsi_Cmnd
*
);
static
int
seagate_st0x_host_reset
(
Scsi_Cmnd
*
);
#define SEAGATE_ST0X { detect: seagate_st0x_detect, \
#define SEAGATE_ST0X { detect: seagate_st0x_detect, \
release: seagate_st0x_release, \
info: seagate_st0x_info, \
info: seagate_st0x_info, \
command: seagate_st0x_command, \
command: seagate_st0x_command, \
queuecommand: seagate_st0x_queue_command, \
queuecommand: seagate_st0x_queue_command, \
...
...
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