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
5d016022
Commit
5d016022
authored
Feb 08, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Use scsi_host_{alloc,put}() rather than scsi_{un,}register()
parent
ad83f139
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
15 deletions
+15
-15
drivers/scsi/arm/arxescsi.c
drivers/scsi/arm/arxescsi.c
+3
-3
drivers/scsi/arm/cumana_2.c
drivers/scsi/arm/cumana_2.c
+4
-4
drivers/scsi/arm/eesox.c
drivers/scsi/arm/eesox.c
+4
-4
drivers/scsi/arm/powertec.c
drivers/scsi/arm/powertec.c
+4
-4
No files found.
drivers/scsi/arm/arxescsi.c
View file @
5d016022
...
...
@@ -300,7 +300,7 @@ arxescsi_probe(struct expansion_card *ec, const struct ecard_id *id)
goto
out_region
;
}
host
=
scsi_
register
(
&
arxescsi_template
,
sizeof
(
struct
arxescsi_info
));
host
=
scsi_
host_alloc
(
&
arxescsi_template
,
sizeof
(
struct
arxescsi_info
));
if
(
!
host
)
{
ret
=
-
ENOMEM
;
goto
out_unmap
;
...
...
@@ -341,7 +341,7 @@ arxescsi_probe(struct expansion_card *ec, const struct ecard_id *id)
fas216_release
(
host
);
out_unregister:
scsi_
unregister
(
host
);
scsi_
host_put
(
host
);
out_unmap:
iounmap
(
base
);
out_region:
...
...
@@ -366,7 +366,7 @@ static void __devexit arxescsi_remove(struct expansion_card *ec)
release_mem_region
(
resbase
,
reslen
);
fas216_release
(
host
);
scsi_
unregister
(
host
);
scsi_
host_put
(
host
);
}
static
const
struct
ecard_id
arxescsi_cids
[]
=
{
...
...
drivers/scsi/arm/cumana_2.c
View file @
5d016022
...
...
@@ -422,8 +422,8 @@ cumanascsi2_probe(struct expansion_card *ec, const struct ecard_id *id)
goto
out_region
;
}
host
=
scsi_
register
(
&
cumanascsi2_template
,
sizeof
(
struct
cumanascsi2_info
));
host
=
scsi_
host_alloc
(
&
cumanascsi2_template
,
sizeof
(
struct
cumanascsi2_info
));
if
(
!
host
)
{
ret
=
-
ENOMEM
;
goto
out_unmap
;
...
...
@@ -498,7 +498,7 @@ cumanascsi2_probe(struct expansion_card *ec, const struct ecard_id *id)
fas216_release
(
host
);
out_free:
scsi_
unregister
(
host
);
scsi_
host_put
(
host
);
out_unmap:
iounmap
(
base
);
...
...
@@ -531,7 +531,7 @@ static void __devexit cumanascsi2_remove(struct expansion_card *ec)
release_mem_region
(
resbase
,
reslen
);
fas216_release
(
host
);
scsi_
unregister
(
host
);
scsi_
host_put
(
host
);
}
static
const
struct
ecard_id
cumanascsi2_cids
[]
=
{
...
...
drivers/scsi/arm/eesox.c
View file @
5d016022
...
...
@@ -529,8 +529,8 @@ eesoxscsi_probe(struct expansion_card *ec, const struct ecard_id *id)
goto
out_region
;
}
host
=
scsi_
register
(
&
eesox_template
,
sizeof
(
struct
eesoxscsi_info
));
host
=
scsi_
host_alloc
(
&
eesox_template
,
sizeof
(
struct
eesoxscsi_info
));
if
(
!
host
)
{
ret
=
-
ENOMEM
;
goto
out_unmap
;
...
...
@@ -606,7 +606,7 @@ eesoxscsi_probe(struct expansion_card *ec, const struct ecard_id *id)
out_free:
device_remove_file
(
&
ec
->
dev
,
&
dev_attr_bus_term
);
scsi_
unregister
(
host
);
scsi_
host_put
(
host
);
out_unmap:
iounmap
(
base
);
...
...
@@ -641,7 +641,7 @@ static void __devexit eesoxscsi_remove(struct expansion_card *ec)
release_mem_region
(
resbase
,
reslen
);
fas216_release
(
host
);
scsi_
unregister
(
host
);
scsi_
host_put
(
host
);
}
static
const
struct
ecard_id
eesoxscsi_cids
[]
=
{
...
...
drivers/scsi/arm/powertec.c
View file @
5d016022
...
...
@@ -332,8 +332,8 @@ powertecscsi_probe(struct expansion_card *ec, const struct ecard_id *id)
goto
out_region
;
}
host
=
scsi_
register
(
&
powertecscsi_template
,
sizeof
(
struct
powertec_info
));
host
=
scsi_
host_alloc
(
&
powertecscsi_template
,
sizeof
(
struct
powertec_info
));
if
(
!
host
)
{
ret
=
-
ENOMEM
;
goto
out_unmap
;
...
...
@@ -407,7 +407,7 @@ powertecscsi_probe(struct expansion_card *ec, const struct ecard_id *id)
out_free:
device_remove_file
(
&
ec
->
dev
,
&
dev_attr_bus_term
);
scsi_
unregister
(
host
);
scsi_
host_put
(
host
);
out_unmap:
iounmap
(
base
);
...
...
@@ -442,7 +442,7 @@ static void __devexit powertecscsi_remove(struct expansion_card *ec)
release_mem_region
(
resbase
,
reslen
);
fas216_release
(
host
);
scsi_
unregister
(
host
);
scsi_
host_put
(
host
);
}
static
const
struct
ecard_id
powertecscsi_cids
[]
=
{
...
...
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