diff options
author | 2010-07-15 04:46:33 +0000 | |
---|---|---|
committer | 2010-07-15 04:46:33 +0000 | |
commit | fd582a89b6594e8f4053668fca96d481ef9b17d8 (patch) | |
tree | fa51270069830a369649254bb589ae49255ac2b9 /sys/dev | |
parent | add two new members to structs audio_encoding and audio_prinfo. (diff) | |
download | wireguard-openbsd-fd582a89b6594e8f4053668fca96d481ef9b17d8.tar.xz wireguard-openbsd-fd582a89b6594e8f4053668fca96d481ef9b17d8.zip |
* Comment poll support in conf.h
* Comment why we call the video interrupt in the mmap interface now in
uvideo.c
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/uvideo.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c index ba5bd60acbd..7a4f78aa637 100644 --- a/sys/dev/usb/uvideo.c +++ b/sys/dev/usb/uvideo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvideo.c,v 1.132 2010/07/14 21:24:33 jakemsr Exp $ */ +/* $OpenBSD: uvideo.c,v 1.133 2010/07/15 04:46:33 mglocker Exp $ */ /* * Copyright (c) 2008 Robert Nagy <robert@openbsd.org> @@ -2094,6 +2094,11 @@ uvideo_mmap_queue(struct uvideo_softc *sc, uint8_t *buf, int len) sc->sc_mmap_cur = 0; wakeup(sc); + + /* + * In case userland uses poll(2), signal that we have a frame + * ready to dequeue. + */ sc->sc_uplayer_intr(sc->sc_uplayer_arg); } |