Paul,

Thanks for your response.
Actually syncppp.c is used by a lot of other drivers there (grep for
sppp_open).

I'll downgrade the kernel ppp code for now.

What i need is PPP sync frames to be passed to a terminal driver i wrote.
pppd opens this device as it would a modem. I hope i dont have
to re-write everything (sppp_open etc).

On Mon, 11 Oct 1999, Paul Fulghum wrote:

> Jamal:
> 
> Now that I've had a chance to look at the code, it appears
> the sync support was simply *deleted* :(
> (syncppp.c is seperate from pppd and is used with the Z85230
> adapter driver)
> 
> I beleive the idea is that sync support can (in theory) be added back
> using the new generic interface. From what I can see at this
> point, the PPP interface has been partially abstracted through the
> new generic code, but pppd is also still talking directly to what
> is now called a 'ppp channel' driver.
> 
> So the bad news is that this is not a trivial fix. I need to wade through
> the details of:
> 
> 1. adding a new channel driver
> 2. adapting the our hardware device driver to work with the channel driver
> 3. work out what parts of pppd still talk directly to the channel
>  driver and what parts work throught the generic layer and figure out how
>  all of this applies to the pppd command line options.
> 
> It may be possible to fold the channel driver into the device driver, but
> then
> there is no generic synchronous interface as before.
> 
> I'm in the middle of another project at this time, but in about two weeks I
> should be able to start on writing the new sync support (at least for our
> hardware).
> This schedule is probably for the better anyways. My hope is that once 2.4
> hits
> the PPP stuff should be stable enough to work with.
> 
> In the mean time, you can still use ppp 2.3.7 or 2.3.8. You may have to
> manually
> downgrade the ppp files in the kernel if you need to use sync support in
> kernel 2.3.17+.
> 
> Paul Fulghum [EMAIL PROTECTED]
> Microgate Corporation www.microgate.com
> 9501 Capital of Texas Hwy
> Austin, Texas 78759
> (512)-345-7791
> 
> ----- Original Message -----
> From: jamal <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Saturday, October 09, 1999 10:00 PM
> Subject: kernel 2.3.19: sync option disappeared?
> 
> 
> >
> >
> > folks,
> >
> > It seems that using the "sync" option in the 2.3.* kernels which
> > introduce the generic ppp stuff is broken i.e it defaults to just
> > async framing. This works fine in 2.2.* (flag SC_SYNC)
> > The appropriate routines are available in the syncppp.c file.
> > Before i go on hacking things, is there a quick way to enable things
> > again?
> >
> > Out of curiosity: Is there a way to also add quick support to 2.0.*
> > kernels?
> >
> > cheers,
> > jamal
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> > the body of a message to [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to [EMAIL PROTECTED]
> 


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to