Date: Thu, 21 Mar 1996 00:23:02 -0800 (PST) From: Paul Traina <pst> To: CVS-committers, cvs-all, cvs-user, cvs-sys, cvs-usrsbin Subject: cvs commit: src/lkm/qcam Makefile src/sys/i386/include qcam.h src/usr.sbin/qcamcontrol qcamcontrol.c src/sys/i386/isa qcam.c qcamdefs.h qcamio.c Message-ID: <199603210823.AAA07210@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
pst 96/03/21 00:23:01
Modified: lkm/qcam Makefile
Log:
Add in both parts of the driver. LKM qcam driver now works.
Revision Changes Path
1.2 +1 -1 src/lkm/qcam/Makefile
Modified: usr.sbin/qcamcontrol qcamcontrol.c
sys/i386/include qcam.h
Log:
Add support for /very/ experimental -e (exposure) option.
Not documented yet, because it's for grownups and geeks for now.
Revision Changes Path
1.2 +29 -5 src/usr.sbin/qcamcontrol/qcamcontrol.c
1.3 +2 -1 src/sys/i386/include/qcam.h
Modified: sys/i386/isa qcam.c qcamdefs.h qcamio.c
Log:
Add support for /very/ experimental -e (exposure) option.
Add support for LKM operation.
Change M_NOWAIT on buffer memory allocation to M_WAIT in hopes we'll be
able to get ourselves a nice fat buffer from the kernel if we suspend.
Note: The LKM support looks kinda screwy in two areas, where I found
problems with the kernel proper. First, calling dev_attach()
at module load time will cause a panic. I haven't investigated.
Secondly, I had to manually call qcam_drvinit() to register the
device softc structure by hand at module load time. This seems
bogus, it should be called as a core part of the module load
process for character/block device drivers.
Revision Changes Path
1.6 +74 -5 src/sys/i386/isa/qcam.c
1.2 +5 -0 src/sys/i386/isa/qcamdefs.h
1.2 +22 -9 src/sys/i386/isa/qcamio.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603210823.AAA07210>
