added my responsibility for the `cpm' port
[unix-history] / sys / i386 / isa / ultra14f.c
index d1bfc1d..c184904 100644 (file)
@@ -19,7 +19,7 @@
  * commenced: Sun Sep 27 18:14:01 PDT 1992
  * slight mod to make work with 34F as well: Wed Jun  2 18:05:48 WST 1993
  *
  * commenced: Sun Sep 27 18:14:01 PDT 1992
  * slight mod to make work with 34F as well: Wed Jun  2 18:05:48 WST 1993
  *
- *      $Id: ultra14f.c,v 1.14 1993/12/19 00:50:46 wollman Exp $
+ *      $Id: ultra14f.c,v 1.16 1994/03/20 00:30:04 wollman Exp $
  */
 
 #include <sys/types.h>
  */
 
 #include <sys/types.h>
@@ -465,6 +465,7 @@ uha_attach(dev)
        uha->sc_link.adapter_targ = uha->our_id;
        uha->sc_link.adapter = &uha_switch;
        uha->sc_link.device = &uha_dev;
        uha->sc_link.adapter_targ = uha->our_id;
        uha->sc_link.adapter = &uha_switch;
        uha->sc_link.device = &uha_dev;
+       uha->sc_link.flags = SDEV_BOUNCE;
 
        /*
         * ask the adapter what subunits are present
 
        /*
         * ask the adapter what subunits are present
@@ -675,7 +676,8 @@ uha_get_mscp(unit, flags)
                        goto gottit;
                } else {
                        if (!(flags & SCSI_NOSLEEP)) {
                        goto gottit;
                } else {
                        if (!(flags & SCSI_NOSLEEP)) {
-                               sleep(&uha->free_mscp, PRIBIO);
+                               tsleep((caddr_t)&uha->free_mscp, PRIBIO,
+                                      "uhamscp", 0);
                        }
                }
        }
                        }
                }
        }