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
a3a71a19
Commit
a3a71a19
authored
Feb 06, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: fix up drivers the scsi people missed
parent
5ad0c942
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
drivers/usb/image/hpusbscsi.c
drivers/usb/image/hpusbscsi.c
+3
-3
drivers/usb/image/microtek.c
drivers/usb/image/microtek.c
+3
-3
No files found.
drivers/usb/image/hpusbscsi.c
View file @
a3a71a19
...
...
@@ -274,7 +274,7 @@ hpusbscsi_scsi_detect (struct SHT *sht)
static
int
hpusbscsi_scsi_queuecommand
(
Scsi_Cmnd
*
srb
,
scsi_callback
callback
)
{
struct
hpusbscsi
*
hpusbscsi
=
(
struct
hpusbscsi
*
)(
srb
->
host
->
hostdata
[
0
]);
struct
hpusbscsi
*
hpusbscsi
=
(
struct
hpusbscsi
*
)(
srb
->
device
->
host
->
hostdata
[
0
]);
usb_complete_t
usb_callback
;
int
res
;
...
...
@@ -349,7 +349,7 @@ static int hpusbscsi_scsi_queuecommand (Scsi_Cmnd *srb, scsi_callback callback)
static
int
hpusbscsi_scsi_host_reset
(
Scsi_Cmnd
*
srb
)
{
struct
hpusbscsi
*
hpusbscsi
=
(
struct
hpusbscsi
*
)(
srb
->
host
->
hostdata
[
0
]);
struct
hpusbscsi
*
hpusbscsi
=
(
struct
hpusbscsi
*
)(
srb
->
device
->
host
->
hostdata
[
0
]);
printk
(
KERN_DEBUG
"SCSI reset requested.
\n
"
);
//usb_reset_device(hpusbscsi->dev);
...
...
@@ -361,7 +361,7 @@ static int hpusbscsi_scsi_host_reset (Scsi_Cmnd *srb)
static
int
hpusbscsi_scsi_abort
(
Scsi_Cmnd
*
srb
)
{
struct
hpusbscsi
*
hpusbscsi
=
(
struct
hpusbscsi
*
)(
srb
->
host
->
hostdata
[
0
]);
struct
hpusbscsi
*
hpusbscsi
=
(
struct
hpusbscsi
*
)(
srb
->
device
->
host
->
hostdata
[
0
]);
printk
(
KERN_DEBUG
"Requested is canceled.
\n
"
);
usb_unlink_urb
(
hpusbscsi
->
dataurb
);
...
...
drivers/usb/image/microtek.c
View file @
a3a71a19
...
...
@@ -398,7 +398,7 @@ static int mts_scsi_release(struct Scsi_Host *psh)
static
int
mts_scsi_abort
(
Scsi_Cmnd
*
srb
)
{
struct
mts_desc
*
desc
=
(
struct
mts_desc
*
)(
srb
->
host
->
hostdata
[
0
]);
struct
mts_desc
*
desc
=
(
struct
mts_desc
*
)(
srb
->
device
->
host
->
hostdata
[
0
]);
MTS_DEBUG_GOT_HERE
();
...
...
@@ -409,7 +409,7 @@ static int mts_scsi_abort (Scsi_Cmnd *srb)
static
int
mts_scsi_host_reset
(
Scsi_Cmnd
*
srb
)
{
struct
mts_desc
*
desc
=
(
struct
mts_desc
*
)(
srb
->
host
->
hostdata
[
0
]);
struct
mts_desc
*
desc
=
(
struct
mts_desc
*
)(
srb
->
device
->
host
->
hostdata
[
0
]);
MTS_DEBUG_GOT_HERE
();
mts_debug_dump
(
desc
);
...
...
@@ -692,7 +692,7 @@ mts_build_transfer_context( Scsi_Cmnd *srb, struct mts_desc* desc )
static
int
mts_scsi_queuecommand
(
Scsi_Cmnd
*
srb
,
mts_scsi_cmnd_callback
callback
)
{
struct
mts_desc
*
desc
=
(
struct
mts_desc
*
)(
srb
->
host
->
hostdata
[
0
]);
struct
mts_desc
*
desc
=
(
struct
mts_desc
*
)(
srb
->
device
->
host
->
hostdata
[
0
]);
int
err
=
0
;
int
res
;
...
...
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