summaryrefslogtreecommitdiffstats
path: root/drivers/ssb/scan.c
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 /drivers/ssb/scan.c
parent984e976f5382ff09351ddd3b023937611396d739 (diff)
downloadop-kernel-dev-37a8023ce59bfc1fa24067fd94aee7b286f4c01b.zip
op-kernel-dev-37a8023ce59bfc1fa24067fd94aee7b286f4c01b.tar.gz
[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 'drivers/ssb/scan.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud