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
55387c40
Commit
55387c40
authored
Mar 01, 2004
by
Steve Kinneberg
Committed by
Ben Collins
Mar 01, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IEEE1394(r1179): Fix nodemgr_get_max_rom() to work properly on little endian machines.
parent
46fa84e9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/ieee1394/nodemgr.c
drivers/ieee1394/nodemgr.c
+1
-1
No files found.
drivers/ieee1394/nodemgr.c
View file @
55387c40
...
@@ -79,7 +79,7 @@ static int nodemgr_bus_read(struct csr1212_csr *csr, u64 addr, u16 length,
...
@@ -79,7 +79,7 @@ static int nodemgr_bus_read(struct csr1212_csr *csr, u64 addr, u16 length,
static
int
nodemgr_get_max_rom
(
quadlet_t
*
bus_info_data
,
void
*
__ci
)
static
int
nodemgr_get_max_rom
(
quadlet_t
*
bus_info_data
,
void
*
__ci
)
{
{
return
(
bus_info_data
[
2
]
>>
8
)
&
0x3
;
return
(
CSR1212_BE32_TO_CPU
(
bus_info_data
[
2
])
>>
8
)
&
0x3
;
}
}
static
struct
csr1212_bus_ops
nodemgr_csr_ops
=
{
static
struct
csr1212_bus_ops
nodemgr_csr_ops
=
{
...
...
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