diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-02-23 04:33:33 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-02-23 04:33:33 +0000 |
commit | b1dccc47fd8488cef147961f247f0e34d57a0399 (patch) | |
tree | 0b712b361b8ac24cc49297c6878ff04238565ab6 /firmware/export/pp5020.h | |
parent | 93f4bd351bcbd422d81592182aa1a2328f8d2d25 (diff) |
PP502x: Improve accuracy of header file. It looks as though DMA channels share the same interrupt enable (tested that 0 and 2 do at least).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20089 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pp5020.h')
-rw-r--r-- | firmware/export/pp5020.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/firmware/export/pp5020.h b/firmware/export/pp5020.h index 26d5bbaa51..35fe09c1e4 100644 --- a/firmware/export/pp5020.h +++ b/firmware/export/pp5020.h @@ -107,10 +107,7 @@ #define USB_IRQ 20 #define IDE_IRQ 23 #define FIREWIRE_IRQ 25 -#define DMA0_IRQ 26 -#define DMA1_IRQ 27 /* guess */ -#define DMA2_IRQ 28 /* guess */ -#define DMA3_IRQ 29 /* guess */ +#define DMA_IRQ 26 #define HI_IRQ 30 #define GPIO0_IRQ (32+0) /* Ports A..D */ #define GPIO1_IRQ (32+1) /* Ports E..H */ @@ -126,10 +123,7 @@ #define IDE_MASK (1 << IDE_IRQ) #define USB_MASK (1 << USB_IRQ) #define FIREWIRE_MASK (1 << FIREWIRE_IRQ) -#define DMA0_MASK (1 << DMA0_IRQ) -#define DMA1_MASK (1 << DMA1_IRQ) -#define DMA2_MASK (1 << DMA2_IRQ) -#define DMA3_MASK (1 << DMA3_IRQ) +#define DMA_MASK (1 << DMA_IRQ) #define HI_MASK (1 << HI_IRQ) #define GPIO0_MASK (1 << (GPIO0_IRQ-32)) #define GPIO1_MASK (1 << (GPIO1_IRQ-32)) |