1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Don't complain about SIOCGIFMEDIA; it's harmless and not something

useful here yet.

Submitted by:	markm and others
This commit is contained in:
Mike Smith 1998-10-24 18:55:53 +00:00
parent 6fe8861e01
commit 80015f135f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40626

View File

@ -24,7 +24,7 @@
* SUCH DAMAGE.
*
* From Id: lpt.c,v 1.55.2.1 1996/11/12 09:08:38 phk Exp
* $Id: if_plip.c,v 1.3 1998/08/17 01:05:23 bde Exp $
* $Id: if_plip.c,v 1.4 1998/10/07 14:42:24 des Exp $
*/
/*
@ -393,6 +393,13 @@ lpioctl (struct ifnet *ifp, u_long cmd, caddr_t data)
}
break;
case SIOCGIFMEDIA:
/*
* No ifmedia support at this stage; maybe use it
* in future for eg. protocol selection.
*/
return EINVAL;
default:
lprintf("LP:ioctl(0x%lx)\n", cmd);
return EINVAL;