On 11/30/2011 07:03 PM, Anders Blomdell wrote:
Hi, just found that
echo 0000:06:01.0 > /sys/bus/pci/drivers/analogy_mite/unbind
does not do the same thing as
analogy_config -r analogyN
in fact it leaves the system in a state where using the driver results
in a kernel OOPS.
Will try to look into it further tomorrow...
Well, took quite some time to track down the 'analogy_config -r' bug
(which was responsible for the kernel OOPS [i.e. after fixing it I have
not got any OOPSes]).
So back to the original problem, does anybody foresee that a call to
a4l_ioctl_devcfg(cxt, NULL) from the mite driver would give any problems
(apart from getting the context pointer from the data structures the
mite driver has handy)? It is probably not kosher to do ioctl on a
driver that is not open, but...
/Anders
--
Anders Blomdell Email: [email protected]
Department of Automatic Control
Lund University Phone: +46 46 222 4625
P.O. Box 118 Fax: +46 46 138118
SE-221 00 Lund, Sweden
_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core