1
0
mirror of https://github.com/simh/simh.git synced 2026-05-03 06:28:41 +00:00

Created a way for devices to have a description presentation routine and if it is supplied for its output to be visible with a SHOW SYSTEM command. Provided device description routines for devices used in the VAX simulators

This commit is contained in:
Mark Pizzolato
2013-01-25 12:04:25 -08:00
parent bb9f9155f2
commit cbe11147fc
46 changed files with 695 additions and 113 deletions

View File

@@ -127,6 +127,7 @@ void xu_process_receive(CTLR* xu);
void xu_dump_rxring(CTLR* xu);
void xu_dump_txring(CTLR* xu);
t_stat xu_show_filters (FILE* st, UNIT* uptr, int32 val, void* desc);
char *xu_description (DEVICE *dptr);
#define IOLN_XU 010
@@ -224,7 +225,8 @@ DEVICE xu_dev = {
&xu_ex, &xu_dep, &xu_reset,
NULL, &xu_attach, &xu_detach,
&xua_dib, DEV_DISABLE | DEV_DIS | DEV_UBUS | DEV_DEBUG | DEV_ETHER,
0, xu_debug
0, xu_debug, NULL, NULL, NULL, NULL, NULL,
&xu_description
};
#define IOLN_XU 010
@@ -284,7 +286,8 @@ DEVICE xub_dev = {
&xu_ex, &xu_dep, &xu_reset,
NULL, &xu_attach, &xu_detach,
&xub_dib, DEV_DISABLE | DEV_DIS | DEV_UBUS | DEV_DEBUG | DEV_ETHER,
0, xu_debug
0, xu_debug, NULL, NULL, NULL, NULL, NULL,
&xu_description
};
#define XU_MAX_CONTROLLERS 2
@@ -1783,3 +1786,10 @@ void xu_dump_txring (CTLR* xu)
printf (" header[%d]: own:%d, len:%d, address:%08x data:{%04x,%04x,%04x,%04x}\n", i, own, len, addr, txhdr[0], txhdr[1], txhdr[2], txhdr[3]);
}
}
char *xu_description (DEVICE *dptr)
{
return "DEUNA/DELUA Ethernet controller";
}