summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2014-11-27 05:47:26 +0000
committerBrad Smith <brad@cvs.openbsd.org>2014-11-27 05:47:26 +0000
commitef110e64dbda3a983f4318b0bc54dade24b12dcd (patch)
tree11fc82bf958b9cd2aed227312795ca46b1c407fc /sys
parente32b8bb920635c66f724b96742838107757c1f7a (diff)
rxr ioctl handling.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/hme.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ic/hme.c b/sys/dev/ic/hme.c
index 1a197064f63..2836de57522 100644
--- a/sys/dev/ic/hme.c
+++ b/sys/dev/ic/hme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hme.c,v 1.67 2014/07/22 13:12:12 mpi Exp $ */
+/* $OpenBSD: hme.c,v 1.68 2014/11/27 05:47:25 brad Exp $ */
/* $NetBSD: hme.c,v 1.21 2001/07/07 15:59:37 thorpej Exp $ */
/*-
@@ -1211,6 +1211,11 @@ hme_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, cmd);
break;
+ case SIOCGIFRXR:
+ error = if_rxr_ioctl((struct if_rxrinfo *)ifr->ifr_data,
+ NULL, MCLBYTES, &sc->sc_rx_ring);
+ break;
+
default:
error = ether_ioctl(ifp, &sc->sc_arpcom, cmd, data);
}