Re: [PATCH] Added one_reg interface for timer registers

2013-02-08 Thread Scott Wood
On 02/08/2013 04:06:14 AM, Bharat Bhushan wrote: If userspace wants to change some specific bits of TSR (timer status register) then it uses GET/SET_SREGS ioctl interface. So the steps will be: i) user-space will make get ioctl, ii) change TSR in userspace iii) then make set

[PATCH] Added one_reg interface for timer registers

2013-02-08 Thread Bharat Bhushan
If userspace wants to change some specific bits of TSR (timer status register) then it uses GET/SET_SREGS ioctl interface. So the steps will be: i) user-space will make get ioctl, ii) change TSR in userspace iii) then make set ioctl. It can happen that TSR gets changed by kerne