Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
fbd81976
Commit
fbd81976
authored
May 30, 2006
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] __iomem annotations: smc91x
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
a80958f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/net/smc91x.h
drivers/net/smc91x.h
+2
-2
No files found.
drivers/net/smc91x.h
View file @
fbd81976
...
@@ -1216,7 +1216,7 @@ static const char * chip_ids[ 16 ] = {
...
@@ -1216,7 +1216,7 @@ static const char * chip_ids[ 16 ] = {
if (SMC_CAN_USE_32BIT) { \
if (SMC_CAN_USE_32BIT) { \
void *__ptr = (p); \
void *__ptr = (p); \
int __len = (l); \
int __len = (l); \
void
*__ioaddr = ioaddr;
\
void
__iomem *__ioaddr = ioaddr;
\
if (__len >= 2 && (unsigned long)__ptr & 2) { \
if (__len >= 2 && (unsigned long)__ptr & 2) { \
__len -= 2; \
__len -= 2; \
SMC_outw(*(u16 *)__ptr, ioaddr, DATA_REG); \
SMC_outw(*(u16 *)__ptr, ioaddr, DATA_REG); \
...
@@ -1240,7 +1240,7 @@ static const char * chip_ids[ 16 ] = {
...
@@ -1240,7 +1240,7 @@ static const char * chip_ids[ 16 ] = {
if (SMC_CAN_USE_32BIT) { \
if (SMC_CAN_USE_32BIT) { \
void *__ptr = (p); \
void *__ptr = (p); \
int __len = (l); \
int __len = (l); \
void
*__ioaddr = ioaddr;
\
void
__iomem *__ioaddr = ioaddr;
\
if ((unsigned long)__ptr & 2) { \
if ((unsigned long)__ptr & 2) { \
/* \
/* \
* We want 32bit alignment here. \
* We want 32bit alignment 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