Re: Synchronous board drivers

Jan Kasprzak (kas@informatics.muni.cz)
Mon, 5 Jul 1999 23:03:35 +0200


Alan Cox wrote:
: > : Why is the character device emulation needed at all ?
: >
: > I occasionaly use sync line for transfering raw data instead
: > of some network protocol. I think most sync board drivers have
: > some sort of character device emulation. IMHO it would be wise
: > to move it to syncppp.c.
:
: How does this differ from AF_PACKET, SOCK_DGRAM sockets ?

Easier to use? More ioctls()? There are only 16 ioctls
for network device's private use, and in case of syncppp.c is not clear
how many ioctls to leave for the link layer and how many can use the
network driver.

-Yenya

-- 
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz>       http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz   0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\             Czech Linux Homepage:  http://www.linux.cz/              ///
///    While Linux is larger than Emacs, at least Linux has the excuse   \\\
//     that it needs to be.                           --Linus Torvalds    \\

- 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/