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
96aae88a
Commit
96aae88a
authored
Nov 30, 2002
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Fix Acorn SCSI host device list scanning for 2.5.50
parent
c9e54010
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
drivers/acorn/scsi/acornscsi.c
drivers/acorn/scsi/acornscsi.c
+2
-2
drivers/acorn/scsi/arxescsi.c
drivers/acorn/scsi/arxescsi.c
+1
-1
drivers/acorn/scsi/cumana_2.c
drivers/acorn/scsi/cumana_2.c
+1
-1
drivers/acorn/scsi/eesox.c
drivers/acorn/scsi/eesox.c
+1
-1
drivers/acorn/scsi/fas216.c
drivers/acorn/scsi/fas216.c
+1
-1
drivers/acorn/scsi/powertec.c
drivers/acorn/scsi/powertec.c
+1
-1
No files found.
drivers/acorn/scsi/acornscsi.c
View file @
96aae88a
...
@@ -2935,9 +2935,9 @@ int acornscsi_proc_info(char *buffer, char **start, off_t offset,
...
@@ -2935,9 +2935,9 @@ int acornscsi_proc_info(char *buffer, char **start, off_t offset,
}
}
}
}
p
+=
sprintf
(
p
,
"
\n
Attached devices:
%s
\n
"
,
instance
->
host_queue
?
""
:
" none
"
);
p
+=
sprintf
(
p
,
"
\n
Attached devices:
\n
"
);
for
(
scd
=
instance
->
host_queue
;
scd
;
scd
=
scd
->
next
)
{
list_for_each_entry
(
scd
,
&
instance
->
my_devices
,
siblings
)
{
int
len
;
int
len
;
proc_print_scsidevice
(
scd
,
p
,
&
len
,
0
);
proc_print_scsidevice
(
scd
,
p
,
&
len
,
0
);
...
...
drivers/acorn/scsi/arxescsi.c
View file @
96aae88a
...
@@ -311,7 +311,7 @@ int arxescsi_proc_info(char *buffer, char **start, off_t offset,
...
@@ -311,7 +311,7 @@ int arxescsi_proc_info(char *buffer, char **start, off_t offset,
pos
+=
sprintf
(
buffer
+
pos
,
"
\n
Attached devices:
\n
"
);
pos
+=
sprintf
(
buffer
+
pos
,
"
\n
Attached devices:
\n
"
);
for
(
scd
=
host
->
host_queue
;
scd
;
scd
=
scd
->
next
)
{
list_for_each_entry
(
scd
,
&
host
->
my_devices
,
siblings
)
{
pos
+=
fas216_print_device
(
&
info
->
info
,
scd
,
buffer
+
pos
);
pos
+=
fas216_print_device
(
&
info
->
info
,
scd
,
buffer
+
pos
);
if
(
pos
+
begin
<
offset
)
{
if
(
pos
+
begin
<
offset
)
{
...
...
drivers/acorn/scsi/cumana_2.c
View file @
96aae88a
...
@@ -387,7 +387,7 @@ int cumanascsi_2_proc_info (char *buffer, char **start, off_t offset,
...
@@ -387,7 +387,7 @@ int cumanascsi_2_proc_info (char *buffer, char **start, off_t offset,
pos
+=
sprintf
(
buffer
+
pos
,
"
\n
Attached devices:
\n
"
);
pos
+=
sprintf
(
buffer
+
pos
,
"
\n
Attached devices:
\n
"
);
for
(
scd
=
host
->
host_queue
;
scd
;
scd
=
scd
->
next
)
{
list_for_each_entry
(
scd
,
&
host
->
my_devices
,
siblings
)
{
int
len
;
int
len
;
proc_print_scsidevice
(
scd
,
buffer
,
&
len
,
pos
);
proc_print_scsidevice
(
scd
,
buffer
,
&
len
,
pos
);
...
...
drivers/acorn/scsi/eesox.c
View file @
96aae88a
...
@@ -390,7 +390,7 @@ int eesoxscsi_proc_info(char *buffer, char **start, off_t offset,
...
@@ -390,7 +390,7 @@ int eesoxscsi_proc_info(char *buffer, char **start, off_t offset,
pos
+=
sprintf
(
buffer
+
pos
,
"
\n
Attached devices:
\n
"
);
pos
+=
sprintf
(
buffer
+
pos
,
"
\n
Attached devices:
\n
"
);
for
(
scd
=
host
->
host_queue
;
scd
;
scd
=
scd
->
next
)
{
list_for_each_entry
(
scd
,
&
host
->
my_devices
,
siblings
)
{
int
len
;
int
len
;
proc_print_scsidevice
(
scd
,
buffer
,
&
len
,
pos
);
proc_print_scsidevice
(
scd
,
buffer
,
&
len
,
pos
);
...
...
drivers/acorn/scsi/fas216.c
View file @
96aae88a
...
@@ -2631,7 +2631,7 @@ int fas216_eh_bus_reset(Scsi_Cmnd *SCpnt)
...
@@ -2631,7 +2631,7 @@ int fas216_eh_bus_reset(Scsi_Cmnd *SCpnt)
* all command structures. Leave the running
* all command structures. Leave the running
* command in place.
* command in place.
*/
*/
for
(
SDpnt
=
info
->
host
->
host_queue
;
SDpnt
;
SDpnt
=
SDpnt
->
next
)
{
list_for_each_entry
(
SDpnt
,
&
info
->
host
->
my_devices
,
siblings
)
{
int
i
;
int
i
;
if
(
SDpnt
->
soft_reset
)
if
(
SDpnt
->
soft_reset
)
...
...
drivers/acorn/scsi/powertec.c
View file @
96aae88a
...
@@ -269,7 +269,7 @@ int powertecscsi_proc_info(char *buffer, char **start, off_t offset,
...
@@ -269,7 +269,7 @@ int powertecscsi_proc_info(char *buffer, char **start, off_t offset,
pos
+=
sprintf
(
buffer
+
pos
,
"
\n
Attached devices:
\n
"
);
pos
+=
sprintf
(
buffer
+
pos
,
"
\n
Attached devices:
\n
"
);
for
(
scd
=
host
->
host_queue
;
scd
;
scd
=
scd
->
next
)
{
list_for_each_entry
(
scd
,
&
host
->
my_devices
,
siblings
)
{
pos
+=
fas216_print_device
(
&
info
->
info
,
scd
,
buffer
+
pos
);
pos
+=
fas216_print_device
(
&
info
->
info
,
scd
,
buffer
+
pos
);
if
(
pos
+
begin
<
offset
)
{
if
(
pos
+
begin
<
offset
)
{
...
...
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