diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-06-30 17:04:19 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-06-30 17:04:19 +0000 |
commit | 6b1255881a2f1a4e9dd6077cb84ea76d0c0b92e4 (patch) | |
tree | 4b88535eaa80490aec751b6b12ee668186dc8ad3 /sys/dev/usb/uvideo.h | |
parent | a7471a6037cf0c2e4b320296036b190b9be4c27e (diff) |
Limit maximal number of mmap buffers to 32 (instead 256).
Diffstat (limited to 'sys/dev/usb/uvideo.h')
-rw-r--r-- | sys/dev/usb/uvideo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uvideo.h b/sys/dev/usb/uvideo.h index 3ef0a92ca61..a90baaca5e9 100644 --- a/sys/dev/usb/uvideo.h +++ b/sys/dev/usb/uvideo.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvideo.h,v 1.15 2008/06/26 21:00:27 mglocker Exp $ */ +/* $OpenBSD: uvideo.h,v 1.16 2008/06/30 17:04:18 mglocker Exp $ */ /* * Copyright (c) 2007 Robert Nagy <robert@openbsd.org> @@ -351,7 +351,7 @@ struct uvideo_sample_buffer { uint8_t *buf; }; -#define UVIDEO_MAX_BUFFERS 256 +#define UVIDEO_MAX_BUFFERS 32 struct uvideo_mmap { SIMPLEQ_ENTRY(uvideo_mmap) q_frames; /* |