PDP11, VAX: Cause all VH lines to drop DTR on a master or bus reset
As mentioned in #609
This commit is contained in:
parent
949662a7b9
commit
2d35feb973
1 changed files with 8 additions and 5 deletions
|
@ -1588,8 +1588,11 @@ static void vh_init_chan ( int32 vh,
|
|||
lp->lstat &= ~(STAT_MDL | STAT_DHUID | STAT_RI);
|
||||
if (vh_unit[vh].flags & UNIT_MODEDHU)
|
||||
lp->lstat |= STAT_DHUID | 64;
|
||||
if (!(vh_unit[vh].flags & UNIT_MODEM))
|
||||
lp->lstat |= STAT_DSR | STAT_DCD | STAT_CTS;
|
||||
if (!(vh_unit[vh].flags & UNIT_MODEM)) {
|
||||
lp->lstat |= STAT_DSR;
|
||||
if (vh_unit[vh].flags & UNIT_HANGUP)
|
||||
tmxr_set_get_modem_bits (lp->tmln, 0, TMXR_MDM_DTR | TMXR_MDM_RTS, NULL);
|
||||
}
|
||||
lp->tmln->xmte = 1;
|
||||
lp->tmln->rcve = 0;
|
||||
lp->tbuffct = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue