Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 2010 20:33:39 +0000 (UTC)
From:      Rafal Jaworowski <raj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r209905 - head/sys/dev/fdt
Message-ID:  <201007112033.o6BKXdej083254@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: raj
Date: Sun Jul 11 20:33:39 2010
New Revision: 209905
URL: http://svn.freebsd.org/changeset/base/209905

Log:
  Save fdtbus trigger / polarity data at their correct index.

Modified:
  head/sys/dev/fdt/fdt_common.c

Modified: head/sys/dev/fdt/fdt_common.c
==============================================================================
--- head/sys/dev/fdt/fdt_common.c	Sun Jul 11 20:30:59 2010	(r209904)
+++ head/sys/dev/fdt/fdt_common.c	Sun Jul 11 20:33:39 2010	(r209905)
@@ -529,8 +529,8 @@ fdt_intr_to_rl(phandle_t node, struct re
 		debugf("decoded intr = %d, trig = %d, pol = %d\n", interrupt,
 		    trig, pol);
 
-		intr_sl[intr_num].trig = trig;
-		intr_sl[intr_num].pol = pol;
+		intr_sl[i].trig = trig;
+		intr_sl[i].pol = pol;
 
 		resource_list_add(rl, SYS_RES_IRQ, i, interrupt, interrupt, 1);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007112033.o6BKXdej083254>