Re: SIOCDEVICE ?

From: Jeff Garzik (garzik@havoc.gtf.org)
Date: Sat Feb 02 2002 - 18:57:44 EST


On Sat, Feb 02, 2002 at 08:14:44PM +0100, Krzysztof Halasa wrote:
> Francois Romieu <romieu@cogenit.fr> writes:
>
> > Your patch doesn't apply against 2.5.3. I did a quick update and noticed the
> > patch is the sole user of SIOCDEVICE (with dscc4) and SIOCDEVPRIVATE.
>
> SIOCDEVICE, yes. That's my attempt to create an ioctl interface for
> controlling devices. It's defined by the hdlc patch, discussed about
> a year (?) ago here. Yes, I think I should post a note here.

This too seems way too generic for including in the kernel.

> A new patch which applies to 2.5.3 is in the usual place:
> ftp://ftp.pm.waw.pl/pub/linux/hdlc/
> This is what I want included in base kernel.

What data is passed through the following structure?

Untyped data has the same problems as I listed for SIOCDEVPRIVATE:

> struct if_settings
> {
> unsigned int type; /* Type of physical device or protocol */
> unsigned int data_length; /* device/protocol data length */
> void * data; /* pointer to data, ignored if length = 0 */
> };

Regards,

        Jeff

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



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:25 EST