Fix support for multiple RocketPort cards in the same machine by including
the RocketPort unit number in the name of the devices. This means that unit 0 device names will change from ttyR0 .. ttyRf to ttyR00 .. ttyR0f. Reviewed by: phk
This commit is contained in:
parent
9e581686a3
commit
98e8d0cb32
@ -826,7 +826,7 @@ rp_attachcommon(CONTROLLER_T *ctlp, int num_aiops, int num_ports)
|
||||
rp->rp_cts = (ChanStatus & CTS_ACT) != 0;
|
||||
line = (unit << 5) | (aiop << 3) | chan;
|
||||
rp_table(line) = rp;
|
||||
ttycreate(tp, TS_CALLOUT, "R%r", port);
|
||||
ttycreate(tp, TS_CALLOUT, "R%r%r", unit, port);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user