From e32b8bb920635c66f724b96742838107757c1f7a Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 27 Nov 2014 03:49:08 +0000 Subject: rxr ioctl handling. --- sys/dev/pci/if_vr.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sys/dev/pci') diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c index 96c9836ea48..63754ef325d 100644 --- a/sys/dev/pci/if_vr.c +++ b/sys/dev/pci/if_vr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vr.c,v 1.135 2014/07/22 13:12:11 mpi Exp $ */ +/* $OpenBSD: if_vr.c,v 1.136 2014/11/27 03:49:07 brad Exp $ */ /* * Copyright (c) 1997, 1998 @@ -1578,6 +1578,11 @@ vr_ioctl(struct ifnet *ifp, u_long command, caddr_t data) error = ifmedia_ioctl(ifp, ifr, &sc->sc_mii.mii_media, command); break; + case SIOCGIFRXR: + error = if_rxr_ioctl((struct if_rxrinfo *)ifr->ifr_data, + NULL, MCLBYTES, &sc->sc_rxring); + break; + default: error = ether_ioctl(ifp, &sc->arpcom, command, data); } -- cgit v1.2.3