lkml.org 
[lkml]   [1998]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectdynamic changing of framing protocols
Date
From

It would be nice if any network device could switch between framing
protocols with ease, even if the orginal author of the device driver
did not mean for that device to use a particular framing protocol.

Really, the only ethernet specific things that ethernet devices
call are the init_etherdev() and eth_type_trans().
However, I was more thinking along the lines of T1 and T3 drivers
which would like to switch between HDLC and synchronous ppp easily.

If a uint32 were added to the device structure as a flag for what
framing protocol the device was currently using, and a generic
type_trans() function to call the appropriate type_trans function,
it would be easy to change the framing protocol during runtime.

The device driver shouldn't have to be aware of this at all.

Rob

-
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.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:2.430 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site