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
e11f66e7
Commit
e11f66e7
authored
Aug 26, 2003
by
Adrian Bunk
Committed by
Jeff Garzik
Aug 26, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr sis190] fix build with older gcc
older gcc's do not support C99/C++ style of variable declarations.
parent
6cf73674
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/net/sis190.c
drivers/net/sis190.c
+2
-1
No files found.
drivers/net/sis190.c
View file @
e11f66e7
...
@@ -536,6 +536,7 @@ SiS190_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
...
@@ -536,6 +536,7 @@ SiS190_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
static
int
printed_version
=
0
;
static
int
printed_version
=
0
;
int
i
,
rc
;
int
i
,
rc
;
u16
reg31
;
u16
reg31
;
int
val
;
assert
(
pdev
!=
NULL
);
assert
(
pdev
!=
NULL
);
assert
(
ent
!=
NULL
);
assert
(
ent
!=
NULL
);
...
@@ -620,7 +621,7 @@ SiS190_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
...
@@ -620,7 +621,7 @@ SiS190_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
dev
->
dev_addr
[
2
],
dev
->
dev_addr
[
3
],
dev
->
dev_addr
[
2
],
dev
->
dev_addr
[
3
],
dev
->
dev_addr
[
4
],
dev
->
dev_addr
[
5
],
dev
->
irq
);
dev
->
dev_addr
[
4
],
dev
->
dev_addr
[
5
],
dev
->
irq
);
int
val
=
smdio_read
(
ioaddr
,
PHY_AUTO_NEGO_REG
);
val
=
smdio_read
(
ioaddr
,
PHY_AUTO_NEGO_REG
);
printk
(
KERN_INFO
"%s: Auto-negotiation Enabled.
\n
"
,
dev
->
name
);
printk
(
KERN_INFO
"%s: Auto-negotiation Enabled.
\n
"
,
dev
->
name
);
...
...
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