This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: if_dp83902a.c problem
- From: Gary Thomas <gary at chez-thomas dot org>
- To: Yoshinori Sato <qzb04471 at nifty dot ne dot jp>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 02 Jun 2002 07:20:41 -0600
- Subject: Re: [ECOS] if_dp83902a.c problem
- References: <m2lm9xde0a.wl@np70.localdomain.ysato.2y.net>
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
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss