From: Kumar Gala <galak@kernel.crashing.org>
To: Kevin Diggs <kevdig@hypersurf.com>
Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/4] Add low level PLL config register interface module
Date: Mon, 25 Aug 2008 06:40:00 -0500 [thread overview]
Message-ID: <5430DEC7-39DB-4316-8E7E-949CA4280403@kernel.crashing.org> (raw)
In-Reply-To: <48B28C62.2000600@hypersurf.com>
On Aug 25, 2008, at 5:41 AM, Kevin Diggs wrote:
> This adds a small module to handle the low level details of dealing
> with the
> PLL config register (HID1) found in the IBM 750GX. It provides 2
> possible
> interfaces, both selectable via kernel config options. One is a
> sysfs attribute
> and the other is a normal function API. It is called pll_if.
>
> The determination of the bus frequency is what worked on a PowerMac
> 8600. Any
> suggestions on a more general solution are welcome.
>
> WARNING - I used some #ifdefs - Let the fur fly!
>
> My name is Kevin Diggs and I approve this patch.
This really should be split into two patches. One for the perl script
and one for the actual kernel code.
Scanning the actual kernel code you have a lot of #ifdef's that should
be cleaned up:
Can't #ifdef CONFIG_PPC_750GX_DUAL_PLL_IF_SYSFS just be #ifdef
CONFIG_SYSFS and the same for CONFIG_PPC_750GX_DUAL_PLL_IF_HRTIMER &
CONFIG_PPC_750GX_DUAL_PLL_IF_CPU_FREQ?
#ifdef CONFIG_PPC_OF seems unnecessary as all PPC always has this set.
What's up with #define MULFIRST and the #if 0?
- k
next prev parent reply other threads:[~2008-08-25 11:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-25 10:41 [PATCH 1/4] Add low level PLL config register interface module Kevin Diggs
2008-08-25 11:40 ` Kumar Gala [this message]
2008-08-25 21:30 ` Kevin Diggs
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=5430DEC7-39DB-4316-8E7E-949CA4280403@kernel.crashing.org \
--to=galak@kernel.crashing.org \
--cc=kevdig@hypersurf.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@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