diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2014-11-27 03:49:08 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2014-11-27 03:49:08 +0000 |
commit | e32b8bb920635c66f724b96742838107757c1f7a (patch) | |
tree | d329ed20539028515912fe07a73830b2abd8f569 /sys/dev/pci/if_vr.c | |
parent | 2548776e9d8607097f4bc444f36621c887c6c31f (diff) |
rxr ioctl handling.
Diffstat (limited to 'sys/dev/pci/if_vr.c')
-rw-r--r-- | sys/dev/pci/if_vr.c | 7 |
1 files changed, 6 insertions, 1 deletions
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); } |