summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/if_msk.c7
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);
}