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
d63ffc22
Commit
d63ffc22
authored
Mar 20, 2003
by
Geert Uytterhoeven
Committed by
Linus Torvalds
Mar 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] M68k net warnings
M68k net drivers: Kill warnings caused by implicit conversions from volatile *
parent
430805cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
drivers/net/82596.c
drivers/net/82596.c
+3
-3
drivers/net/macmace.c
drivers/net/macmace.c
+2
-2
No files found.
drivers/net/82596.c
View file @
d63ffc22
...
...
@@ -646,7 +646,7 @@ static int init_i596_mem(struct net_device *dev)
/* change the scp address */
MPU_PORT
(
dev
,
PORT_ALTSCP
,
(
void
*
)
virt_to_bus
(
&
lp
->
scp
));
MPU_PORT
(
dev
,
PORT_ALTSCP
,
(
void
*
)
virt_to_bus
(
(
void
*
)
&
lp
->
scp
));
#elif defined(ENABLE_APRICOT)
...
...
@@ -677,8 +677,8 @@ static int init_i596_mem(struct net_device *dev)
lp
->
scp
.
sysbus
=
0x00440000
;
#endif
lp
->
scp
.
iscp
=
WSWAPiscp
(
virt_to_bus
(
&
(
lp
->
iscp
)
));
lp
->
iscp
.
scb
=
WSWAPscb
(
virt_to_bus
(
&
(
lp
->
scb
)
));
lp
->
scp
.
iscp
=
WSWAPiscp
(
virt_to_bus
(
(
void
*
)
&
lp
->
iscp
));
lp
->
iscp
.
scb
=
WSWAPscb
(
virt_to_bus
(
(
void
*
)
&
lp
->
scb
));
lp
->
iscp
.
stat
=
ISCP_BUSY
;
lp
->
cmd_backlog
=
0
;
...
...
drivers/net/macmace.c
View file @
d63ffc22
...
...
@@ -331,8 +331,8 @@ static int mace_open(struct net_device *dev)
return
-
ENOMEM
;
}
mp
->
rx_ring_phys
=
(
unsigned
char
*
)
virt_to_bus
(
mp
->
rx_ring
);
mp
->
tx_ring_phys
=
(
unsigned
char
*
)
virt_to_bus
(
mp
->
tx_ring
);
mp
->
rx_ring_phys
=
(
unsigned
char
*
)
virt_to_bus
(
(
void
*
)
mp
->
rx_ring
);
mp
->
tx_ring_phys
=
(
unsigned
char
*
)
virt_to_bus
(
(
void
*
)
mp
->
tx_ring
);
/* We want the Rx buffer to be uncached and the Tx buffer to be writethrough */
...
...
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