KA10: Added default disable for devices that could be on KL10.
This commit is contained in:
parent
264ca2ef6b
commit
46a5532404
5 changed files with 50 additions and 10 deletions
|
@ -38,6 +38,14 @@
|
||||||
|
|
||||||
#define CP_DEVNUM 0110
|
#define CP_DEVNUM 0110
|
||||||
|
|
||||||
|
#if KL
|
||||||
|
#define CP_DIS DEV_DIS
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef CP_DIS
|
||||||
|
#define CP_DIS 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* std devices. data structures
|
/* std devices. data structures
|
||||||
|
|
||||||
|
@ -115,7 +123,7 @@ DEVICE cp_dev = {
|
||||||
"CP", &cp_unit, cp_reg, cp_mod,
|
"CP", &cp_unit, cp_reg, cp_mod,
|
||||||
NUM_DEVS_CP, 8, 15, 1, 8, 8,
|
NUM_DEVS_CP, 8, 15, 1, 8, 8,
|
||||||
NULL, NULL, NULL, NULL, &cp_attach, &cp_detach,
|
NULL, NULL, NULL, NULL, &cp_attach, &cp_detach,
|
||||||
&cp_dib, DEV_DISABLE | DEV_DEBUG | DEV_CARD, 0, crd_debug,
|
&cp_dib, DEV_DISABLE | DEV_DEBUG | DEV_CARD | CP_DIS, 0, crd_debug,
|
||||||
NULL, NULL, &cp_help, NULL, NULL, &cp_description
|
NULL, NULL, &cp_help, NULL, NULL, &cp_description
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,14 @@
|
||||||
|
|
||||||
#define CR_DEVNUM 0150
|
#define CR_DEVNUM 0150
|
||||||
|
|
||||||
|
#if KL
|
||||||
|
#define CR_DIS DEV_DIS
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef CR_DIS
|
||||||
|
#define CR_DIS 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* std devices. data structures
|
/* std devices. data structures
|
||||||
|
|
||||||
|
@ -119,7 +127,7 @@ DEVICE cr_dev = {
|
||||||
"CR", &cr_unit, cr_reg, cr_mod,
|
"CR", &cr_unit, cr_reg, cr_mod,
|
||||||
NUM_DEVS_CR, 8, 15, 1, 8, 8,
|
NUM_DEVS_CR, 8, 15, 1, 8, 8,
|
||||||
NULL, NULL, NULL, NULL, &cr_attach, &cr_detach,
|
NULL, NULL, NULL, NULL, &cr_attach, &cr_detach,
|
||||||
&cr_dib, DEV_DISABLE | DEV_DEBUG | DEV_CARD, 0, crd_debug,
|
&cr_dib, DEV_DISABLE | DEV_DEBUG | DEV_CARD | CR_DIS, 0, crd_debug,
|
||||||
NULL, NULL, &cr_help, NULL, NULL, &cr_description
|
NULL, NULL, &cr_help, NULL, NULL, &cr_description
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,14 @@
|
||||||
|
|
||||||
#if (NUM_DEVS_DC > 0)
|
#if (NUM_DEVS_DC > 0)
|
||||||
|
|
||||||
|
#if KL
|
||||||
|
#define DC_DIS DEV_DIS
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef DC_DIS
|
||||||
|
#define DC_DIS 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#define DC_DEVNUM 0240
|
#define DC_DEVNUM 0240
|
||||||
|
|
||||||
#define DC10_LINES 8
|
#define DC10_LINES 8
|
||||||
|
@ -147,7 +155,7 @@ DEVICE dc_dev = {
|
||||||
1, 10, 31, 1, 8, 8,
|
1, 10, 31, 1, 8, 8,
|
||||||
&tmxr_ex, &tmxr_dep, &dc_reset,
|
&tmxr_ex, &tmxr_dep, &dc_reset,
|
||||||
NULL, &dc_attach, &dc_detach,
|
NULL, &dc_attach, &dc_detach,
|
||||||
&dc_dib, DEV_MUX | DEV_DISABLE | DEV_DEBUG, 0, dev_debug,
|
&dc_dib, DEV_MUX | DEV_DISABLE | DEV_DEBUG | DC_DIS, 0, dev_debug,
|
||||||
NULL, NULL, &dc_help, NULL, NULL, &dc_description
|
NULL, NULL, &dc_help, NULL, NULL, &dc_description
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,14 @@
|
||||||
|
|
||||||
#if (NUM_DEVS_LP > 0)
|
#if (NUM_DEVS_LP > 0)
|
||||||
|
|
||||||
|
#if KL
|
||||||
|
#define LP_DIS DEV_DIS
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef LP_DIS
|
||||||
|
#define LP_DIS 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#define LP_DEVNUM 0124
|
#define LP_DEVNUM 0124
|
||||||
#define STATUS u3
|
#define STATUS u3
|
||||||
#define COL u4
|
#define COL u4
|
||||||
|
@ -90,8 +98,8 @@ UNIT lpt_unit = {
|
||||||
};
|
};
|
||||||
|
|
||||||
REG lpt_reg[] = {
|
REG lpt_reg[] = {
|
||||||
{ DRDATA (STATUS, lpt_unit.STATUS, 18), PV_LEFT | REG_UNIT },
|
{ URDATA (STATUS, lpt_unit.STATUS, 8, 18, 0, 1, PV_LEFT) },
|
||||||
{ DRDATA (TIME, lpt_unit.wait, 24), PV_LEFT | REG_UNIT },
|
{ URDATA (TIME, lpt_unit.wait, 10, 24, 0, 1, PV_LEFT) },
|
||||||
{ BRDATA(BUFF, lpt_buffer, 16, 8, sizeof(lpt_buffer)), REG_HRO},
|
{ BRDATA(BUFF, lpt_buffer, 16, 8, sizeof(lpt_buffer)), REG_HRO},
|
||||||
{ BRDATA(CBUFF, lpt_chbuf, 16, 8, sizeof(lpt_chbuf)), REG_HRO},
|
{ BRDATA(CBUFF, lpt_chbuf, 16, 8, sizeof(lpt_chbuf)), REG_HRO},
|
||||||
{ NULL }
|
{ NULL }
|
||||||
|
@ -114,7 +122,7 @@ DEVICE lpt_dev = {
|
||||||
1, 10, 31, 1, 8, 8,
|
1, 10, 31, 1, 8, 8,
|
||||||
NULL, NULL, &lpt_reset,
|
NULL, NULL, &lpt_reset,
|
||||||
NULL, &lpt_attach, &lpt_detach,
|
NULL, &lpt_attach, &lpt_detach,
|
||||||
&lpt_dib, DEV_DISABLE | DEV_DEBUG, 0, dev_debug,
|
&lpt_dib, DEV_DISABLE | DEV_DEBUG | LP_DIS, 0, dev_debug,
|
||||||
NULL, NULL, &lpt_help, NULL, NULL, &lpt_description
|
NULL, NULL, &lpt_help, NULL, NULL, &lpt_description
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,14 @@
|
||||||
|
|
||||||
#if (NUM_DEVS_PT > 0)
|
#if (NUM_DEVS_PT > 0)
|
||||||
|
|
||||||
|
#if KL
|
||||||
|
#define PT_DIS DEV_DIS
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef PT_DIS
|
||||||
|
#define PT_DIS 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#define PP_DEVNUM 0100
|
#define PP_DEVNUM 0100
|
||||||
#define PR_DEVNUM 0104
|
#define PR_DEVNUM 0104
|
||||||
#define STATUS u3
|
#define STATUS u3
|
||||||
|
@ -77,8 +85,8 @@ UNIT ptp_unit = {
|
||||||
};
|
};
|
||||||
|
|
||||||
REG ptp_reg[] = {
|
REG ptp_reg[] = {
|
||||||
{ DRDATA (STATUS, ptp_unit.STATUS, 18), PV_LEFT | REG_UNIT},
|
{ URDATA (STATUS, ptp_unit.STATUS, 8, 18, 0, 1, PV_LEFT) },
|
||||||
{ DRDATA (TIME, ptp_unit.wait, 24), PV_LEFT | REG_UNIT},
|
{ URDATA (TIME, ptp_unit.wait, 10, 24, 0, 1, PV_LEFT) },
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -90,7 +98,7 @@ DEVICE ptp_dev = {
|
||||||
"PTP", &ptp_unit, ptp_reg, ptp_mod,
|
"PTP", &ptp_unit, ptp_reg, ptp_mod,
|
||||||
1, 10, 31, 1, 8, 8,
|
1, 10, 31, 1, 8, 8,
|
||||||
NULL, NULL, &ptp_reset, NULL, &ptp_attach, &ptp_detach,
|
NULL, NULL, &ptp_reset, NULL, &ptp_attach, &ptp_detach,
|
||||||
&ptp_dib, DEV_DISABLE | DEV_DEBUG, 0, dev_debug,
|
&ptp_dib, DEV_DISABLE | DEV_DEBUG | PT_DIS, 0, dev_debug,
|
||||||
NULL, NULL, &ptp_help, NULL, NULL, &ptp_description
|
NULL, NULL, &ptp_help, NULL, NULL, &ptp_description
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -114,7 +122,7 @@ DEVICE ptr_dev = {
|
||||||
"PTR", &ptr_unit, ptr_reg, ptr_mod,
|
"PTR", &ptr_unit, ptr_reg, ptr_mod,
|
||||||
1, 10, 31, 1, 8, 8,
|
1, 10, 31, 1, 8, 8,
|
||||||
NULL, NULL, &ptr_reset, &ptr_boot, &ptr_attach, &ptr_detach,
|
NULL, NULL, &ptr_reset, &ptr_boot, &ptr_attach, &ptr_detach,
|
||||||
&ptr_dib, DEV_DISABLE | DEV_DEBUG, 0, dev_debug,
|
&ptr_dib, DEV_DISABLE | DEV_DEBUG | PT_DIS, 0, dev_debug,
|
||||||
NULL, NULL, &ptr_help, NULL, NULL, &ptr_description
|
NULL, NULL, &ptr_help, NULL, NULL, &ptr_description
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue