diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-06 00:24:52 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-06 00:24:52 +0000 |
commit | 308e18c397d4d90ee521144e1d55620b6a710049 (patch) | |
tree | 7b4c06c5fe6efdd082a68d585b1409f0fe7965a7 /c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h | |
parent | Commented out the code which yields the CPU when the serial controller is (diff) | |
download | rtems-308e18c397d4d90ee521144e1d55620b6a710049.tar.bz2 |
Added support for the Card Resource Register. The new probe routines
check for the presence of the DUART, SCC, and RTC. The SONIC check
needs to be added in the future as the network driver is libchip'ed.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h')
-rw-r--r-- | c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h b/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h index 06e69393a2..e5019b4392 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h +++ b/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h @@ -272,6 +272,17 @@ extern "C" { #define SCV64_Is_IRQ4( _status ) (_status&0x10) #define SCV64_Is_IRQ5( _status ) (_status&0x20) + +/* + * Card Resource Register Constants + */ + +#define DMV170_DUART_PRESENT_BIT 0x0100 +#define DMV170_SONIC_PRESENT_BIT 0x0200 +#define DMV170_16MBYTES_FLASH_BIT 0x0400 +#define DMV170_SCC_PRESENT_BIT 0x0800 +#define DMV170_RTC_PRESENT_BIT 0x1000 + /* * scv64.c */ |