comparison packages/hal/arm/ebsa285/current/include/plf_io.h @ 117:bd1a71e3e476 ecos-sw-2000-08-25

Merge from eCos master repository on 2000-08-25-19:22:58-BST
author jlarmour
date Fri, 25 Aug 2000 19:17:22 +0000
parents 6ed91473a1cd
children e0c0827131d1
comparison
equal deleted inserted replaced
116:a0f9581a3a09 117:bd1a71e3e476
62 #define EBSA_CSR_MEM_PCI_ADDR (EBSA_SDRAM_PCI_SIZE) 62 #define EBSA_CSR_MEM_PCI_ADDR (EBSA_SDRAM_PCI_SIZE)
63 #define EBSA_CSR_MEM_PCI_SIZE 0x80 63 #define EBSA_CSR_MEM_PCI_SIZE 0x80
64 // PCI IO Space 64 // PCI IO Space
65 #define EBSA_CSR_IO_PCI_ADDR 0 65 #define EBSA_CSR_IO_PCI_ADDR 0
66 #define EBSA_CSR_IO_PCI_SIZE 0x80 66 #define EBSA_CSR_IO_PCI_SIZE 0x80
67
68 // Incidentally I now understand why it's necessary to force PCI reset
69 // (2000-08-07) - with RedBoot in ROM, the RAM app was unconditionally
70 // reinitializing the PCI bus when it was already initialized, without
71 // resetting it. We cannot play the same game here as with
72 // hal_platform_setup.h - I tried - because otherwise the net cannot
73 // re-initialize itself; the scan for devices fails.
67 74
68 // Initialize the PCI bus. 75 // Initialize the PCI bus.
69 #define HAL_PCI_INIT() \ 76 #define HAL_PCI_INIT() \
70 CYG_MACRO_START \ 77 CYG_MACRO_START \
71 cyg_uint32 __tmp, __tmp2; \ 78 cyg_uint32 __tmp, __tmp2; \