summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-10-24 18:55:53 +0000
committermsmith <msmith@FreeBSD.org>1998-10-24 18:55:53 +0000
commitf91e4bda2aa918a363ea1d437da9ae31c63040bc (patch)
tree65963301ad1168fafbb0748d7af915b50eead766 /sys/dev
parent17ba85d5a0955f2f9c29e45c2391c785a74c3c99 (diff)
downloadFreeBSD-src-f91e4bda2aa918a363ea1d437da9ae31c63040bc.zip
FreeBSD-src-f91e4bda2aa918a363ea1d437da9ae31c63040bc.tar.gz
Don't complain about SIOCGIFMEDIA; it's harmless and not something
useful here yet. Submitted by: markm and others
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ppbus/if_plip.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/ppbus/if_plip.c b/sys/dev/ppbus/if_plip.c
index 4bee255..771acd5 100644
--- a/sys/dev/ppbus/if_plip.c
+++ b/sys/dev/ppbus/if_plip.c
@@ -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;
OpenPOWER on IntegriCloud