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
5e332e62
Commit
5e332e62
authored
Jan 16, 2003
by
Justin T. Gibbs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Aic7xxx and Aic79xx DV Fix:
Don't bother with DV if the device can only do async
parent
c79b9e99
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
drivers/scsi/aic7xxx/aic79xx_osm.c
drivers/scsi/aic7xxx/aic79xx_osm.c
+6
-1
drivers/scsi/aic7xxx/aic7xxx_osm.c
drivers/scsi/aic7xxx/aic7xxx_osm.c
+6
-1
No files found.
drivers/scsi/aic7xxx/aic79xx_osm.c
View file @
5e332e62
/*
* Adaptec AIC79xx device driver for Linux.
*
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic79xx_osm.c#10
4
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic79xx_osm.c#10
5
$
*
* --------------------------------------------------------------------------
* Copyright (c) 1994-2000 Justin T. Gibbs.
...
...
@@ -2813,6 +2813,7 @@ ahd_linux_dv_transition(struct ahd_softc *ahd, struct scsi_cmnd *cmd,
switch
(
status
&
SS_MASK
)
{
case
SS_NOP
:
{
u_int
xportflags
;
u_int
spi3data
;
if
(
memcmp
(
targ
->
inq_data
,
targ
->
dv_buffer
,
...
...
@@ -2831,6 +2832,10 @@ ahd_linux_dv_transition(struct ahd_softc *ahd, struct scsi_cmnd *cmd,
if
(
ahd_linux_user_dv_setting
(
ahd
)
==
0
)
break
;
xportflags
=
targ
->
inq_data
->
flags
;
if
((
xportflags
&
(
SID_Sync
|
SID_WBus16
))
==
0
)
break
;
spi3data
=
targ
->
inq_data
->
spi3data
;
switch
(
spi3data
&
SID_SPI_CLOCK_DT_ST
)
{
default:
...
...
drivers/scsi/aic7xxx/aic7xxx_osm.c
View file @
5e332e62
/*
* Adaptec AIC7xxx device driver for Linux.
*
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_osm.c#1
69
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_osm.c#1
70
$
*
* Copyright (c) 1994 John Aycock
* The University of Calgary Department of Computer Science.
...
...
@@ -2666,6 +2666,7 @@ ahc_linux_dv_transition(struct ahc_softc *ahc, struct scsi_cmnd *cmd,
switch
(
status
&
SS_MASK
)
{
case
SS_NOP
:
{
u_int
xportflags
;
u_int
spi3data
;
if
(
memcmp
(
targ
->
inq_data
,
targ
->
dv_buffer
,
...
...
@@ -2684,6 +2685,10 @@ ahc_linux_dv_transition(struct ahc_softc *ahc, struct scsi_cmnd *cmd,
if
(
ahc_linux_user_dv_setting
(
ahc
)
==
0
)
break
;
xportflags
=
targ
->
inq_data
->
flags
;
if
((
xportflags
&
(
SID_Sync
|
SID_WBus16
))
==
0
)
break
;
spi3data
=
targ
->
inq_data
->
spi3data
;
switch
(
spi3data
&
SID_SPI_CLOCK_DT_ST
)
{
default:
...
...
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