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
e9ef8f40
Commit
e9ef8f40
authored
May 01, 2003
by
Justin T. Gibbs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Aic7xxx and Aic79xx Driver Updates
o Misc compiler error and code cleanups.
parent
fde8967f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
drivers/scsi/aic7xxx/aic79xx_osm.c
drivers/scsi/aic7xxx/aic79xx_osm.c
+4
-3
drivers/scsi/aic7xxx/aic7xxx_osm.c
drivers/scsi/aic7xxx/aic7xxx_osm.c
+4
-3
No files found.
drivers/scsi/aic7xxx/aic79xx_osm.c
View file @
e9ef8f40
/*
* Adaptec AIC79xx device driver for Linux.
*
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic79xx_osm.c#1
59
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic79xx_osm.c#1
60
$
*
* --------------------------------------------------------------------------
* Copyright (c) 1994-2000 Justin T. Gibbs.
...
...
@@ -670,7 +670,6 @@ ahd_linux_run_complete_queue(struct ahd_softc *ahd)
TAILQ_REMOVE
(
&
ahd
->
platform_data
->
completeq
,
acmd
,
acmd_links
.
tqe
);
cmd
=
&
acmd_scsi_cmd
(
acmd
);
acmd
=
TAILQ_NEXT
(
acmd
,
acmd_links
.
tqe
);
cmd
->
host_scribble
=
NULL
;
if
(
ahd_cmd_get_transaction_status
(
cmd
)
!=
DID_OK
||
(
cmd
->
result
&
0xFF
)
!=
SCSI_STATUS_OK
)
...
...
@@ -1407,7 +1406,7 @@ ahd_linux_abort(Scsi_Cmnd *cmd)
}
printf
(
"%s: At time of recovery, card was %spaused
\n
"
,
was_paused
?
""
:
"not "
);
ahd_name
(
ahd
),
was_paused
?
""
:
"not "
);
ahd_dump_card_state
(
ahd
);
disconnected
=
TRUE
;
...
...
@@ -1756,9 +1755,11 @@ ahd_runq_tasklet(unsigned long data)
TAILQ_REMOVE
(
&
ahd
->
platform_data
->
device_runq
,
dev
,
links
);
dev
->
flags
&=
~
AHD_DEV_ON_RUN_LIST
;
ahd_linux_check_device_queue
(
ahd
,
dev
);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
/* Yeild to our interrupt handler */
ahd_unlock
(
ahd
,
&
flags
);
ahd_lock
(
ahd
,
&
flags
);
#endif
}
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
ahd_unlock
(
ahd
,
&
flags
);
...
...
drivers/scsi/aic7xxx/aic7xxx_osm.c
View file @
e9ef8f40
/*
* Adaptec AIC7xxx device driver for Linux.
*
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_osm.c#22
0
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_osm.c#22
1
$
*
* Copyright (c) 1994 John Aycock
* The University of Calgary Department of Computer Science.
...
...
@@ -664,7 +664,6 @@ ahc_linux_run_complete_queue(struct ahc_softc *ahc)
TAILQ_REMOVE
(
&
ahc
->
platform_data
->
completeq
,
acmd
,
acmd_links
.
tqe
);
cmd
=
&
acmd_scsi_cmd
(
acmd
);
acmd
=
TAILQ_NEXT
(
acmd
,
acmd_links
.
tqe
);
cmd
->
host_scribble
=
NULL
;
if
(
ahc_cmd_get_transaction_status
(
cmd
)
!=
DID_OK
||
(
cmd
->
result
&
0xFF
)
!=
SCSI_STATUS_OK
)
...
...
@@ -1385,9 +1384,11 @@ ahc_runq_tasklet(unsigned long data)
TAILQ_REMOVE
(
&
ahc
->
platform_data
->
device_runq
,
dev
,
links
);
dev
->
flags
&=
~
AHC_DEV_ON_RUN_LIST
;
ahc_linux_check_device_queue
(
ahc
,
dev
);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
/* Yeild to our interrupt handler */
ahc_unlock
(
ahc
,
&
flags
);
ahc_lock
(
ahc
,
&
flags
);
#endif
}
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
ahc_unlock
(
ahc
,
&
flags
);
...
...
@@ -4876,7 +4877,7 @@ ahc_linux_queue_recovery_cmd(Scsi_Cmnd *cmd, scb_flag flag)
}
printf
(
"%s: At time of recovery, card was %spaused
\n
"
,
was_paused
?
""
:
"not "
);
ahc_name
(
ahc
),
was_paused
?
""
:
"not "
);
ahc_dump_card_state
(
ahc
);
disconnected
=
TRUE
;
...
...
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