| To: | "David S. Miller" <davem@xxxxxxxxxx>, Jeff Garzik <jgarzik@xxxxxxxxx> |
|---|---|
| Subject: | [PATCH] (2/2) syncpp - sealevel fix regression |
| From: | Stephen Hemminger <shemminger@xxxxxxxx> |
| Date: | Mon, 13 Oct 2003 11:09:57 -0700 |
| Cc: | netdev@xxxxxxxxxxx |
| Organization: | Open Source Development Lab |
| Sender: | netdev-bounce@xxxxxxxxxxx |
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;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] Handle shared SKBs in VLAN receive code, David S. Miller |
|---|---|
| Next by Date: | [PATCH] (1/2) syncppp wan device regression, Stephen Hemminger |
| Previous by Thread: | [PATCH] Fix IPVS to set the statistics of dest zero, Wensong Zhang |
| Next by Thread: | [PATCH] (1/2) syncppp wan device regression, Stephen Hemminger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |