SCCS-vsn: sys/vax/vax/autoconf.c 4.21
-/* autoconf.c 4.20 81/03/03 */
+/* autoconf.c 4.21 81/03/06 */
/*
* Initialize the devices for the current machine.
/*
* Initialize the devices for the current machine.
+#if VAX780
+char nexflt_bits[] = NEXFLT_BITS;
+#endif
+
#if VAX780
int c780();
#endif
#if VAX780
int c780();
#endif
dt = mbd->mbd_dt;
if ((dt & MBDT_SPR) == 0)
continue;
dt = mbd->mbd_dt;
if ((dt & MBDT_SPR) == 0)
continue;
fnd.mi_slave = sn;
mbaconfig(&fnd, dt);
}
} else {
fnd.mi_slave = -1;
fnd.mi_slave = sn;
mbaconfig(&fnd, dt);
}
} else {
fnd.mi_slave = -1;
- mbaconfig(&fnd, dt&MBDT_TYPE);
}
}
mdp->mba_cr = MBAINIT;
}
}
mdp->mba_cr = MBAINIT;
continue;
tp = mi->mi_driver->md_type;
for (mi->mi_type = 0; *tp; tp++, mi->mi_type++)
continue;
tp = mi->mi_driver->md_type;
for (mi->mi_type = 0; *tp; tp++, mi->mi_type++)
+ if (*tp == (type&MBDT_TYPE))
goto found;
continue;
found:
#define match(fld) (ni->fld == mi->fld || mi->fld == '?')
if (!match(mi_slave) || !match(mi_drive) || !match(mi_mbanum))
continue;
goto found;
continue;
found:
#define match(fld) (ni->fld == mi->fld || mi->fld == '?')
if (!match(mi_slave) || !match(mi_drive) || !match(mi_mbanum))
continue;
- printf("%c%d at mba%d drive %d\n",
+ printf("%c%d at mba%d drive %d",
mi->mi_name, mi->mi_unit, ni->mi_mbanum, ni->mi_drive);
mi->mi_name, mi->mi_unit, ni->mi_mbanum, ni->mi_drive);
+ if (type & MBDT_TAP)
+ printf(" slave %d", ni->ni_slave);
+ printf("\n");
mi->mi_alive = 1;
mh = &mba_hd[ni->mi_mbanum];
mi->mi_hd = mh;
mi->mi_alive = 1;
mh = &mba_hd[ni->mi_mbanum];
mi->mi_hd = mh;