svn commit: r237138 - stable/8/sys/arm/at91

Warner Losh imp at FreeBSD.org
Fri Jun 15 17:01:13 UTC 2012


Author: imp
Date: Fri Jun 15 17:01:12 2012
New Revision: 237138
URL: http://svn.freebsd.org/changeset/base/237138

Log:
  Add a band-aide for MFCs: at91_is_rm92 is always true in 8 until SAM9
  support is MFC'd.  The recent change to spi now references this, so
  bring it in as a forward compatability.

Modified:
  stable/8/sys/arm/at91/at91var.h

Modified: stable/8/sys/arm/at91/at91var.h
==============================================================================
--- stable/8/sys/arm/at91/at91var.h	Fri Jun 15 16:50:32 2012	(r237137)
+++ stable/8/sys/arm/at91/at91var.h	Fri Jun 15 17:01:12 2012	(r237138)
@@ -45,4 +45,6 @@ struct at91_ivar {
 
 extern uint32_t at91_master_clock;
 
+#define at91_is_rm92() (1)	/* Only support AT91RM9200 atm -- helps with MFCs */
+
 #endif /* _AT91VAR_H_ */


More information about the svn-src-all mailing list