All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bob McElrath <bob+linux-kernel@mcelrath.org>
To: linux-kernel@vger.kernel.org
Subject: /dev/rtc on alpha
Date: Sat, 8 Nov 2003 13:33:57 -0800	[thread overview]
Message-ID: <20031108213356.GD16295@mcelrath.org> (raw)

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

In a nutshell, the rtc driver on alpha does not work.  This is easily
verified with the small program in Documentation/rtc.txt -- all ioctl's
fail.  (I tried on an LX164 and a CS20)  That's the /dev/rtc driver
drivers/char/rtc.c.  I'd like to make it work but don't understand
what's going on with the rtc interrupt in arch/alpha/kernel/*.  So, can
some expert comment on this situation for me?

The /dev/rtc driver builds and loads fine but the define RTC_IRQ is not
set in include/asm-alpha/mc146818rtc.h.  Naievely setting it, the driver
still builds and loads, but is unable to grab the interrupt (IRQ 8)
because the code in arch/alpha/kernel grabbed it first.

Why is the alpha kernel code grabbing the rtc interrupt?  Is it possible
it share its use with a user program?  Would reprogramming the interrupt
rate by a user program do violence to some internel kernel timing?

Thanks,
Bob McElrath [Univ. of California at Davis, Department of Physics]

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2003-11-08 21:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-08 21:33 Bob McElrath [this message]
2003-11-09 11:24 ` /dev/rtc on alpha Ivan Kokshaysky
2003-11-09 17:44   ` Bob McElrath
2003-11-09 19:05     ` Geert Uytterhoeven

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=20031108213356.GD16295@mcelrath.org \
    --to=bob+linux-kernel@mcelrath.org \
    --cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.