Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2016 05:15:50 +0000 (UTC)
From:      Wojciech Macek <wma@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r306068 - head/sys/arm64/arm64
Message-ID:  <201609210515.u8L5Fott079426@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wma
Date: Wed Sep 21 05:15:50 2016
New Revision: 306068
URL: https://svnweb.freebsd.org/changeset/base/306068

Log:
  Register GICv3 xref.
  
  This allows other drivers to retrieve interrupt parent node.
  
  Obtained from:         Semihalf
  Submitted by:          Michal Stanek <mst@semihalf.com>
  Sponsored by:          Annapurna Labs
  Reviewed by:           wma, zbb
  Differential Revision: https://reviews.freebsd.org/D7568

Modified:
  head/sys/arm64/arm64/gic_v3_fdt.c

Modified: head/sys/arm64/arm64/gic_v3_fdt.c
==============================================================================
--- head/sys/arm64/arm64/gic_v3_fdt.c	Wed Sep 21 03:10:41 2016	(r306067)
+++ head/sys/arm64/arm64/gic_v3_fdt.c	Wed Sep 21 05:15:50 2016	(r306068)
@@ -145,6 +145,9 @@ gic_v3_fdt_attach(device_t dev)
 		goto error;
 	}
 
+	/* Register xref */
+	OF_device_register_xref(xref, dev);
+
 	if (intr_pic_claim_root(dev, xref, arm_gic_v3_intr, sc,
 	    GIC_LAST_SGI - GIC_FIRST_SGI + 1) != 0) {
 		err = ENXIO;



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