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
29146e24
Commit
29146e24
authored
May 28, 2003
by
Christoph Hellwig
Committed by
David S. Miller
May 28, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Remove sdla from setup.c
parent
6a041226
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
14 deletions
+13
-14
drivers/net/setup.c
drivers/net/setup.c
+0
-5
drivers/net/wan/sdla.c
drivers/net/wan/sdla.c
+13
-9
No files found.
drivers/net/setup.c
View file @
29146e24
...
...
@@ -13,8 +13,6 @@ extern int dmascc_init(void);
extern
int
scc_enet_init
(
void
);
extern
int
fec_enet_init
(
void
);
extern
int
sdla_setup
(
void
);
extern
int
sdla_c_setup
(
void
);
/*
* Devices in this list must do new style probing. That is they must
...
...
@@ -35,9 +33,6 @@ static struct net_probe pci_probes[] __initdata = {
#if defined(CONFIG_DMASCC)
{
dmascc_init
,
0
},
#endif
#if defined(CONFIG_SDLA)
{
sdla_c_setup
,
0
},
#endif
#if defined(CONFIG_SCC_ENET)
{
scc_enet_init
,
0
},
#endif
...
...
drivers/net/wan/sdla.c
View file @
29146e24
...
...
@@ -1667,20 +1667,20 @@ static struct net_device sdla0 = {
.
name
=
"sdla0"
,
.
init
=
sdla_init
};
#endif
/* MODULE */
MODULE_LICENSE
(
"GPL"
);
int
init_module
(
void
)
static
int
__init
init_sdla
(
void
)
{
int
result
;
int
result
=
0
;
sdla_c_setup
();
if
((
result
=
register_netdev
(
&
sdla0
))
!=
0
)
#ifdef MODULE
result
=
register_netdev
(
&
sdla0
);
#endif
return
result
;
return
0
;
}
void
cleanup_module
(
void
)
static
void
__exit
exit_sdla
(
void
)
{
unregister_netdev
(
&
sdla0
);
if
(
sdla0
.
priv
)
...
...
@@ -1688,4 +1688,8 @@ void cleanup_module(void)
if
(
sdla0
.
irq
)
free_irq
(
sdla0
.
irq
,
&
sdla0
);
}
#endif
/* MODULE */
MODULE_LICENSE
(
"GPL"
);
module_init
(
init_sdla
);
module_exit
(
exit_sdla
);
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