From 308e18c397d4d90ee521144e1d55620b6a710049 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 6 Aug 1998 00:24:52 +0000 Subject: 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. --- c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h') 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 */ -- cgit v1.2.3