anyone build 2.3.42 for ppc?

Jeff Garzik jgarzik at mandrakesoft.mandrakesoft.com
Sat Feb 5 16:26:03 EST 2000




On Fri, 4 Feb 2000, Chas Williams wrote:

>
> i needed to apply the following to fix nvram access:
>
> --- drivers/char/misc.c.000     Fri Feb  4 18:00:52 2000
> +++ drivers/char/misc.c Fri Feb  4 18:03:43 2000
> @@ -72,6 +72,7 @@
>  extern int rtc_DP8570A_init(void);
>  extern int rtc_MK48T08_init(void);
>  extern int dsp56k_init(void);
> +extern int nvram_init(void);
>  extern int radio_init(void);
>  extern int pc110pad_init(void);
>  extern int pmu_device_init(void);
> @@ -207,6 +208,9 @@
>  #endif
>  #ifdef CONFIG_ATARI_DSP56K
>         dsp56k_init();
> +#endif
> +#ifdef CONFIG_NVRAM
> +       nvram_init();
>  #endif
>  #ifdef CONFIG_MISC_RADIO
>         radio_init();

This patch is wrong.  I fixed nvram to use initcalls.

If nvram doesn't load you have other problems.

	Jeff


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list