Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/dev/ic Pull up revision 1.57 (requested by lukem fo...



details:   https://anonhg.NetBSD.org/src/rev/917d86d61dba
branches:  netbsd-1-6
changeset: 529060:917d86d61dba
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Sep 01 23:39:46 2002 +0000

description:
Pull up revision 1.57 (requested by lukem for mjacob in ticket #757):
Do not enable interrupt driven mailbox commands for non-FC scsi.

diffstat:

 sys/dev/ic/isp_netbsd.c |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r e46bfc104c10 -r 917d86d61dba sys/dev/ic/isp_netbsd.c
--- a/sys/dev/ic/isp_netbsd.c   Sun Sep 01 14:04:44 2002 +0000
+++ b/sys/dev/ic/isp_netbsd.c   Sun Sep 01 23:39:46 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_netbsd.c,v 1.53 2002/04/04 23:38:46 mjacob Exp $ */
+/* $NetBSD: isp_netbsd.c,v 1.53.4.1 2002/09/01 23:39:46 lukem Exp $ */
 /*
  * This driver, which is contained in NetBSD in the files:
  *
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isp_netbsd.c,v 1.53 2002/04/04 23:38:46 mjacob Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isp_netbsd.c,v 1.53.4.1 2002/09/01 23:39:46 lukem Exp $");
 
 #include <dev/ic/isp_netbsd.h>
 #include <sys/scsiio.h>
@@ -198,10 +198,12 @@
 
        /*
         * After this point, we'll be doing the new configuration
-        * schema which allows interrups, so we can do tsleep/wakeup
-        * for mailbox stuff at that point.
+        * schema which allows interrupts, so we can do tsleep/wakeup
+        * for mailbox stuff at that point, if that's allowed.
         */
-       isp->isp_osinfo.no_mbox_ints = 0;
+       if (IS_FC(isp)) {
+               isp->isp_osinfo.no_mbox_ints = 0;
+       }
 }
 
 



Home | Main Index | Thread Index | Old Index