Patch from Anders Blomdell: "When uppgrading to 2.6.26.3, I found out that
authorIan Abbott <abbotti@mev.co.uk>
Wed, 1 Oct 2008 16:20:49 +0000 (16:20 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Wed, 1 Oct 2008 16:20:49 +0000 (16:20 +0000)
commitc711a90a18fc1ad7491e34163a639d2f13adede8
treef7a0635de9f02679ab32e9351cf2222c8d101871
parent683433f5b3ed22a377a3823ceebdeb971a63fc00
Patch from Anders Blomdell: "When uppgrading to 2.6.26.3, I found out that
f->f_op->ioctl is NULL with some (all?) serial drivers. Changing to
f->f_op->unlocked_ioctl worked for everything except FIONREAD, which
occasionally page faulted, hence I use 'settings.c_cc[VMIN] = 0
settings.c_cc[VTIME] = 0;' and use f->f_op->read for polling.
comedi/drivers/serial2002.c