linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Various patches against linuxppc_dev-2.4.14-pre7
@ 2001-11-02 15:49 David Müller (ELSOFT AG)
  2001-11-02 16:20 ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: David Müller (ELSOFT AG) @ 2001-11-02 15:49 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 599 bytes --]

Hello

The attached patch fixes the following issues:

   - include/asm-ppc/ibm4xx.h
      missing include file  (I'm not sure if this is the correct fix)

   - drivers/net/ppc405_enet.h
      missing include file  (ditto)

   - arch/ppc/kernel/ppc4xx_setup.c
      added call to board_setup_irq() in ppc4xx_init_IRQ()
      added call to board_setup_rtc_access() in platform_init()

   - arch/ppc/kernel/walnut.c
   - arch/ppc/kernel/redwood.c
   - arch/ppc/kernel/cpci405.c
   - arch/ppc/kernel/ep405.c
      added necessary board_setup_irq() and
      board_setup_rtc_access() functions



Dave


[-- Attachment #2: various_patches.bz2 --]
[-- Type: application/octet-stream, Size: 1256 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Various patches against linuxppc_dev-2.4.14-pre7
  2001-11-02 15:49 [PATCH] Various patches against linuxppc_dev-2.4.14-pre7 David Müller (ELSOFT AG)
@ 2001-11-02 16:20 ` Tom Rini
  2001-11-03  8:19   ` David Müller (ELSOFT AG)
  2001-11-05 17:05   ` Dan Malek
  0 siblings, 2 replies; 4+ messages in thread
From: Tom Rini @ 2001-11-02 16:20 UTC (permalink / raw)
  To: David M?ller (ELSOFT AG); +Cc: linuxppc-embedded


On Fri, Nov 02, 2001 at 04:49:57PM +0100, David M?ller (ELSOFT AG) wrote:

>   - include/asm-ppc/ibm4xx.h
>      missing include file  (I'm not sure if this is the correct fix)
>
>   - drivers/net/ppc405_enet.h
>      missing include file  (ditto)

What's broken right now?  <asm/ibm405gp.h> gets included by CONFIG_FOO,
if FOO is a 405GP board.


>   - arch/ppc/kernel/ppc4xx_setup.c
>      added call to board_setup_irq() in ppc4xx_init_IRQ()
>      added call to board_setup_rtc_access() in platform_init()
>
>   - arch/ppc/kernel/walnut.c
>   - arch/ppc/kernel/redwood.c
>   - arch/ppc/kernel/cpci405.c
>   - arch/ppc/kernel/ep405.c
>      added necessary board_setup_irq() and
>      board_setup_rtc_access() functions

Shouldn't board_setup_rtc_access() do all of the RTC stuff, not just
changing the nvram bits?  If your board needs a different way to get
nvram access, we should rename board_setup_rtc_access() to
board_setup_nvram_access()

--
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] 4+ messages in thread

* Re: [PATCH] Various patches against linuxppc_dev-2.4.14-pre7
  2001-11-02 16:20 ` Tom Rini
@ 2001-11-03  8:19   ` David Müller (ELSOFT AG)
  2001-11-05 17:05   ` Dan Malek
  1 sibling, 0 replies; 4+ messages in thread
From: David Müller (ELSOFT AG) @ 2001-11-03  8:19 UTC (permalink / raw)
  To: Tom Rini; +Cc: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]

Tom Rini wrote:

> On Fri, Nov 02, 2001 at 04:49:57PM +0100, David M?ller (ELSOFT AG) wrote:
>
>
>>  - include/asm-ppc/ibm4xx.h
>>     missing include file  (I'm not sure if this is the correct fix)
>>
>>  - drivers/net/ppc405_enet.h
>>     missing include file  (ditto)
>>
>
> What's broken right now?  <asm/ibm405gp.h> gets included by CONFIG_FOO,
> if FOO is a 405GP board.


Sorry, my fault. I was a little bit too fast. ;-)


>
>
>
>>  - arch/ppc/kernel/ppc4xx_setup.c
>>     added call to board_setup_irq() in ppc4xx_init_IRQ()
>>     added call to board_setup_rtc_access() in platform_init()
>>
>>  - arch/ppc/kernel/walnut.c
>>  - arch/ppc/kernel/redwood.c
>>  - arch/ppc/kernel/cpci405.c
>>  - arch/ppc/kernel/ep405.c
>>     added necessary board_setup_irq() and
>>     board_setup_rtc_access() functions
>>
>
> Shouldn't board_setup_rtc_access() do all of the RTC stuff, not just
> changing the nvram bits?  If your board needs a different way to get
> nvram access, we should rename board_setup_rtc_access() to
> board_setup_nvram_access()
>
>

See attached patch


Dave

[-- Attachment #2: nvram_access.patch.bz2 --]
[-- Type: application/octet-stream, Size: 1046 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Various patches against linuxppc_dev-2.4.14-pre7
  2001-11-02 16:20 ` Tom Rini
  2001-11-03  8:19   ` David Müller (ELSOFT AG)
@ 2001-11-05 17:05   ` Dan Malek
  1 sibling, 0 replies; 4+ messages in thread
From: Dan Malek @ 2001-11-05 17:05 UTC (permalink / raw)
  To: Tom Rini; +Cc: David M?ller (ELSOFT AG), linuxppc-embedded


Tom Rini wrote:


> Shouldn't board_setup_rtc_access() do all of the RTC stuff,

Please try to coordinate your RTC stuff with Armin.  I don't have
enough knowledge of the details to discuss this, and it appears there
is a very standard way of working with the RTC, which is board
specific.


	-- Dan


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-11-05 17:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-02 15:49 [PATCH] Various patches against linuxppc_dev-2.4.14-pre7 David Müller (ELSOFT AG)
2001-11-02 16:20 ` Tom Rini
2001-11-03  8:19   ` David Müller (ELSOFT AG)
2001-11-05 17:05   ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).