/* 512+ is a kludge to try to get around a hardware problem */
dh_ubinfo[ui->ui_ubanum] =
uballoc(ui->ui_ubanum, (caddr_t)cfree,
/* 512+ is a kludge to try to get around a hardware problem */
dh_ubinfo[ui->ui_ubanum] =
uballoc(ui->ui_ubanum, (caddr_t)cfree,
register struct dhdevice *addr;
register struct tty *tp0;
register struct uba_dinfo *ui;
register struct dhdevice *addr;
register struct tty *tp0;
register struct uba_dinfo *ui;
addr = (struct dhdevice *)ui->ui_addr;
if (addr->un.dhcsr & DH_NXM) {
addr->un.dhcsr |= DH_CNI;
addr = (struct dhdevice *)ui->ui_addr;
if (addr->un.dhcsr & DH_NXM) {
addr->un.dhcsr |= DH_CNI;
ubarelse(uban, &dh_ubinfo[uban]);
dh_ubinfo[uban] = uballoc(uban, (caddr_t)cfree,
ubarelse(uban, &dh_ubinfo[uban]);
dh_ubinfo[uban] = uballoc(uban, (caddr_t)cfree,
cbase[uban] = dh_ubinfo[uban]&0x3ffff;
dh = 0;
for (dh = 0; dh < NDH; dh++) {
ui = dhinfo[dh];
if (ui == 0 || ui->ui_alive == 0 || ui->ui_ubanum != uban)
continue;
cbase[uban] = dh_ubinfo[uban]&0x3ffff;
dh = 0;
for (dh = 0; dh < NDH; dh++) {
ui = dhinfo[dh];
if (ui == 0 || ui->ui_alive == 0 || ui->ui_ubanum != uban)
continue;