Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2020 12:59:09 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r362780 - head/sys/arm64/coresight
Message-ID:  <202006291259.05TCx939007877@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: br
Date: Mon Jun 29 12:59:09 2020
New Revision: 362780
URL: https://svnweb.freebsd.org/changeset/base/362780

Log:
  Coresight: provide device_attach method for FDT bus.
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/arm64/coresight/coresight_funnel_fdt.c
  head/sys/arm64/coresight/coresight_replicator_fdt.c

Modified: head/sys/arm64/coresight/coresight_funnel_fdt.c
==============================================================================
--- head/sys/arm64/coresight/coresight_funnel_fdt.c	Mon Jun 29 10:30:43 2020	(r362779)
+++ head/sys/arm64/coresight/coresight_funnel_fdt.c	Mon Jun 29 12:59:09 2020	(r362780)
@@ -93,6 +93,7 @@ funnel_fdt_attach(device_t dev)
 static device_method_t funnel_fdt_methods[] = {
 	/* Device interface */
 	DEVMETHOD(device_probe,		funnel_fdt_probe),
+	DEVMETHOD(device_attach,	funnel_fdt_attach),
 	DEVMETHOD_END
 };
 

Modified: head/sys/arm64/coresight/coresight_replicator_fdt.c
==============================================================================
--- head/sys/arm64/coresight/coresight_replicator_fdt.c	Mon Jun 29 10:30:43 2020	(r362779)
+++ head/sys/arm64/coresight/coresight_replicator_fdt.c	Mon Jun 29 12:59:09 2020	(r362780)
@@ -68,7 +68,7 @@ replicator_fdt_probe(device_t dev)
 }
 
 static int
-replicator_acpi_attach(device_t dev)
+replicator_fdt_attach(device_t dev)
 {
 	struct replicator_softc *sc;
 
@@ -81,6 +81,7 @@ replicator_acpi_attach(device_t dev)
 static device_method_t replicator_fdt_methods[] = {
 	/* Device interface */
 	DEVMETHOD(device_probe,		replicator_fdt_probe),
+	DEVMETHOD(device_attach,	replicator_fdt_attach),
 	DEVMETHOD_END
 };
 



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