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
a4731d08
Commit
a4731d08
authored
Apr 30, 2003
by
Justin T. Gibbs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Aic7xxx Driver Update (6.2.33)
o Correct MODULE_INFO string. o Bump version number.
parent
8e35db34
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
23 deletions
+27
-23
drivers/scsi/aic7xxx/aic7xxx_inline.h
drivers/scsi/aic7xxx/aic7xxx_inline.h
+15
-15
drivers/scsi/aic7xxx/aic7xxx_osm.c
drivers/scsi/aic7xxx/aic7xxx_osm.c
+10
-6
drivers/scsi/aic7xxx/aic7xxx_osm.h
drivers/scsi/aic7xxx/aic7xxx_osm.h
+2
-2
No files found.
drivers/scsi/aic7xxx/aic7xxx_inline.h
View file @
a4731d08
...
...
@@ -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_inline.h#4
1
$
* $Id: //depot/aic7xxx/aic7xxx/aic7xxx_inline.h#4
2
$
*
* $FreeBSD$
*/
...
...
@@ -585,6 +585,20 @@ ahc_intr(struct ahc_softc *ahc)
intstat
=
ahc_inb
(
ahc
,
INTSTAT
);
}
if
((
intstat
&
INT_PEND
)
==
0
)
{
#if AHC_PCI_CONFIG > 0
if
(
ahc
->
unsolicited_ints
>
500
)
{
ahc
->
unsolicited_ints
=
0
;
if
((
ahc
->
chip
&
AHC_PCI
)
!=
0
&&
(
ahc_inb
(
ahc
,
ERROR
)
&
PCIERRSTAT
)
!=
0
)
ahc
->
bus_intr
(
ahc
);
}
#endif
ahc
->
unsolicited_ints
++
;
return
(
0
);
}
ahc
->
unsolicited_ints
=
0
;
if
(
intstat
&
CMDCMPLT
)
{
ahc_outb
(
ahc
,
CLRINT
,
CLRCMDINT
);
...
...
@@ -604,20 +618,6 @@ ahc_intr(struct ahc_softc *ahc)
#endif
}
if
((
intstat
&
INT_PEND
)
==
0
)
{
#if AHC_PCI_CONFIG > 0
if
(
ahc
->
unsolicited_ints
>
500
)
{
ahc
->
unsolicited_ints
=
0
;
if
((
ahc
->
chip
&
AHC_PCI
)
!=
0
&&
(
ahc_inb
(
ahc
,
ERROR
)
&
PCIERRSTAT
)
!=
0
)
ahc
->
bus_intr
(
ahc
);
}
#endif
ahc
->
unsolicited_ints
++
;
return
(
0
);
}
ahc
->
unsolicited_ints
=
0
;
/*
* Handle statuses that may invalidate our cached
* copy of INTSTAT separately.
...
...
drivers/scsi/aic7xxx/aic7xxx_osm.c
View file @
a4731d08
/*
* Adaptec AIC7xxx device driver for Linux.
*
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_osm.c#2
18
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_osm.c#2
20
$
*
* Copyright (c) 1994 John Aycock
* The University of Calgary Department of Computer Science.
...
...
@@ -465,7 +465,7 @@ MODULE_PARM_DESC(aic7xxx,
" allow_memio Allow device registers to be memory mapped
\n
"
" debug Bitmask of debug values to enable
\n
"
" no_probe Toggle EISA/VLB controller probing
\n
"
"
eisa_vl_probe
Toggle EISA/VLB controller probing
\n
"
"
probe_eisa_vl
Toggle EISA/VLB controller probing
\n
"
" no_reset Supress initial bus resets
\n
"
" extended Enable extended geometry on all controllers
\n
"
" periodic_otag Send an ordered tagged transaction
\n
"
...
...
@@ -485,7 +485,7 @@ MODULE_PARM_DESC(aic7xxx,
" Set tag depth on Controller 1/Target 1 to 10 tags
\n
"
" Shorten the selection timeout to 128ms
\n
"
"
\n
"
" options aic7xxx 'aic7xxx=
eisa_vl_probe
.tag_info:{{}.{.10}}.seltime:1'
\n
"
" options aic7xxx 'aic7xxx=
probe_eisa_vl
.tag_info:{{}.{.10}}.seltime:1'
\n
"
);
#endif
...
...
@@ -1682,7 +1682,7 @@ aic7xxx_setup(char *s)
#endif
{
"reverse_scan"
,
&
aic7xxx_reverse_scan
},
{
"no_probe"
,
&
aic7xxx_probe_eisa_vl
},
{
"probe_eisa_vl
b
"
,
&
aic7xxx_probe_eisa_vl
},
{
"probe_eisa_vl"
,
&
aic7xxx_probe_eisa_vl
},
{
"periodic_otag"
,
&
aic7xxx_periodic_otag
},
{
"pci_parity"
,
&
aic7xxx_pci_parity
},
{
"seltime"
,
&
aic7xxx_seltime
},
...
...
@@ -4735,6 +4735,7 @@ ahc_linux_queue_recovery_cmd(Scsi_Cmnd *cmd, scb_flag flag)
u_int
saved_scsiid
;
u_int
cdb_byte
;
int
retval
;
int
was_paused
;
int
paused
;
int
wait
;
int
disconnected
;
...
...
@@ -4863,11 +4864,10 @@ ahc_linux_queue_recovery_cmd(Scsi_Cmnd *cmd, scb_flag flag)
* behind our back and that we didn't "just" miss
* an interrupt that would affect this cmd.
*/
was_paused
=
ahc_is_paused
(
ahc
);
ahc_pause_and_flushwork
(
ahc
);
paused
=
TRUE
;
ahc_dump_card_state
(
ahc
);
if
((
pending_scb
->
flags
&
SCB_ACTIVE
)
==
0
)
{
printf
(
"%s:%d:%d:%d: Command already completed
\n
"
,
ahc_name
(
ahc
),
cmd
->
device
->
channel
,
cmd
->
device
->
id
,
...
...
@@ -4875,6 +4875,10 @@ ahc_linux_queue_recovery_cmd(Scsi_Cmnd *cmd, scb_flag flag)
goto
no_cmd
;
}
printf
(
"%s: At time of recovery, card was %spaused
\n
"
,
was_paused
?
""
:
"not "
);
ahc_dump_card_state
(
ahc
);
disconnected
=
TRUE
;
if
(
flag
==
SCB_ABORT
)
{
if
(
ahc_search_qinfifo
(
ahc
,
cmd
->
device
->
id
,
...
...
drivers/scsi/aic7xxx/aic7xxx_osm.h
View file @
a4731d08
...
...
@@ -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#1
39
$
* $Id: //depot/aic7xxx/linux/drivers/scsi/aic7xxx/aic7xxx_osm.h#1
40
$
*
*/
#ifndef _AIC7XXX_LINUX_H_
...
...
@@ -305,7 +305,7 @@ ahc_scb_timer_reset(struct scb *scb, u_int usec)
#define AHC_SCSI_HAS_HOST_LOCK 0
#endif
#define AIC7XXX_DRIVER_VERSION "6.2.3
2
"
#define AIC7XXX_DRIVER_VERSION "6.2.3
3
"
/**************************** Front End Queues ********************************/
/*
...
...
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