Index: hal/arm/xscale/iq80310/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/iq80310/current/ChangeLog,v retrieving revision 1.8 diff -d -u -r1.8 ChangeLog --- hal/arm/xscale/iq80310/current/ChangeLog 12 Feb 2003 18:43:28 -0000 1.8 +++ hal/arm/xscale/iq80310/current/ChangeLog 16 Sep 2003 15:05:22 -0000 @@ -1,3 +1,8 @@ +2003-09-16 Jani Monoses + + * src/diag/diag.c: Only use ethernet if CYGPKG_IO_ETH_DRIVERS + is enabled. + 2003-02-10 Nick Garnett * misc/redboot_ROMA.ecm: Index: hal/arm/xscale/iq80310/current/src/diag/diag.c =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/iq80310/current/src/diag/diag.c,v retrieving revision 1.3 diff -d -u -r1.3 diag.c --- hal/arm/xscale/iq80310/current/src/diag/diag.c 22 Jan 2003 13:33:13 -0000 1.3 +++ hal/arm/xscale/iq80310/current/src/diag/diag.c 16 Sep 2003 15:05:23 -0000 @@ -53,7 +53,9 @@ //========================================================================== #include +#ifdef CYGPKG_IO_ETH_DRIVERS #include +#endif #include #include #include @@ -86,7 +88,9 @@ if (__chan) CYGACC_COMM_IF_CONTROL(*__chan, __COMMCTL_IRQ_DISABLE); +#ifdef CYGPKG_IO_ETH_DRIVERS HAL_INTERRUPT_MASK(eth_drv_int_vector()); +#endif hdwr_diag(); }