Date: Mon, 13 May 1996 18:22:01 -0700 (PDT) From: "JULIAN Elischer" <julian@ref.tfs.com> To: pst@shockwave.com (Paul Traina) Cc: terry@lambert.org, mmead@Glock.COM, current@freebsd.org Subject: Re: lkm qcam Message-ID: <199605140122.SAA04389@ref.tfs.com> In-Reply-To: <199605132157.OAA11515@precipice.shockwave.com> from "Paul Traina" at May 13, 96 02:57:32 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > > There are no interrupts used by the driver, and there is a deinit > routine... is there a way to remove an entry from the cdevsw() > structure? In -current, the cdevsw entries are simply a pointer to the cdevsw struct in the driver.. you just need to zero out the pointer. there shoudl be a routine to do this in /sys/kern/kern_conf.c I guess.. > > Paul > > From: Terry Lambert <terry@lambert.org> > Subject: Re: lkm qcam > > qcamcontrol is an example program that uses the qcam driver, if that's > > what you mean. > > > > I occasionally use the driver in lkm mode for testing, however there are > > definitely some problems, either with the driver, or more likely with the > > LKM interface, because if you: > > > > load lkm > > access qcam > > unload lkm > > > > access qcam > > > > the system crashes rather than returning device unconfigured. :-( > > Sounds like the interrupt isn't untrapped when the driver is unloaded. > > You will need to provide a deinit routine. > > > Terry Lambert > terry@lambert.org > --- > Any opinions in this posting are my own and not those of my present > or previous employers. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605140122.SAA04389>