summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2014-11-24 10:33:38 +0000
committerBrad Smith <brad@cvs.openbsd.org>2014-11-24 10:33:38 +0000
commitdd8f256961d63a83bd9b2ed002c9a8c1e0af901b (patch)
tree34443ee6eae5098c8635405ce396cab058195414 /sys/dev/pci
parent6bb2f16afb3159a6a17123c0b27c88ff79140107 (diff)
rxr ioctl handling.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_sis.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/if_sis.c b/sys/dev/pci/if_sis.c
index 3285e9d938d..87ecf789e3b 100644
--- a/sys/dev/pci/if_sis.c
+++ b/sys/dev/pci/if_sis.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sis.c,v 1.117 2014/07/22 13:12:11 mpi Exp $ */
+/* $OpenBSD: if_sis.c,v 1.118 2014/11/24 10:33:37 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
@@ -1892,6 +1892,11 @@ sis_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, MCLBYTES, &sc->sis_cdata.sis_rx_ring);
+ break;
+
default:
error = ether_ioctl(ifp, &sc->arpcom, command, data);
}