From 993cad9364c6b87ae429d1ed1130d8153f6f027e Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 26 Jun 2003 22:04:09 +0000 Subject: * Patches by Robert Schwebel, 26 Jun 2003: - logdl - csb226 - innokom * Patch by Pantelis Antoniou, 25 Jun 2003: update NetVia with V2 board support --- include/status_led.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/status_led.h') diff --git a/include/status_led.h b/include/status_led.h index 5a33e31e9..e8ba9fd42 100644 --- a/include/status_led.h +++ b/include/status_led.h @@ -236,6 +236,8 @@ void status_led_set (int led, int state); /***** NetVia ********************************************************/ #elif defined(CONFIG_NETVIA) +#if !defined(CONFIG_NETVIA_VERSION) || CONFIG_NETVIA_VERSION == 1 + #define STATUS_LED_PAR im_ioport.iop_pdpar #define STATUS_LED_DIR im_ioport.iop_pddir #undef STATUS_LED_ODR @@ -252,6 +254,7 @@ void status_led_set (int led, int state); # define STATUS_LED_ACTIVE 0 /* LED on for bit == 0 */ # define STATUS_LED_BOOT 0 /* LED 0 used for boot status */ +#endif /***** CMI ********************************************************/ #elif defined(CONFIG_CMI) -- cgit v1.2.3