From: Alessandro Zummo <alessandro.zummo@towertech.it>
To: tr@newtec.dk
Cc: a.zummo@towertech.it, akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rtc: ds1743 support
Date: Thu, 30 Nov 2006 09:47:23 +0100 [thread overview]
Message-ID: <20061130094723.6ab9e1d3@inspiron> (raw)
In-Reply-To: <200611300812.02261.tr@newtec.dk>
On Thu, 30 Nov 2006 08:12:02 +0100
Torsten Ertbjerg Rasmussen <tr@newtec.dk> wrote:
> The real time clocks ds1742 and ds1743 differs only in the size of the nvram.
> This patch changes the existing ds1742 driver to support also ds1743. The
> main change is that the nvram size is determined from the resource attached
> to the device.
> + pdata->ioaddr_rtc = ioaddr + pdata->size_nvram;
>
> /* turn RTC on if it was not on */
> + ioaddr = pdata->ioaddr_rtc;
> sec = readb(ioaddr + RTC_SECONDS);
why not
sec = readb(pdata->ioaddr_rtc + RTC_SECONDS);
?
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
--
Best regards,
Alessandro Zummo,
Tower Technologies - Turin, Italy
http://www.towertech.it
next prev parent reply other threads:[~2006-11-30 8:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-30 7:12 [PATCH] rtc: ds1743 support Torsten Ertbjerg Rasmussen
2006-11-30 8:47 ` Alessandro Zummo [this message]
2006-11-30 9:23 ` Torsten Ertbjerg Rasmussen
2006-11-30 13:23 ` Atsushi Nemoto
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=20061130094723.6ab9e1d3@inspiron \
--to=alessandro.zummo@towertech.it \
--cc=a.zummo@towertech.it \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tr@newtec.dk \
/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