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
1afaa712
Commit
1afaa712
authored
Jul 10, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr] fix compiler warnings in 3c359, proteon, skisa
tokenring drivers.
parent
0ccb2995
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
drivers/net/tokenring/3c359.c
drivers/net/tokenring/3c359.c
+1
-1
drivers/net/tokenring/proteon.c
drivers/net/tokenring/proteon.c
+0
-1
drivers/net/tokenring/skisa.c
drivers/net/tokenring/skisa.c
+0
-1
No files found.
drivers/net/tokenring/3c359.c
View file @
1afaa712
...
...
@@ -464,7 +464,7 @@ static int xl_hw_reset(struct net_device *dev)
printk
(
KERN_INFO
"3C359: Uploading Microcode: "
);
for
(
i
=
start
,
j
=
0
;
(
j
<
mc_size
&&
i
<=
0xffff
)
;
i
++
,
j
++
)
{
for
(
i
=
start
,
j
=
0
;
j
<
mc_size
;
i
++
,
j
++
)
{
writel
(
MEM_BYTE_WRITE
|
0XD0000
|
i
,
xl_mmio
+
MMIO_MAC_ACCESS_CMD
)
;
writeb
(
microcode
[
j
],
xl_mmio
+
MMIO_MACDATA
)
;
if
(
j
%
1024
==
0
)
...
...
drivers/net/tokenring/proteon.c
View file @
1afaa712
...
...
@@ -401,7 +401,6 @@ static int __init setup_card(unsigned long io, unsigned irq, unsigned char dma)
int
init_module
(
void
)
{
int
i
,
num
;
struct
net_device
*
dev
;
num
=
0
;
if
(
io
[
0
])
{
/* Only probe addresses from command line */
...
...
drivers/net/tokenring/skisa.c
View file @
1afaa712
...
...
@@ -414,7 +414,6 @@ static int __init setup_card(unsigned long io, unsigned irq, unsigned char dma)
int
init_module
(
void
)
{
int
i
,
num
;
struct
net_device
*
dev
;
num
=
0
;
if
(
io
[
0
])
{
/* Only probe addresses from command line */
...
...
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