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
d475450e
Commit
d475450e
authored
Oct 30, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://linux-scsi.bkbits.net/scsi-bugfixes-2.6
into home.osdl.org:/home/torvalds/v2.5/linux
parents
58e9907e
2977a352
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
14 deletions
+10
-14
drivers/scsi/Kconfig
drivers/scsi/Kconfig
+1
-1
drivers/scsi/constants.c
drivers/scsi/constants.c
+8
-12
drivers/scsi/osst_options.h
drivers/scsi/osst_options.h
+1
-1
No files found.
drivers/scsi/Kconfig
View file @
d475450e
...
...
@@ -457,7 +457,7 @@ config SCSI_SATA_VIA
config SCSI_BUSLOGIC
tristate "BusLogic SCSI support"
depends on (PCI || ISA) && SCSI
depends on (PCI || ISA
|| MCA
) && SCSI
---help---
This is support for BusLogic MultiMaster and FlashPoint SCSI Host
Adapters. Consult the SCSI-HOWTO, available from
...
...
drivers/scsi/constants.c
View file @
d475450e
...
...
@@ -915,15 +915,15 @@ scsi_show_extd_sense(unsigned char asc, unsigned char ascq) {
/* Print sense information */
static
void
print_sense_internal
(
const
char
*
devclass
,
const
unsigned
char
*
sense_buffer
,
print_sense_internal
(
const
char
*
devclass
,
const
unsigned
char
*
sense_buffer
,
struct
request
*
req
)
{
int
s
,
sense_class
,
valid
,
code
,
info
;
const
char
*
error
=
NULL
;
const
char
*
error
=
NULL
;
unsigned
char
asc
,
ascq
;
const
char
*
sense_txt
;
c
har
*
name
=
req
->
rq_disk
?
req
->
rq_disk
->
disk_name
:
"?"
;
c
onst
char
*
name
=
req
->
rq_disk
?
req
->
rq_disk
->
disk_name
:
devclass
;
sense_class
=
(
sense_buffer
[
0
]
>>
4
)
&
0x07
;
code
=
sense_buffer
[
0
]
&
0xf
;
...
...
@@ -966,11 +966,9 @@ print_sense_internal(const char * devclass,
sense_txt
=
scsi_sense_key_string
(
sense_buffer
[
2
]);
if
(
sense_txt
)
printk
(
"%s%s: sense key %s
\n
"
,
devclass
,
name
,
sense_txt
);
printk
(
"%s: sense key %s
\n
"
,
name
,
sense_txt
);
else
printk
(
"%s%s: sense = %2x %2x
\n
"
,
devclass
,
name
,
printk
(
"%s: sense = %2x %2x
\n
"
,
name
,
sense_buffer
[
0
],
sense_buffer
[
2
]);
asc
=
ascq
=
0
;
...
...
@@ -993,11 +991,9 @@ print_sense_internal(const char * devclass,
sense_txt
=
scsi_sense_key_string
(
sense_buffer
[
0
]);
if
(
sense_txt
)
printk
(
"%s%s: old sense key %s
\n
"
,
devclass
,
name
,
sense_txt
);
printk
(
"%s: old sense key %s
\n
"
,
name
,
sense_txt
);
else
printk
(
"%s%s: sense = %2x %2x
\n
"
,
devclass
,
name
,
printk
(
"%s: sense = %2x %2x
\n
"
,
name
,
sense_buffer
[
0
],
sense_buffer
[
2
]);
printk
(
"Non-extended sense class %d code 0x%0x
\n
"
,
...
...
drivers/scsi/osst_options.h
View file @
d475450e
...
...
@@ -57,7 +57,7 @@
/* The size of the first scatter/gather segments (determines the maximum block
size for SCSI adapters not supporting scatter/gather). The default is set
to try to allocate the buffer as one chunk. */
#define OSST_FIRST_ORDER
5
#define OSST_FIRST_ORDER
(15-PAGE_SHIFT)
/* The following lines define defaults for properties that can be set
...
...
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