[U-Boot-Users] RTL8139 compilation error

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

This is a PPC's issue, I think.
Does anyone know about this ?
Masami Komiya
Santoso, Yusdi wrote:
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
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users

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
participants (3)
-
Masami Komiya
-
Santoso, Yusdi
-
Wolfgang Denk