Source-Changes-HG archive

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

[src/netbsd-6]: src/sys/dev/sbus Pull up following revision(s) (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/335fb9c9a345
branches:  netbsd-6
changeset: 774599:335fb9c9a345
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Sep 13 22:22:45 2012 +0000

description:
Pull up following revision(s) (requested by macallan in ticket #550):
        sys/dev/sbus/isp_sbus.c: revision 1.81
set isp_xffree, like the PCI frontend does
now this works again

diffstat:

 sys/dev/sbus/isp_sbus.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r a901799e358e -r 335fb9c9a345 sys/dev/sbus/isp_sbus.c
--- a/sys/dev/sbus/isp_sbus.c   Thu Sep 13 22:20:58 2012 +0000
+++ b/sys/dev/sbus/isp_sbus.c   Thu Sep 13 22:22:45 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_sbus.c,v 1.80 2010/03/26 20:52:01 mjacob Exp $ */
+/* $NetBSD: isp_sbus.c,v 1.80.14.1 2012/09/13 22:22:45 riz Exp $ */
 /*
  * SBus specific probe and attach routines for Qlogic ISP SCSI adapters.
  *
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isp_sbus.c,v 1.80 2010/03/26 20:52:01 mjacob Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isp_sbus.c,v 1.80.14.1 2012/09/13 22:22:45 riz Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -46,6 +46,7 @@
 #include <machine/autoconf.h>
 #include <dev/sbus/sbusvar.h>
 #include <sys/reboot.h>
+#include "opt_isp.h"
 
 static void isp_sbus_reset0(ispsoftc_t *);
 static void isp_sbus_reset1(ispsoftc_t *);
@@ -357,6 +358,7 @@
        for (n = 0; n < isp->isp_maxcmds - 1; n++) {
                isp->isp_xflist[n].cmd = &isp->isp_xflist[n+1];
        }
+       isp->isp_xffree = isp->isp_xflist;
        n = sizeof (bus_dmamap_t) * isp->isp_maxcmds;
        sbc->sbus_dmamap = (bus_dmamap_t *) malloc(n, M_DEVBUF, M_WAITOK);
        if (sbc->sbus_dmamap == NULL) {



Home | Main Index | Thread Index | Old Index