diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2014-11-24 23:28:51 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2014-11-24 23:28:51 +0000 |
commit | 7ba7448abae1993352fc392d797bbd84544c5e97 (patch) | |
tree | 9587aaef119de0e52b556205b1233b103bff0d8e | |
parent | 6664e18e9a71614637085ea9c730ccf32b6607c7 (diff) |
rxr ioctl handling.
ok mpi@
-rw-r--r-- | sys/dev/pci/if_msk.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c index 99e4271e37f..fdc9c4aab4a 100644 --- a/sys/dev/pci/if_msk.c +++ b/sys/dev/pci/if_msk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_msk.c,v 1.110 2014/10/19 03:54:56 brad Exp $ */ +/* $OpenBSD: if_msk.c,v 1.111 2014/11/24 23:28:50 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -617,6 +617,11 @@ msk_ioctl(struct ifnet *ifp, u_long command, caddr_t data) error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command); break; + case SIOCGIFRXR: + error = if_rxr_ioctl((struct if_rxrinfo *)ifr->ifr_data, + NULL, sc_if->sk_pktlen, &sc_if->sk_cdata.sk_rx_ring); + break; + default: error = ether_ioctl(ifp, &sc_if->arpcom, command, data); } |