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
758e25dd
Commit
758e25dd
authored
Feb 13, 2003
by
Alan Cox
Committed by
David Woodhouse
Feb 13, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Fix ultrastor for new scsi
parent
d27d43d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/scsi/ultrastor.c
drivers/scsi/ultrastor.c
+5
-5
No files found.
drivers/scsi/ultrastor.c
View file @
758e25dd
...
...
@@ -504,7 +504,7 @@ static int ultrastor_14f_detect(Scsi_Host_Template * tpnt)
* Brrr, &config.mscp[0].SCint->host) it is something magical....
* XXX and FIXME
*/
if
(
request_irq
(
config
.
interrupt
,
do_ultrastor_interrupt
,
0
,
"Ultrastor"
,
&
config
.
mscp
[
0
].
SCint
->
host
))
{
if
(
request_irq
(
config
.
interrupt
,
do_ultrastor_interrupt
,
0
,
"Ultrastor"
,
&
config
.
mscp
[
0
].
SCint
->
device
->
host
))
{
printk
(
"Unable to allocate IRQ%u for UltraStor controller.
\n
"
,
config
.
interrupt
);
goto
out_release_port
;
...
...
@@ -714,9 +714,9 @@ static int ultrastor_queuecommand(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *))
??? Which other device types should never use the cache? */
my_mscp
->
ca
=
SCpnt
->
device
->
type
!=
TYPE_TAPE
;
my_mscp
->
target_id
=
SCpnt
->
target
;
my_mscp
->
target_id
=
SCpnt
->
device
->
id
;
my_mscp
->
ch_no
=
0
;
my_mscp
->
lun
=
SCpnt
->
lun
;
my_mscp
->
lun
=
SCpnt
->
device
->
lun
;
if
(
SCpnt
->
use_sg
)
{
/* Set scatter/gather flag in SCSI command packet */
my_mscp
->
sg
=
TRUE
;
...
...
@@ -832,7 +832,7 @@ static int ultrastor_abort(Scsi_Cmnd *SCpnt)
unsigned
char
old_aborted
;
unsigned
long
flags
;
void
(
*
done
)(
Scsi_Cmnd
*
);
struct
Scsi_Host
*
host
=
SCpnt
->
host
;
struct
Scsi_Host
*
host
=
SCpnt
->
device
->
host
;
if
(
config
.
slot
)
return
FAILED
;
/* Do not attempt an abort for the 24f */
...
...
@@ -954,7 +954,7 @@ static int ultrastor_host_reset(Scsi_Cmnd * SCpnt)
{
unsigned
long
flags
;
int
i
;
struct
Scsi_Host
*
host
=
SCpnt
->
host
;
struct
Scsi_Host
*
host
=
SCpnt
->
device
->
host
;
#if (ULTRASTOR_DEBUG & UD_RESET)
printk
(
"US14F: reset: called
\n
"
);
...
...
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