- addr->en_ostat = IEN|GO;
-}
-
-/*
- * Setup for a read
- */
-ensetup(dev)
- dev_t dev;
-{
- register struct endevice *addr;
- register struct uba_device *ui;
- register unsigned ubaddr;
- register int sps;
-COUNT(ENSETUP);
-
- ui = eninfo[ENUNIT(dev)];
- if (ui == 0 || ui->ui_alive == 0) {
- printf("en%d (imp_read): not alive\n", ENUNIT(dev));
- return;
- }
- addr = (struct endevice *)ui->ui_addr;
- addr->en_iba = imp_stat.iaddr;
- addr->en_iwc = -600; /* a little extra to avoid hardware bugs */
- addr->en_istat = IEN|GO;