[PATCH] uml: slirp and slip driver cleanups and fixes
This patch merges a lot of duplicated code in the slip and slirp drivers, abstracts out the slip protocol, and makes the slip driver work in 2.6. Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
98fdffccea
commit
a3c77c67a4
@@ -25,10 +25,7 @@ void slirp_init(struct net_device *dev, void *data)
|
||||
{ .argw = init->argw,
|
||||
.pid = -1,
|
||||
.slave = -1,
|
||||
.ibuf = { '\0' },
|
||||
.obuf = { '\0' },
|
||||
.pos = 0,
|
||||
.esc = 0,
|
||||
.slip = SLIP_PROTO_INIT,
|
||||
.dev = dev });
|
||||
|
||||
dev->init = NULL;
|
||||
|
Reference in New Issue
Block a user