- upaddr = (struct device *)ui->ui_addr;
- if ((upaddr->upcs2 & 07) != dn)
- upaddr->upcs2 = dn;
- up_softc[um->um_ctlr].sc_info =
- ubasetup(ui->ui_ubanum, bp, UBA_NEEDBDP|UBA_CANTWAIT);
- /*
- * If drive is not present and on-line, then
- * get rid of this with an error and loop to get
- * rid of the rest of its queued requests.
- * (Then on to any other ready drives.)
- */
- if ((upaddr->upds & (DPR|MOL)) != (DPR|MOL)) {
- printf("!DPR || !MOL, unit %d, ds %o", dn, upaddr->upds);
- if ((upaddr->upds & (DPR|MOL)) != (DPR|MOL)) {
- printf("-- hard\n");
+ upaddr = (struct updevice *)ui->ui_addr;
+ upaddr->upcs2 = dn;
+ if ((upaddr->upds & (UP_DPR|UP_MOL)) != (UP_DPR|UP_MOL)) {
+ printf("up%d not ready", dkunit(bp));
+ if ((upaddr->upds & (UP_DPR|UP_MOL)) != (UP_DPR|UP_MOL)) {
+ printf("\n");