* [PATCH] Several patches agains linuxppc_devel-2.4.19-pre8
@ 2002-05-15 11:35 "David Müller (ELSOFT AG)"
2002-05-15 15:52 ` Tom Rini
2002-05-17 12:59 ` "David Müller (ELSOFT AG)"
0 siblings, 2 replies; 6+ messages in thread
From: "David Müller (ELSOFT AG)" @ 2002-05-15 11:35 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 988 bytes --]
Hello
The attached patch fixes the following issues:
- arch/ppc/kernel/ocp.c
wrong comment and export of ocp_get_max() for module support.
- arch/ppc/kernel/ocp_proc.c
compiler warnings fixed in various seq_printf().
i don't know if this also works correctly on PPC440
with its 36-bit phys_addr_t?
- arch/ppc/kernel/ocp_uart.c
various fixes to opc_uart_init().
initialize curr_uart, free previously allocated driver
object and fix return value.
- arch/ppc/kernel/ppc4xx_setup
missing early_uart_init() prototype.
- drivers/char/ibm_ocp_gpio.c
stop modprobe complaining about tainted kernel ("GPL license").
initialize curr_gpio and fix return value.
- drivers/i2c/i2c-adap-ibm_ocp.c
fixed call to ocp_get_max().
initialize curr_iic.
remove module parameters "base" and "irq".
- drivers/i2c/i2c-algo-ibm_ocp.c
remove module paramter "iic_test".
Dave
[-- Attachment #2: patch.bz2 --]
[-- Type: application/octet-stream, Size: 2295 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Several patches agains linuxppc_devel-2.4.19-pre8
2002-05-15 11:35 [PATCH] Several patches agains linuxppc_devel-2.4.19-pre8 "David Müller (ELSOFT AG)"
@ 2002-05-15 15:52 ` Tom Rini
2002-05-16 9:26 ` "David Müller (ELSOFT AG)"
2002-05-17 12:59 ` "David Müller (ELSOFT AG)"
1 sibling, 1 reply; 6+ messages in thread
From: Tom Rini @ 2002-05-15 15:52 UTC (permalink / raw)
To: David M?ller (ELSOFT AG); +Cc: linuxppc-embedded
On Wed, May 15, 2002 at 01:35:55PM +0200, "David M?ller (ELSOFT AG)" wrote:
> The attached patch fixes the following issues:
Looks good, except:
Don't #ifdef externs, if they aren't used it's OK.
Since this code only has to work in recent'ish kernels (in reality only
'current' kernels) don't bother with the
#ifdef MODULE_LICENSE
...
#endif
Just use it.
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Several patches agains linuxppc_devel-2.4.19-pre8
2002-05-15 15:52 ` Tom Rini
@ 2002-05-16 9:26 ` "David Müller (ELSOFT AG)"
2002-05-16 13:56 ` Tom Rini
0 siblings, 1 reply; 6+ messages in thread
From: "David Müller (ELSOFT AG)" @ 2002-05-16 9:26 UTC (permalink / raw)
To: Tom Rini; +Cc: linuxppc-embedded
Tom Rini schrieb:
> On Wed, May 15, 2002 at 01:35:55PM +0200, "David M?ller (ELSOFT AG)" wrote:
>
>
>>The attached patch fixes the following issues:
>
>
> Looks good, except:
> Don't #ifdef externs, if they aren't used it's OK.
> Since this code only has to work in recent'ish kernels (in reality only
> 'current' kernels) don't bother with the
> #ifdef MODULE_LICENSE
> ...
> #endif
>
> Just use it.
>
I have copied the MODULE_LICENSE stuff from another driver.
Does anybody knows if this feature is tagged to be a remove candiate in
future kernels and/or in the modutils?
Another question:
I've noticed that (at least) the following files have their executable
bit set, although they are simple C source files.
./include/asm-ppc/ppc405_dma.h
./arch/ppc/kernel/ppc405_dma.c
./arch/ppc/kernel/ppc405_pci.c
./arch/ppc/kernel/ppc4xx_setup.c
./arch/ppc/platforms/walnut.c
./arch/ppc/platforms/cpc700_pic.c
On the other hand, the PPCBoot kernel packer script in
./arch/ppc/boot/utils/mkimage.wrapper have the exec bit cleared.
Is it a bit task to fix this?
Dave
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Several patches agains linuxppc_devel-2.4.19-pre8
2002-05-16 9:26 ` "David Müller (ELSOFT AG)"
@ 2002-05-16 13:56 ` Tom Rini
2002-05-17 6:31 ` "David Müller (ELSOFT AG)"
0 siblings, 1 reply; 6+ messages in thread
From: Tom Rini @ 2002-05-16 13:56 UTC (permalink / raw)
To: David M?ller (ELSOFT AG); +Cc: linuxppc-embedded
On Thu, May 16, 2002 at 11:26:33AM +0200, "David M?ller (ELSOFT AG)" wrote:
> Tom Rini schrieb:
> >On Wed, May 15, 2002 at 01:35:55PM +0200, "David M?ller (ELSOFT AG)" wrote:
> >
> >
> >>The attached patch fixes the following issues:
> >
> >
> >Looks good, except:
> >Don't #ifdef externs, if they aren't used it's OK.
> >Since this code only has to work in recent'ish kernels (in reality only
> >'current' kernels) don't bother with the
> >#ifdef MODULE_LICENSE
> >...
> >#endif
> >
> >Just use it.
> >
>
> I have copied the MODULE_LICENSE stuff from another driver.
> Does anybody knows if this feature is tagged to be a remove candidate in
> future kernels and/or in the modutils?
Unfortunately, no. I think other drivers do it for backwards
compatibility, which we don't have to worry about.
> Another question:
>
> I've noticed that (at least) the following files have their executable
> bit set, although they are simple C source files.
> ./include/asm-ppc/ppc405_dma.h
> ./arch/ppc/kernel/ppc405_dma.c
> ./arch/ppc/kernel/ppc405_pci.c
> ./arch/ppc/kernel/ppc4xx_setup.c
> ./arch/ppc/platforms/walnut.c
> ./arch/ppc/platforms/cpc700_pic.c
>
> On the other hand, the PPCBoot kernel packer script in
> ./arch/ppc/boot/utils/mkimage.wrapper have the exec bit cleared.
>
> Is it a bit task to fix this?
I assume you ment big. And no, I've just fixed these. Thanks.
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Several patches agains linuxppc_devel-2.4.19-pre8
2002-05-16 13:56 ` Tom Rini
@ 2002-05-17 6:31 ` "David Müller (ELSOFT AG)"
0 siblings, 0 replies; 6+ messages in thread
From: "David Müller (ELSOFT AG)" @ 2002-05-17 6:31 UTC (permalink / raw)
To: Tom Rini; +Cc: linuxppc-embedded
Tom Rini schrieb:
> On Thu, May 16, 2002 at 11:26:33AM +0200, "David M?ller (ELSOFT AG)" wrote:
>
[old stuff deleted]
>>Another question:
>>
>>I've noticed that (at least) the following files have their executable
>>bit set, although they are simple C source files.
>>./include/asm-ppc/ppc405_dma.h
>>./arch/ppc/kernel/ppc405_dma.c
>>./arch/ppc/kernel/ppc405_pci.c
>>./arch/ppc/kernel/ppc4xx_setup.c
>>./arch/ppc/platforms/walnut.c
>>./arch/ppc/platforms/cpc700_pic.c
>>
>>On the other hand, the PPCBoot kernel packer script in
>>./arch/ppc/boot/utils/mkimage.wrapper have the exec bit cleared.
>>
>>Is it a bit task to fix this?
>
>
> I assume you ment big. And no, I've just fixed these. Thanks.
>
Yes, of course. Here's the list of exec bit set files for 2.5.15:
./arch/ppc/kernel/ppc405_dma.c
./arch/ppc/kernel/ppc405_pci.c
./arch/ppc/kernel/ppc4xx_serial.c
./arch/ppc/kernel/ppc4xx_setup.c
./arch/ppc/platforms/walnut.c
./include/asm-ppc/ppc405_dma.h
Dave
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Several patches agains linuxppc_devel-2.4.19-pre8
2002-05-15 11:35 [PATCH] Several patches agains linuxppc_devel-2.4.19-pre8 "David Müller (ELSOFT AG)"
2002-05-15 15:52 ` Tom Rini
@ 2002-05-17 12:59 ` "David Müller (ELSOFT AG)"
1 sibling, 0 replies; 6+ messages in thread
From: "David Müller (ELSOFT AG)" @ 2002-05-17 12:59 UTC (permalink / raw)
To: Tom Rini; +Cc: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 288 bytes --]
Hello
Two new patches:
- arch/ppc/kernel/ocp.c
add default case in ocp_unregister().
GCC 3.1 is not happy without it ;-)
- drivers/net/ibm_ocp/ibm_ocp_debug.c
ibm_ocp_debug.c seems not to be updated by the latest 4xx ethernet
driver patches.
Dave
[-- Attachment #2: patch.bz2 --]
[-- Type: application/octet-stream, Size: 1637 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-05-17 12:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-15 11:35 [PATCH] Several patches agains linuxppc_devel-2.4.19-pre8 "David Müller (ELSOFT AG)"
2002-05-15 15:52 ` Tom Rini
2002-05-16 9:26 ` "David Müller (ELSOFT AG)"
2002-05-16 13:56 ` Tom Rini
2002-05-17 6:31 ` "David Müller (ELSOFT AG)"
2002-05-17 12:59 ` "David Müller (ELSOFT AG)"
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.