Update to V4.5.0 files and directory structure.

This commit is contained in:
Richard Barry 2007-09-17 10:07:48 +00:00
parent 1362bebfdc
commit 98a9959a44
758 changed files with 53177 additions and 3139 deletions

View file

@ -59,10 +59,10 @@
/************************* WIU *************************/
//#define _WIU
/************************* TIM *************************/
//#define _TIM
#define _TIM
//#define _TIM0
//#define _TIM1
//#define _TIM2
#define _TIM2
//#define _TIM3
/************************* GPIO ************************/
#define _GPIO

View file

@ -93,11 +93,12 @@ typedef struct {
/* AddressFilteringMode */
#define MAC_Perfect_Multicast_Perfect 0x0
#define MAC_Perfect_Muticast_Hash 0x1<<17
#define MAC_Hash_Multicast_Hash 0x3<<17
#define Inverse 0x4<<17
#define Promiscuous 0x5<<17
#define MAC_Hash_Muticast_All 0x6<<17
#define MAC_Perfect_Multicast_Hash 0x1<<17
#define MAC_Hash_Multicast_Hash 0x2<<17
#define MAC_Inverse 0x3<<17
#define MAC_Promiscuous 0x4<<17
#define MAC_Perfect_Multicast_All 0x5<<17
#define MAC_Hash_Multicast_All 0x6<<17
/* VLANFilteringMode */
#define VLANFilter_VLTAG_VLID 1
@ -109,7 +110,7 @@ typedef struct {
/* MAC Address*/
#define MAC_ADDR0 0x0D
#define MAC_ADDR0 0x00
#define MAC_ADDR1 0x0A
#define MAC_ADDR2 0x08
#define MAC_ADDR3 0x04

View file

@ -271,7 +271,7 @@ typedef struct
} ENET_MAC_TypeDef;
/* DMA Registers */
typedef struct
typedef struct
{
vu32 SCR; /* DMA Status and Control Register */
vu32 IER; /* DMA Interrupt Sources Enable Register */
@ -510,10 +510,10 @@ typedef struct
#define AHB_DMA_B (0x68000000) /* DMA Buffered Space */
#define AHB_ENET_MAC_U (0x7C000400) /* ENET_MAC UnBuffered Space */
#define AHB_ENET_MAC_B (0x6C000000) /* ENET_MAC Buffered Space */
#define AHB_ENET_MAC_B (0x6C000400) /* ENET_MAC Buffered Space */
#define AHB_ENET_DMA_U (0x7C000000) /* ENET_DMA Unbuffered Space */
#define AHB_ENET_DMA_B (0x6C000400) /* ENET_DMA Buffered Space */
#define AHB_ENET_DMA_B (0x6C000000) /* ENET_DMA Buffered Space */
#define AHB_VIC1_U (0xFC000000) /* Secondary VIC1 UnBuffered Space */
#define AHB_VIC0_U (0xFFFFF000) /* Primary VIC0 UnBuffered Space */
@ -592,7 +592,7 @@ typedef struct
/*----------------------------- Unbuffered Mode ------------------------------*/
/*----------------------------------------------------------------------------*/
#ifndef Buffered
#ifndef Buffered
/*******************************************************************************
* AHBAPB peripheral Unbuffered Base Address *
@ -618,7 +618,7 @@ typedef struct
* EMI peripheral Unbuffered Base Address *
*******************************************************************************/
#define EMI_BASE (AHB_EMI_U)
#define EMI_BASE (AHB_EMI_U)
/*******************************************************************************
* FMI peripheral Unbuffered Base Address *