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
040f3e3e
Commit
040f3e3e
authored
Jun 05, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Kill drivers/net/setup.c, it no longer does anything.
parent
26c37681
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
55 deletions
+1
-55
drivers/net/Makefile
drivers/net/Makefile
+1
-1
drivers/net/setup.c
drivers/net/setup.c
+0
-45
net/core/dev.c
net/core/dev.c
+0
-9
No files found.
drivers/net/Makefile
View file @
040f3e3e
...
...
@@ -65,7 +65,7 @@ obj-$(CONFIG_MII) += mii.o
obj-$(CONFIG_WINBOND_840)
+=
mii.o
obj-$(CONFIG_SUNDANCE)
+=
sundance.o mii.o
obj-$(CONFIG_HAMACHI)
+=
hamachi.o mii.o
obj-$(CONFIG_NET)
+=
Space.o
setup.o
net_init.o loopback.o
obj-$(CONFIG_NET)
+=
Space.o net_init.o loopback.o
obj-$(CONFIG_SEEQ8005)
+=
seeq8005.o
obj-$(CONFIG_ETHERTAP)
+=
ethertap.o
obj-$(CONFIG_NET_SB1000)
+=
sb1000.o
...
...
drivers/net/setup.c
deleted
100644 → 0
View file @
26c37681
/*
* New style setup code for the network devices
*/
#include <linux/config.h>
#include <linux/netdevice.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/netlink.h>
/*
* Devices in this list must do new style probing. That is they must
* allocate their own device objects and do their own bus scans.
*/
struct
net_probe
{
int
(
*
probe
)(
void
);
int
status
;
/* non-zero if autoprobe has failed */
};
static
struct
net_probe
pci_probes
[]
__initdata
=
{
/*
* Early setup devices
*/
{
NULL
,
0
},
};
/*
* Run the updated device probes. These do not need a device passed
* into them.
*/
void
__init
net_device_init
(
void
)
{
struct
net_probe
*
p
=
pci_probes
;
while
(
p
->
probe
!=
NULL
)
{
p
->
status
=
p
->
probe
();
p
++
;
}
}
net/core/dev.c
View file @
040f3e3e
...
...
@@ -2863,10 +2863,6 @@ int unregister_netdevice(struct net_device *dev)
*
*/
extern
void
net_device_init
(
void
);
extern
void
ip_auto_config
(
void
);
/*
* This is called single threaded during boot, so no need
* to take the rtnl semaphore.
...
...
@@ -2999,11 +2995,6 @@ static int __init net_dev_init(void)
#ifdef CONFIG_NET_SCHED
pktsched_init
();
#endif
/*
* Initialise network devices
*/
net_device_init
();
rc
=
0
;
out:
return
rc
;
...
...
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