All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] (2/2) syncpp - sealevel fix regression
@ 2003-10-13 18:09 Stephen Hemminger
  0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2003-10-13 18:09 UTC (permalink / raw)
  To: David S. Miller, 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.

This is a resend of an earlier patch which seems not to have been included.

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-13 18:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-13 18:09 [PATCH] (2/2) syncpp - sealevel fix regression Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.