This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: if_dp83902a.c problem
At 02 Jun 2002 07:20:41 -0600,
Gary Thomas wrote:
>
> On Sun, 2002-06-02 at 07:08, Yoshinori Sato wrote:
> > If if_dp83902a.c is used, it will become the error of
> > "unresolved symbol CYGACC_CALL_IF_DELAY_US" in the stage of a link.
> > Since hal_if.h is not include.
> >
> > --- if_dp83902a.c.old Sun Jun 2 21:49:38 2002
> > +++ if_dp83902a.c Sun Jun 2 21:40:50 2002
> > @@ -67,6 +67,7 @@
> > #include <pkgconf/system.h>
> > #include <cyg/infra/cyg_type.h>
> > #include <cyg/hal/hal_arch.h>
> > +#include <cyg/hal/hal_if.h>
> > #include <cyg/infra/diag.h>
> > #include <cyg/hal/drv_api.h>
> > #include <cyg/io/eth/eth_drv.h>
>
> Yes, if would be alright to add this, but it is already [typically]
> included in the platform specific file used to instantiate this driver.
> For example, in the file .../devs/eth/cf/current/include/devs_eth_cf.inl
Used target is aki3068net.
Problem fixed this patch.
--- devs_eth_h8300_aki3068net.inl.old Sun Jun 2 00:21:41 2002
+++ devs_eth_h8300_aki3068net.inl Sun Jun 2 22:33:12 2002
@@ -48,7 +48,7 @@
//==========================================================================
#include <cyg/hal/hal_intr.h> // CYGNUM_HAL_INTERRUPT_ETHR
-
+#include <cyg/hal/hal_if.h>
#define CYGHWR_NS_DP83902A_PLF_INIT ns_dp83902a_plf_init
--
Yoshinori Sato
<qzb04471@nifty.ne.jp>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss