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
nexedi
linux
Commits
5c3e9578
Commit
5c3e9578
authored
Feb 13, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge redhat.com:/garz/repo/linus-2.5
into redhat.com:/garz/repo/net-drivers-2.5
parents
cd5d9d66
efaca9a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
20 deletions
+4
-20
drivers/net/tokenring/smctr.c
drivers/net/tokenring/smctr.c
+4
-20
No files found.
drivers/net/tokenring/smctr.c
View file @
5c3e9578
...
...
@@ -3063,28 +3063,12 @@ static int smctr_load_node_addr(struct net_device *dev)
unsigned
int
i
;
__u8
r
;
/* Check if node address has been specified by user. (non-0) */
for
(
i
=
0
;
((
i
<
6
)
&&
(
dev
->
dev_addr
[
i
]
==
0
));
i
++
)
for
(
i
=
0
;
i
<
6
;
i
++
)
{
if
(
i
!=
6
)
{
for
(
i
=
0
;
i
<
6
;
i
++
)
{
r
=
inb
(
ioaddr
+
LAR0
+
i
);
dev
->
dev_addr
[
i
]
=
(
char
)
r
;
}
dev
->
addr_len
=
6
;
}
else
/* Node addr. not given by user, read it from board. */
{
for
(
i
=
0
;
i
<
6
;
i
++
)
{
r
=
inb
(
ioaddr
+
LAR0
+
i
);
dev
->
dev_addr
[
i
]
=
(
char
)
r
;
}
dev
->
addr_len
=
6
;
}
r
=
inb
(
ioaddr
+
LAR0
+
i
);
dev
->
dev_addr
[
i
]
=
(
char
)
r
;
}
dev
->
addr_len
=
6
;
return
(
0
);
}
...
...
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