Re: Synchronous board drivers

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 5 Jul 1999 11:08:33 +0100 (BST)


> The generic ppp layer would have a standard interface to
> communications channels. There would be several types of channels
> such as async serial lines, HDLC lines, ISDN, frame relay, or sockets
> (e.g. for L2TP or PPP over ethernet).

Stop. The generic PPP layer should have one frame type - PPP. It might
be given a notice if the layer is reliable or not, and if it is
dialable.

Think about PPP over X.25 where the X.25 is done by the card firmware.
The PPP layer needs to not know about media types.

> than a "library" approach, it is because the desire to do multilink
> pushes it in that direction. The thing that gets packets to transmit,
> i.e. the ppp network interface unit, gets to choose which of several
> channels to use to send it (or if the packet is to be split between
> channels), and also whether the packet is to be compressed at the
> bundle level. It seems to me that this inevitably makes the ppp
> network interface unit a mid level, with the channels being a lower
> level.

That does seem kind of unavoidable. On the other hand for channels not
part of your multilink bundling and the like I can still register myself
a sync device for say a smart firmware driven PPP and interact in all other
ways as if I was using your layer.

The killer problem with the SCSI code is there is no way to say "give me
3 disks, 1 CD, 1 controller and plug me directly into the request queue"

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/