aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-11-21 12:47:13 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:16 +1100
commit37a8023ce59bfc1fa24067fd94aee7b286f4c01b (patch)
treefda34215b46022c3ae121478ff172e331d9c0b17 /include/crypto
parent[HWRNG]: move status polling loop to data_present callbacks (diff)
downloadlinux-dev-37a8023ce59bfc1fa24067fd94aee7b286f4c01b.tar.xz
linux-dev-37a8023ce59bfc1fa24067fd94aee7b286f4c01b.zip
[HIFN]: Improve PLL initialization
The current PLL initalization has a number of deficiencies: - uses fixed multiplier of 8, which overclocks the chip when using a reference clock that operates at frequencies above 33MHz. According to a comment in the BSD source, this is true for the external clock on almost all every board. - writes to a reserved bit - doesn't follow the initialization procedure specified in chapter 6.11.1 of the HIFN hardware users guide - doesn't allow to use the PCI clock This patch adds a module parameter to specify the reference clock (pci or external) and its frequency and uses that to calculate the optimum multiplier to reach the maximal speed. By default it uses the external clock and assumes a speed of 66MHz, which effectively halfs the frequency currently used. Signed-off-by: Patrick McHardy <kaber@trash.net> Acked-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions