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
237e409d
Commit
237e409d
authored
Jul 12, 2004
by
Alexander Viro
Committed by
Linus Torvalds
Jul 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sparse: compile fix for rrunner on big-endian platforms
bitrot strikes again...
parent
ebabc32d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/net/rrunner.c
drivers/net/rrunner.c
+2
-1
No files found.
drivers/net/rrunner.c
View file @
237e409d
...
@@ -197,7 +197,8 @@ static int __devinit rr_init_one(struct pci_dev *pdev,
...
@@ -197,7 +197,8 @@ static int __devinit rr_init_one(struct pci_dev *pdev,
* Don't access any register before this point!
* Don't access any register before this point!
*/
*/
#ifdef __BIG_ENDIAN
#ifdef __BIG_ENDIAN
writel
(
readl
(
&
regs
->
HostCtrl
)
|
NO_SWAP
,
&
regs
->
HostCtrl
);
writel
(
readl
(
&
rrpriv
->
regs
->
HostCtrl
)
|
NO_SWAP
,
&
rrpriv
->
regs
->
HostCtrl
);
#endif
#endif
/*
/*
* Need to add a case for little-endian 64-bit hosts here.
* Need to add a case for little-endian 64-bit hosts here.
...
...
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