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
8193fa33
Commit
8193fa33
authored
Feb 29, 2004
by
Ben Collins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IEEE1394/ohci(r1179): Remove ohci->id. It was just the same as host->id anyway.
parent
bb7f4552
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
181 additions
and
177 deletions
+181
-177
drivers/ieee1394/amdtp.c
drivers/ieee1394/amdtp.c
+4
-4
drivers/ieee1394/ohci1394.c
drivers/ieee1394/ohci1394.c
+128
-122
drivers/ieee1394/ohci1394.h
drivers/ieee1394/ohci1394.h
+0
-2
drivers/ieee1394/video1394.c
drivers/ieee1394/video1394.c
+49
-49
No files found.
drivers/ieee1394/amdtp.c
View file @
8193fa33
...
...
@@ -1227,15 +1227,15 @@ static void amdtp_add_host(struct hpsb_host *host)
ah
->
host
=
host
;
ah
->
ohci
=
host
->
hostdata
;
hpsb_set_hostinfo_key
(
&
amdtp_highlevel
,
host
,
ah
->
ohci
->
id
);
hpsb_set_hostinfo_key
(
&
amdtp_highlevel
,
host
,
ah
->
host
->
id
);
minor
=
IEEE1394_MINOR_BLOCK_AMDTP
*
16
+
ah
->
ohci
->
id
;
minor
=
IEEE1394_MINOR_BLOCK_AMDTP
*
16
+
ah
->
host
->
id
;
INIT_LIST_HEAD
(
&
ah
->
stream_list
);
spin_lock_init
(
&
ah
->
stream_list_lock
);
devfs_mk_cdev
(
MKDEV
(
IEEE1394_MAJOR
,
minor
),
S_IFCHR
|
S_IRUSR
|
S_IWUSR
,
"amdtp/%d"
,
ah
->
ohci
->
id
);
S_IFCHR
|
S_IRUSR
|
S_IWUSR
,
"amdtp/%d"
,
ah
->
host
->
id
);
}
static
void
amdtp_remove_host
(
struct
hpsb_host
*
host
)
...
...
@@ -1243,7 +1243,7 @@ static void amdtp_remove_host(struct hpsb_host *host)
struct
amdtp_host
*
ah
=
hpsb_get_hostinfo
(
&
amdtp_highlevel
,
host
);
if
(
ah
)
devfs_remove
(
"amdtp/%d"
,
ah
->
ohci
->
id
);
devfs_remove
(
"amdtp/%d"
,
ah
->
host
->
id
);
return
;
}
...
...
drivers/ieee1394/ohci1394.c
View file @
8193fa33
This diff is collapsed.
Click to expand it.
drivers/ieee1394/ohci1394.h
View file @
8193fa33
...
...
@@ -149,8 +149,6 @@ struct ohci1394_iso_tasklet {
};
struct
ti_ohci
{
int
id
;
/* sequential card number */
struct
pci_dev
*
dev
;
enum
{
...
...
drivers/ieee1394/video1394.c
View file @
8193fa33
This diff is collapsed.
Click to expand it.
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