Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2015 05:02:54 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r283277 - head/sys/arm/at91
Message-ID:  <201505220502.t4M52sCA074937@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri May 22 05:02:53 2015
New Revision: 283277
URL: https://svnweb.freebsd.org/changeset/base/283277

Log:
  Need to handle the !FDT case still too... I thought in r270025 we
  wouldn't need it, but it appears that we still do for the moment...

Modified:
  head/sys/arm/at91/at91_pio.c

Modified: head/sys/arm/at91/at91_pio.c
==============================================================================
--- head/sys/arm/at91/at91_pio.c	Fri May 22 03:16:18 2015	(r283276)
+++ head/sys/arm/at91/at91_pio.c	Fri May 22 05:02:53 2015	(r283277)
@@ -646,5 +646,9 @@ static driver_t at91_pio_driver = {
 	sizeof(struct at91_pio_softc),
 };
 
+#ifdef FDT
 EARLY_DRIVER_MODULE(at91_pio, at91_pinctrl, at91_pio_driver, at91_pio_devclass,
     NULL, NULL, BUS_PASS_INTERRUPT);
+#else
+DRIVER_MODULE(at91_pio, atmelarm, at91_pio_driver, at91_pio_devclass, NULL, NULL);
+#endif



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