SCCS-vsn: sys/hp300/dev/nhpib.c 7.8
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)nhpib.c 7.7 (Berkeley) %G%
+ * @(#)nhpib.c 7.8 (Berkeley) %G%
{
register struct hpib_softc *hs;
register int unit;
{
register struct hpib_softc *hs;
register int unit;
unit = (int)arg;
hs = &hpib_softc[unit];
if ((hs->sc_flags & HPIBF_PPOLL) == 0)
return;
unit = (int)arg;
hs = &hpib_softc[unit];
if ((hs->sc_flags & HPIBF_PPOLL) == 0)
return;
if (nhpibppoll(unit) & (0x80 >> hs->sc_sq.dq_forw->dq_slave))
((struct nhpibdevice *)hs->sc_hc->hp_addr)->hpib_mim = MIS_BO;
if (nhpibppoll(unit) & (0x80 >> hs->sc_sq.dq_forw->dq_slave))
((struct nhpibdevice *)hs->sc_hc->hp_addr)->hpib_mim = MIS_BO;
+ else if (cold)
+ /* timeouts not working yet */
+ goto again;
else
timeout(nhpibppwatch, (void *)unit, 1);
}
else
timeout(nhpibppwatch, (void *)unit, 1);
}