sppp - fix sealevel
Subsystems (2)
PATCH 1/1 sppp - fix sealevel
My earlier change broke the if_ptr assumption used by SPPP drivers. This makes sealevel driver do if_ptr like it used to.
drivers/net/wan/sealevel.c +2 -0
@@ -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;