Date: Thu, 5 Nov 2015 22:03:20 +0000 (UTC) From: Olivier Houchard <cognet@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290420 - head/sys/arm/at91 Message-ID: <201511052203.tA5M3KiF047887@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cognet Date: Thu Nov 5 22:03:20 2015 New Revision: 290420 URL: https://svnweb.freebsd.org/changeset/base/290420 Log: Make at91_pmc probe any at91 pmc device we support, not just at91rm9200. MFC after: 1 week Modified: head/sys/arm/at91/at91_pmc.c Modified: head/sys/arm/at91/at91_pmc.c ============================================================================== --- head/sys/arm/at91/at91_pmc.c Thu Nov 5 21:54:35 2015 (r290419) +++ head/sys/arm/at91/at91_pmc.c Thu Nov 5 22:03:20 2015 (r290420) @@ -661,7 +661,10 @@ static int at91_pmc_probe(device_t dev) { #ifdef FDT - if (!ofw_bus_is_compatible(dev, "atmel,at91rm9200-pmc")) + if (!ofw_bus_is_compatible(dev, "atmel,at91rm9200-pmc") && + !ofw_bus_is_compatible(dev, "atmel,at91sam9260-pmc") && + !ofw_bus_is_compatible(dev, "atmel,at91sam9g45-pmc") && + !ofw_bus_is_compatible(dev, "atmel,at91sam9x5-pmc")) return (ENXIO); #endif device_set_desc(dev, "PMC");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511052203.tA5M3KiF047887>