linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Aswathi C <aswathi.c@gmail.com>
To: linuxppc-dev@lists.ozlabs.org
Subject: Problem in setting timeout from user space for MPC 83x watchdog timer
Date: Wed, 9 Dec 2009 15:11:28 +0530	[thread overview]
Message-ID: <2f2a209f0912090141g62bbe752j2cf5c758f74f49c@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 520 bytes --]

I am using MPC 8323E processor and linux-2.6.24 kernel.
I tried to set watchdog timer from user space using ioctl with the case
WDIOC_SETTIMEOUT.
I am getting timeout value as seconds and calculating corresponding modulus
for the WDT.
After that I am setting SWTC of SWCRR and writing service sequence to SWSRR.

But SWCNR is setting back to 0xffff after service sequence written into
SWSRR, means it is not setting with configured SWTC.

Can anyone tell what is the problem?
Please suggest solution..

Regards,
Aswathi

[-- Attachment #2: Type: text/html, Size: 561 bytes --]

                 reply	other threads:[~2009-12-09  9:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2f2a209f0912090141g62bbe752j2cf5c758f74f49c@mail.gmail.com \
    --to=aswathi.c@gmail.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).