diff options
author | 2014-11-30 01:24:15 +0000 | |
---|---|---|
committer | 2014-11-30 01:24:15 +0000 | |
commit | 49d6323f0f3ab4d5ae9e308626e0e3fa47368b74 (patch) | |
tree | f70dfb7c1abb875a7e5b17ab63c86b6c986bf9dd | |
parent | Don't check for hardware address change unless link was up. Delay (diff) | |
download | wireguard-openbsd-49d6323f0f3ab4d5ae9e308626e0e3fa47368b74.tar.xz wireguard-openbsd-49d6323f0f3ab4d5ae9e308626e0e3fa47368b74.zip |
rxr ioctl handling.
-rw-r--r-- | sys/arch/socppc/dev/if_tsec.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/socppc/dev/if_tsec.c b/sys/arch/socppc/dev/if_tsec.c index e29551519f4..1e06d91daa1 100644 --- a/sys/arch/socppc/dev/if_tsec.c +++ b/sys/arch/socppc/dev/if_tsec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tsec.c,v 1.32 2014/07/16 10:45:46 deraadt Exp $ */ +/* $OpenBSD: if_tsec.c,v 1.33 2014/11/30 01:24:15 brad Exp $ */ /* * Copyright (c) 2008 Mark Kettenis @@ -587,6 +587,11 @@ tsec_ioctl(struct ifnet *ifp, u_long cmd, caddr_t addr) error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, cmd); break; + case SIOCGIFRXR: + error = if_rxr_ioctl((struct if_rxrinfo *)ifr->ifr_data, + NULL, MCLBYTES, &sc->sc_rx_ring); + break; + default: error = ether_ioctl(ifp, &sc->sc_ac, cmd, addr); break; |