Skip to contentSkip to conversation

Several patches against linuxppc_devel-2.4.18-rc1

PATCH In review David Müller (ELSOFT AG) 2 participants 3 messages Feb 16, 2002 – Feb 18, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Several patches against linuxppc_devel-2.4.18-rc1

Hello

The attached patch fixes the following issues:

- arch/ppc/kernel/Makefile
ppc4xx_pm.o missing in export-objs list

- arch/ppc/kernel/ppc4xx_pm.c
missing include file + missing #ifdef #endif

- arch/ppc/kernel/ppc4xx_pic.c
fixed constant in ppc405_pic_get_irq()
(NR_IRQS is not necessarily the total number of UIC irqs)

- arch/ppc/platforms/ibm_ocp.h
wrong header file included + some little name fixes

Regarding the newly introduce support for cascaded UICs:

Isn't the CONFIG_CASCADING_UIC option redundant?
If (CONFIG_CASCADING_UIC == (NR_UICS > 1)) is true, CONFIG_CASCADING_UIC could be replace by (NR_UICS > 1).

Dave

#1 lore raw
Quoted 10 lines · David Müller (ELSOFT AG)

Hello

The attached patch fixes the following issues:

- arch/ppc/kernel/Makefile
ppc4xx_pm.o missing in export-objs list

- arch/ppc/kernel/ppc4xx_pm.c
missing include file + missing #ifdef #endif

ok.

Quoted 3 lines

- arch/ppc/kernel/ppc4xx_pic.c
fixed constant in ppc405_pic_get_irq()
(NR_IRQS is not necessarily the total number of UIC irqs)a

hmmmmm... we should get ride of "NR_BOARD_IRQS" instead?

Quoted 3 lines

- arch/ppc/platforms/ibm_ocp.h
wrong header file included + some little name fixes

header file fix all ready in. I will get the name change next patch in.

Quoted 8 lines

Regarding the newly introduce support for cascaded UICs:

Isn't the CONFIG_CASCADING_UIC option redundant?
If (CONFIG_CASCADING_UIC == (NR_UICS > 1)) is true, CONFIG_CASCADING_UIC could be replace by (NR_UICS > 1).

Good point:)

Quoted 1 line

Dave

Armin

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

#2 lore raw

Hi

Quoted 11 lines · Armin
Quoted 5 lines · David Müller (ELSOFT AG)

Hello

- arch/ppc/kernel/ppc4xx_pic.c
fixed constant in ppc405_pic_get_irq()
(NR_IRQS is not necessarily the total number of UIC irqs)a

hmmmmm... we should get ride of "NR_BOARD_IRQS" instead?

What do you mean by "get ride of "NR_BOARD_IRQS"".
Remove "NR_BOARD_IRQS" and the whole functionality behind of it completely or just replace "NR_BOARD_IRQS" by a more meaningful name?

Dave

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