| lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
|
Open Source and information security mailing list archives
| ||
|
Message-ID: <20110311085443.GJ6198@pulham.picochip.com> Date: Fri, 11 Mar 2011 08:54:43 +0000 From: Jamie Iles <jamie@...ieiles.com> To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@...osoft.com> Cc: Jamie Iles <jamie@...ieiles.com>, netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org, nicolas.ferre@...el.com Subject: Re: [PATCH 2/8] macb: detect hclk presence from platform data On Fri, Mar 11, 2011 at 02:44:00AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 10:10 Thu 10 Mar , Jamie Iles wrote: > > +#ifdef CONFIG_ARCH_AT91 > > +#define PCLK_NAME "macb_clk" > > +#else /* CONFIG_ARCH_AT91 */ > > +#define PCLK_NAME "pclk" > > +#endif > > we need change the clock name and avoid the ifdef > so this will be generic > > nb I work on the switch to clkdev currently for avr32 and at91 This should be gone now. Russell made the suggestion to have a fake clk for hclk on AT91 so I think I've solved that now. There's an updated patch in my reply to Russell's message but essentially I'm using at91_clock_associate() to turn "macb_pclk" into "hclk" and "pclk". Does this seem reasonable? Jamie -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists