diff packages/io/eth/current/src/net/eth_drv.c @ 1457:9bf998a57d30

Handle changes in FLASH CFG API
author gthomas
date Mon, 05 Jan 2004 21:58:16 +0000
parents 83f799d5b41a
children
line wrap: on
line diff
--- a/packages/io/eth/current/src/net/eth_drv.c
+++ b/packages/io/eth/current/src/net/eth_drv.c
@@ -292,11 +292,11 @@ simulate_fail_corrupt_sglist( struct eth
         int i;                                                                          \
         if ( CYGACC_CALL_IF_FLASH_CFG_OP( CYGNUM_CALL_IF_FLASH_CFG_GET,                 \
                                           "info_console_force", &i,                     \
-                                          CYGNUM_FLASH_CFG_OP_CONFIG_BOOL ) ) {         \
+                                          CYGNUM_FLASH_CFG_TYPE_CONFIG_BOOL ) ) {       \
             if ( i ) {                                                                  \
                 if ( CYGACC_CALL_IF_FLASH_CFG_OP( CYGNUM_CALL_IF_FLASH_CFG_GET,         \
                                                   "info_console_number", &i,            \
-                                                  CYGNUM_FLASH_CFG_OP_CONFIG_INT ) ) {  \
+                                                  CYGNUM_FLASH_CFG_TYPE_CONFIG_INT ) ){ \
                     /* Then i is the console to force it to: */                         \
                     CYGACC_CALL_IF_SET_CONSOLE_COMM( i );                               \
                 }                                                                       \