Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 2014 14:39:01 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r272213 - head/sys/arm/at91
Message-ID:  <201409271439.s8REd1ZK091634@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Sat Sep 27 14:39:00 2014
New Revision: 272213
URL: http://svnweb.freebsd.org/changeset/base/272213

Log:
  Fix the definitioin of AT91SAM9G45_IRQ_PIOE and rename it to
  AT91SAM9G45_IRQ_PIODE.  According to the data sheet, both PIOD and PIOE
  use the same IRQ.
  
  While here remove duplicate definitions.

Modified:
  head/sys/arm/at91/at91sam9g45reg.h

Modified: head/sys/arm/at91/at91sam9g45reg.h
==============================================================================
--- head/sys/arm/at91/at91sam9g45reg.h	Sat Sep 27 14:24:43 2014	(r272212)
+++ head/sys/arm/at91/at91sam9g45reg.h	Sat Sep 27 14:39:00 2014	(r272213)
@@ -168,8 +168,8 @@
 #define	AT91SAM9G45_IRQ_PIOA	2
 #define	AT91SAM9G45_IRQ_PIOB	3
 #define	AT91SAM9G45_IRQ_PIOC	4
-#define	AT91SAM9G45_IRQ_PIOD	5
-#define	AT91SAM9G45_IRQ_PIOE	6
+#define	AT91SAM9G45_IRQ_PIODE	5
+#define	AT91SAM9G45_IRQ_TRNG	6
 #define	AT91SAM9G45_IRQ_USART0	7
 #define	AT91SAM9G45_IRQ_USART1	8
 #define	AT91SAM9G45_IRQ_USART2	9
@@ -202,6 +202,8 @@
 #define	AT91SAM9G45_IRQ_WDT	AT91SAM9G45_IRQ_SYSTEM
 #define	AT91SAM9G45_IRQ_PIT	AT91SAM9G45_IRQ_SYSTEM
 #define	AT91SAM9G45_IRQ_RSTC	AT91SAM9G45_IRQ_SYSTEM
+#define	AT91SAM9G45_IRQ_PIOD	AT91SAM9G45_IRQ_PIODE
+#define	AT91SAM9G45_IRQ_PIOE	AT91SAM9G45_IRQ_PIODE
 #define	AT91SAM9G45_IRQ_OHCI	AT91SAM9G45_IRQ_UHP
 #define	AT91SAM9G45_IRQ_TC0	AT91SAM9G45_IRQ_TC0_TC5
 #define	AT91SAM9G45_IRQ_TC1	AT91SAM9G45_IRQ_TC0_TC5
@@ -225,9 +227,6 @@
 #define	AT91SAM9G45_SMC_BASE	0xfffe800
 #define	AT91SAM9G45_SMC_SIZE	0x200
 
-#define	AT91SAM9G45_PMC_BASE	0xffffc00
-#define	AT91SAM9G45_PMC_SIZE	0x100
-
 #define	AT91SAM9G45_HSMCI0_BASE	0xff80000
 #define	AT91SAM9G45_HSMCI0_SIZE	0x4000
 



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