summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2014-11-30 01:24:16 +0000
committerBrad Smith <brad@cvs.openbsd.org>2014-11-30 01:24:16 +0000
commit838fc1647f473343de96d91500147806f7d67c42 (patch)
tree61aec230aedfacbc9d44eb060f4ad86562dcb9be /sys
parent467f36354d28ef4c92b1c86340c1c7b56498e8ad (diff)
rxr ioctl handling.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/socppc/dev/if_tsec.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/socppc/dev/if_tsec.c b/sys/arch/socppc/dev/if_tsec.c
index e29551519f4..1e06d91daa1 100644
--- a/sys/arch/socppc/dev/if_tsec.c
+++ b/sys/arch/socppc/dev/if_tsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tsec.c,v 1.32 2014/07/16 10:45:46 deraadt Exp $ */
+/* $OpenBSD: if_tsec.c,v 1.33 2014/11/30 01:24:15 brad Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
@@ -587,6 +587,11 @@ tsec_ioctl(struct ifnet *ifp, u_long cmd, caddr_t addr)
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_ac, cmd, addr);
break;