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
fa0add7a
Commit
fa0add7a
authored
Jan 10, 2004
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] (1/6) tokenring probing change
Ugh, two patches got crossed. This is the correct first one.
parent
1f715e0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
drivers/net/Space.c
drivers/net/Space.c
+15
-1
No files found.
drivers/net/Space.c
View file @
fa0add7a
...
...
@@ -414,6 +414,10 @@ extern int sk_isa_probe(struct net_device *);
extern
int
proteon_probe
(
struct
net_device
*
);
extern
int
smctr_probe
(
struct
net_device
*
);
static
struct
devprobe2
tr_probes2
[]
__initdata
=
{
{
NULL
,
0
},
};
static
__init
int
trif_probe
(
int
unit
)
{
struct
net_device
*
dev
;
...
...
@@ -446,6 +450,15 @@ static __init int trif_probe(int unit)
return
err
;
}
static
void
__init
trif_probe2
(
int
unit
)
{
unsigned
long
base_addr
=
netdev_boot_base
(
"tr"
,
unit
);
if
(
base_addr
==
1
)
return
;
probe_list2
(
unit
,
tr_probes2
,
base_addr
==
0
);
}
#endif
...
...
@@ -471,7 +484,8 @@ static int __init net_olddevs_init(void)
#endif
#ifdef CONFIG_TR
for
(
num
=
0
;
num
<
8
;
++
num
)
trif_probe
(
num
);
if
(
!
trif_probe
(
num
))
trif_probe2
(
num
);
#endif
for
(
num
=
0
;
num
<
8
;
++
num
)
if
(
!
ethif_probe
(
num
))
...
...
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