ETHER: Minor adjustments for building on the simh 3.x codebase
This commit is contained in:
parent
b76fd3ed44
commit
565596a5af
2 changed files with 6 additions and 1 deletions
|
@ -3840,7 +3840,7 @@ else
|
||||||
/* test reflections. This is done early in this routine since eth_reflect */
|
/* test reflections. This is done early in this routine since eth_reflect */
|
||||||
/* calls eth_filter recursively and thus changes the state of the device. */
|
/* calls eth_filter recursively and thus changes the state of the device. */
|
||||||
if (dev->reflections == -1)
|
if (dev->reflections == -1)
|
||||||
eth_reflect(dev);
|
status = eth_reflect(dev);
|
||||||
|
|
||||||
/* set new filter addresses */
|
/* set new filter addresses */
|
||||||
for (i = 0; i < addr_count; i++)
|
for (i = 0; i < addr_count; i++)
|
||||||
|
|
|
@ -381,6 +381,11 @@ t_stat ethq_destroy(ETH_QUE* que); /* release FIFO queue */
|
||||||
const char *eth_capabilities(void);
|
const char *eth_capabilities(void);
|
||||||
t_stat sim_ether_test (DEVICE *dptr); /* unit test routine */
|
t_stat sim_ether_test (DEVICE *dptr); /* unit test routine */
|
||||||
|
|
||||||
|
#if !defined(SIM_TEST_INIT) /* Need stubs for test APIs */
|
||||||
|
#define SIM_TEST_INIT
|
||||||
|
#define SIM_TEST(xxx)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue