- full = vsetq(vs, port, cp, n);
- /*
- * If the port is not currently active, try to
- * send the data. We send it immediately if the
- * command buffer is full, or if we've nothing
- * currently outstanding. If we don't send it,
- * set a timeout to force the data to be sent soon.
- */
- if ((vs->vs_active & (1 << (port-vs->vs_loport))) == 0)
- if (full || vs->vs_xmtcnt == 0) {
- cp = (char *)&nextcmd(vs)->cmd;
- vs->vs_xmtcnt++;
- vcmd(vs->vs_nbr, cp);
- } else
- timeout(vxforce, (caddr_t)vs, 3);
+ vsetq(vs, port, (char *)tp->t_outq.c_cf, n);