Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Apr 1995 06:50:12 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs@freefall.cdrom.com, j@uriah.heep.sax.de
Subject:   Re: kern/290: latest sio change broke slattach(8)
Message-ID:  <199504012050.GAA20113@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>The latest sio changes obviously broke the SLIP line discipline.
>Slattach(8) complains:

>Apr  1 21:48:55 uriah slattach[150]: cannot get carrier state: Inappropriate ioctl for device
>Apr  1 21:48:55 uriah slattach[150]: Waiting for carrier on /dev/cuaa1 (sl-1)

I'll fix this in a few minutes.  sltioctl() now returns ENOTTY for ioctls
that it doesn't know about.  It's supposed to return -1 like it used to so
that such ioctls can be handled by higher layer(s).

BTW, slioctl() (a different function) returns EINVAL for ioctls that it
doesn't know about.  Shouldn't it return ENOTTY?

Bruce



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