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
Kirill Smelkov
linux
Commits
14046b59
Commit
14046b59
authored
May 22, 2003
by
Justin T. Gibbs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Aic7xxx and Aic79xx Driver Updates
o Fix style nits.
parent
c556b56b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
20 deletions
+20
-20
drivers/scsi/aic7xxx/aic79xx_core.c
drivers/scsi/aic7xxx/aic79xx_core.c
+2
-2
drivers/scsi/aic7xxx/aic79xx_osm.c
drivers/scsi/aic7xxx/aic79xx_osm.c
+3
-3
drivers/scsi/aic7xxx/aic7xxx_core.c
drivers/scsi/aic7xxx/aic7xxx_core.c
+10
-10
drivers/scsi/aic7xxx/aic7xxx_osm.c
drivers/scsi/aic7xxx/aic7xxx_osm.c
+3
-3
drivers/scsi/aic7xxx/aic7xxx_osm.h
drivers/scsi/aic7xxx/aic7xxx_osm.h
+2
-2
No files found.
drivers/scsi/aic7xxx/aic79xx_core.c
View file @
14046b59
...
...
@@ -37,7 +37,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
* $Id: //depot/aic7xxx/aic7xxx/aic79xx.c#19
3
$
* $Id: //depot/aic7xxx/aic7xxx/aic79xx.c#19
4
$
*
* $FreeBSD$
*/
...
...
@@ -8500,7 +8500,7 @@ ahd_probe_stack_size(struct ahd_softc *ahd)
}
void
ahd_dump_all_cards_state
()
ahd_dump_all_cards_state
(
void
)
{
struct
ahd_softc
*
list_ahd
;
...
...
drivers/scsi/aic7xxx/aic79xx_osm.c
View file @
14046b59
/*
* Adaptec AIC79xx device driver for Linux.
*
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic79xx_osm.c#16
8
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic79xx_osm.c#16
9
$
*
* --------------------------------------------------------------------------
* Copyright (c) 1994-2000 Justin T. Gibbs.
...
...
@@ -2179,7 +2179,7 @@ ahd_linux_register_host(struct ahd_softc *ahd, Scsi_Host_Template *template)
}
uint64_t
ahd_linux_get_memsize
()
ahd_linux_get_memsize
(
void
)
{
struct
sysinfo
si
;
...
...
@@ -2194,7 +2194,7 @@ ahd_linux_get_memsize()
* scenario.
*/
static
int
ahd_linux_next_unit
()
ahd_linux_next_unit
(
void
)
{
struct
ahd_softc
*
ahd
;
int
unit
;
...
...
drivers/scsi/aic7xxx/aic7xxx_core.c
View file @
14046b59
...
...
@@ -37,7 +37,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
* $Id: //depot/aic7xxx/aic7xxx/aic7xxx.c#13
0
$
* $Id: //depot/aic7xxx/aic7xxx/aic7xxx.c#13
1
$
*
* $FreeBSD$
*/
...
...
@@ -202,7 +202,7 @@ static void ahc_handle_devreset(struct ahc_softc *ahc,
struct
ahc_devinfo
*
devinfo
,
cam_status
status
,
char
*
message
,
int
verbose_level
);
#if AHC_TARGET_MODE
#if
def
AHC_TARGET_MODE
static
void
ahc_setup_target_msgin
(
struct
ahc_softc
*
ahc
,
struct
ahc_devinfo
*
devinfo
,
struct
scb
*
scb
);
...
...
@@ -705,7 +705,7 @@ ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat)
ahc
->
msgin_index
=
0
;
}
}
#if AHC_TARGET_MODE
#if
def
AHC_TARGET_MODE
else
{
if
(
bus_phase
==
P_MESGOUT
)
{
ahc
->
msg_type
=
...
...
@@ -3992,7 +3992,7 @@ ahc_free(struct ahc_softc *ahc)
tstate
=
ahc
->
enabled_targets
[
i
];
if
(
tstate
!=
NULL
)
{
#if AHC_TARGET_MODE
#if
def
AHC_TARGET_MODE
int
j
;
for
(
j
=
0
;
j
<
AHC_NUM_LUNS
;
j
++
)
{
...
...
@@ -4008,7 +4008,7 @@ ahc_free(struct ahc_softc *ahc)
free
(
tstate
,
M_DEVBUF
);
}
}
#if AHC_TARGET_MODE
#if
def
AHC_TARGET_MODE
if
(
ahc
->
black_hole
!=
NULL
)
{
xpt_free_path
(
ahc
->
black_hole
->
path
);
free
(
ahc
->
black_hole
,
M_DEVBUF
);
...
...
@@ -5126,7 +5126,7 @@ ahc_suspend(struct ahc_softc *ahc)
return
(
EBUSY
);
}
#if AHC_TARGET_MODE
#if
def
AHC_TARGET_MODE
/*
* XXX What about ATIOs that have not yet been serviced?
* Perhaps we should just refuse to be suspended if we
...
...
@@ -5227,7 +5227,7 @@ ahc_match_scb(struct ahc_softc *ahc, struct scb *scb, int target,
if
(
match
!=
0
)
match
=
((
lun
==
slun
)
||
(
lun
==
CAM_LUN_WILDCARD
));
if
(
match
!=
0
)
{
#if AHC_TARGET_MODE
#if
def
AHC_TARGET_MODE
int
group
;
group
=
XPT_FC_GROUP
(
scb
->
io_ctx
->
ccb_h
.
func_code
);
...
...
@@ -5970,7 +5970,7 @@ ahc_reset_channel(struct ahc_softc *ahc, char channel, int initiate_reset)
* before the reset occurred.
*/
ahc_run_qoutfifo
(
ahc
);
#if AHC_TARGET_MODE
#if
def
AHC_TARGET_MODE
/*
* XXX - In Twin mode, the tqinfifo may have commands
* for an unaffected channel in it. However, if
...
...
@@ -6002,7 +6002,7 @@ ahc_reset_channel(struct ahc_softc *ahc, char channel, int initiate_reset)
*/
ahc_outb
(
ahc
,
SBLKCTL
,
sblkctl
^
SELBUSB
);
simode1
=
ahc_inb
(
ahc
,
SIMODE1
)
&
~
(
ENBUSFREE
|
ENSCSIRST
);
#if AHC_TARGET_MODE
#if
def
AHC_TARGET_MODE
/*
* Bus resets clear ENSELI, so we cannot
* defer re-enabling bus reset interrupts
...
...
@@ -6021,7 +6021,7 @@ ahc_reset_channel(struct ahc_softc *ahc, char channel, int initiate_reset)
}
else
{
/* Case 2: A command from this bus is active or we're idle */
simode1
=
ahc_inb
(
ahc
,
SIMODE1
)
&
~
(
ENBUSFREE
|
ENSCSIRST
);
#if AHC_TARGET_MODE
#if
def
AHC_TARGET_MODE
/*
* Bus resets clear ENSELI, so we cannot
* defer re-enabling bus reset interrupts
...
...
drivers/scsi/aic7xxx/aic7xxx_osm.c
View file @
14046b59
/*
* Adaptec AIC7xxx device driver for Linux.
*
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_osm.c#23
1
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_osm.c#23
2
$
*
* Copyright (c) 1994 John Aycock
* The University of Calgary Department of Computer Science.
...
...
@@ -1817,7 +1817,7 @@ ahc_linux_register_host(struct ahc_softc *ahc, Scsi_Host_Template *template)
}
uint64_t
ahc_linux_get_memsize
()
ahc_linux_get_memsize
(
void
)
{
struct
sysinfo
si
;
...
...
@@ -1832,7 +1832,7 @@ ahc_linux_get_memsize()
* scenario.
*/
static
int
ahc_linux_next_unit
()
ahc_linux_next_unit
(
void
)
{
struct
ahc_softc
*
ahc
;
int
unit
;
...
...
drivers/scsi/aic7xxx/aic7xxx_osm.h
View file @
14046b59
...
...
@@ -53,7 +53,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_osm.h#14
6
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_osm.h#14
7
$
*
*/
#ifndef _AIC7XXX_LINUX_H_
...
...
@@ -778,7 +778,7 @@ ahc_done_unlock(struct ahc_softc *ahc, unsigned long *flags)
}
static
__inline
void
ahc_list_lockinit
()
ahc_list_lockinit
(
void
)
{
spin_lock_init
(
&
ahc_list_spinlock
);
}
...
...
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