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
a0eb890e
Commit
a0eb890e
authored
Feb 23, 2004
by
Ben Collins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SBP2(r1158): We don't need a remove_host callback in sbp2.
parent
1a85b4b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
drivers/ieee1394/sbp2.c
drivers/ieee1394/sbp2.c
+0
-22
No files found.
drivers/ieee1394/sbp2.c
View file @
a0eb890e
...
...
@@ -231,7 +231,6 @@ static Scsi_Host_Template scsi_driver_template;
const
u8
sbp2_speedto_max_payload
[]
=
{
0x7
,
0x8
,
0x9
,
0xA
,
0xB
,
0xC
};
static
void
sbp2_remove_host
(
struct
hpsb_host
*
host
);
static
void
sbp2_host_reset
(
struct
hpsb_host
*
host
);
static
int
sbp2_probe
(
struct
device
*
dev
);
...
...
@@ -240,7 +239,6 @@ static int sbp2_update(struct unit_directory *ud);
static
struct
hpsb_highlevel
sbp2_highlevel
=
{
.
name
=
SBP2_DEVICE_NAME
,
.
remove_host
=
sbp2_remove_host
,
.
host_reset
=
sbp2_host_reset
,
};
...
...
@@ -777,26 +775,6 @@ static void sbp2_host_reset(struct hpsb_host *host)
}
static
void
sbp2_remove_host
(
struct
hpsb_host
*
host
)
{
struct
sbp2scsi_host_info
*
hi
;
SBP2_DEBUG
(
"sbp2_remove_host"
);
hi
=
hpsb_get_hostinfo
(
&
sbp2_highlevel
,
host
);
if
(
hi
)
{
struct
scsi_id_instance_data
*
scsi_id
;
list_for_each_entry
(
scsi_id
,
&
hi
->
scsi_ids
,
scsi_list
)
{
down_write
(
&
scsi_id
->
ud
->
device
.
bus
->
subsys
.
rwsem
);
device_release_driver
(
&
scsi_id
->
ud
->
device
);
up_write
(
&
scsi_id
->
ud
->
device
.
bus
->
subsys
.
rwsem
);
}
}
}
/*
* This function is where we first pull the node unique ids, and then
* allocate memory and register a SBP-2 device.
...
...
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