Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2001 11:18:26 -0400
From:      Leo Bicknell <bicknell@ufp.org>
To:        Warner Losh <imp@harmony.village.org>
Cc:        Yar Tikhiy <yar@FreeBSD.ORG>, net@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: Some thoughts on if_ioctl()
Message-ID:  <20011008111826.A887@ussenterprise.ufp.org>
In-Reply-To: <200110081503.f98F3s759159@harmony.village.org>; from imp@harmony.village.org on Mon, Oct 08, 2001 at 09:03:54AM -0600
References:  <20011008113214.A68390@snark.rinet.ru> <200110081503.f98F3s759159@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 08, 2001 at 09:03:54AM -0600, Warner Losh wrote:
> Actaully, it should return ENOTTY rather than EINVAL.  ENOTTY means
> that the ioctl isn't understood.  I've had to fix several drivers at
> work that didn't follow this convention due to ignorance on the part
> of the driver writer.

I was looking for a discussion about this, and insted came across
a much older discussion than I remembered. :-)  Unfortunately I
can't find a threaded view, so here are some links.

http://mail-index.netbsd.org/current-users/1994/07/12/0006.html
http://mail-index.netbsd.org/current-users/1994/07/12/0014.html
http://mail-index.netbsd.org/current-users/1994/07/12/0016.html
http://mail-index.netbsd.org/current-users/1994/07/12/0018.html

-- 
Leo Bicknell - bicknell@ufp.org
Systems Engineer - Internetworking Engineer - CCIE 3440
Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011008111826.A887>