svn commit: r362780 - head/sys/arm64/coresight

Ruslan Bukin br at FreeBSD.org
Mon Jun 29 12:59:10 UTC 2020


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
 };
 


More information about the svn-src-head mailing list