public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] RTL8139 compilation error
@ 2004-10-07  7:14 Santoso, Yusdi
  2004-10-07 14:36 ` Masami Komiya
  2004-10-07 18:20 ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: Santoso, Yusdi @ 2004-10-07  7:14 UTC (permalink / raw)
  To: u-boot

Hi all,

I am currently trying to run u-boot on 8241 based board. I am copying my settings from MUSENKI which is also based on 8241.

The board has on board Realtek8139 based ethernet port, so I enable CONFIG_RTL8139. But during compilation, the following error occur:
rtl8139.c: In function 'rtl8139_probe':
rtl8139.c:253: '_IO_BASE' undeclared (first us in the function) 
...

Basically the out* definitions refused to compile because it is tranlated into _out*( (addr)+_IO_BASE, ... ).
So how do you get this _IO_BASE? Should I define it in the "include/config/<board>.h" ?

The only other board using RTL8139 is TB0229 but I also can't find _IO_BASE definition anywhere.

Thanks, any help is appreciated.



Yusdi

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [U-Boot-Users] RTL8139 compilation error
@ 2004-10-08  1:05 Santoso, Yusdi
  2004-10-08  6:25 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Santoso, Yusdi @ 2004-10-08  1:05 UTC (permalink / raw)
  To: u-boot

What value should I put in then?
Is this the PCI_IO_BASE? Or 0x0000 ?
Hm...I'm not so familiar with PPC, does it have separate IO and Mem instruction like in x86 or the same address as in MC68000?

Thanks,

Yusdi

-----Original Message-----
From: wd@denx.de [mailto:wd at denx.de]
Sent: Friday, October 08, 2004 2:20 AM
To: Santoso, Yusdi
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] RTL8139 compilation error 


In message <16808BEAD68708489AE865F48D8793890301D4@AMSE2K02.adaptec.com> you wrote:
> 
> So how do you get this _IO_BASE? Should I define it in the
> "include/config/<board>.h" ?

Yes.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
One of the advantages of being a captain is being able to ask for ad-
vice without necessarily having to take it.
	-- Kirk, "Dagger of the Mind", stardate 2715.2

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

end of thread, other threads:[~2004-10-08  6:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-07  7:14 [U-Boot-Users] RTL8139 compilation error Santoso, Yusdi
2004-10-07 14:36 ` Masami Komiya
2004-10-07 18:20 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2004-10-08  1:05 Santoso, Yusdi
2004-10-08  6:25 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox