freebsd-ports/multimedia/linux-ov511-kmod/files/patch-ov511-1
Luigi Rizzo 70c88d3609 New port linux-ov511-kmod, a usb webcam driver based on the linux
driver 'ov511' (from the linux sources) built on FreeBSD using
devel/linux-kmod-compat. The driver supports some ov511 based
webcams.

THIS IS EXPERIMENTAL CODE, TRY IT AT YOUR OWN RISK.

This is only for 6.x/7.x and at the moment only for i386.

Most bugs and limitations are due to linux-kmod-compat rather than
this port itself, so upgrading linux-kmod-compat (and rebuilding
this port) will most likely improve functionality and remove some bugs.

As usual if some of the port gurus wants to help fixing any mistakes
that i may have made in the port (or missing things, e.g. a suitable
warning message when the port is installed), i will be very grateful
(and can spend more time working on the emulation code).

In particular, i could not find a good site (ftp or web) to fetch
individual linux source files from, so i copied them on my web server
and used it as MASTER_SITE. This should be fixed though.
2007-02-02 18:25:27 +00:00

12 lines
339 B
Text

diff -ubwr drivers/media/video/ov511.h ./ov511.h
--- drivers/media/video/ov511.h Wed Jan 10 20:10:37 2007
+++ ./ov511.h Wed Jan 31 10:36:17 2007
@@ -250,7 +250,7 @@
#error "OV511_NUMFRAMES is too high"
#endif
-#define OV511_NUMSBUF 2
+#define OV511_NUMSBUF 3
/* Control transfers use up to 4 bytes */
#define OV511_CBUF_SIZE 4