* [PATCH] sppp - fix sealevel
@ 2003-10-03 21:47 Stephen Hemminger
0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2003-10-03 21:47 UTC (permalink / raw)
To: Jeff Garzik; +Cc: netdev
My earlier change broke the if_ptr assumption used by SPPP drivers.
This makes sealevel driver do if_ptr like it used to.
diff -Nru a/drivers/net/wan/sealevel.c b/drivers/net/wan/sealevel.c
--- a/drivers/net/wan/sealevel.c Fri Oct 3 11:28:36 2003
+++ b/drivers/net/wan/sealevel.c Fri Oct 3 11:28:36 2003
@@ -31,6 +31,7 @@
struct slvl_device
{
+ void *if_ptr; /* General purpose pointer (used by SPPP) */
struct z8530_channel *chan;
struct ppp_device pppdev;
int channel;
@@ -238,6 +239,7 @@
return NULL;
sv = d->priv;
+ sv->if_ptr = &sv->pppdev;
sv->pppdev.dev = d;
d->base_addr = iobase;
d->irq = irq;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-10-03 21:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-03 21:47 [PATCH] sppp - fix sealevel Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).