From 495b0190128abcb2a282331574b59ed2f0f59ee2 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Wed, 21 May 2014 17:59:53 +0800 Subject: [PATCH] UDI/drivers - Add UDI_VERSION definition --- UDI/drivers/net_ne2000/ne2000_core.c | 2 ++ UDI/drivers/net_ne2000/ne2000_rx.c | 2 ++ UDI/drivers/net_ne2000/ne2000_tx.c | 2 ++ UDI/drivers/uart_16c550/uart16c550.c | 1 + 4 files changed, 7 insertions(+) diff --git a/UDI/drivers/net_ne2000/ne2000_core.c b/UDI/drivers/net_ne2000/ne2000_core.c index 2e44db18..6b9a81a0 100644 --- a/UDI/drivers/net_ne2000/ne2000_core.c +++ b/UDI/drivers/net_ne2000/ne2000_core.c @@ -5,6 +5,8 @@ * ne2000_core.c * - UDI initialisation */ +#define UDI_VERSION 0x101 +#define UDI_NIC_VERSION 0x101 #include #include #include "ne2000_common.h" diff --git a/UDI/drivers/net_ne2000/ne2000_rx.c b/UDI/drivers/net_ne2000/ne2000_rx.c index dda35770..4cdd20f8 100644 --- a/UDI/drivers/net_ne2000/ne2000_rx.c +++ b/UDI/drivers/net_ne2000/ne2000_rx.c @@ -5,6 +5,8 @@ * ne2000_rx.c * - Receive Code */ +#define UDI_VERSION 0x101 +#define UDI_NIC_VERSION 0x101 #include #include #include "ne2000_common.h" diff --git a/UDI/drivers/net_ne2000/ne2000_tx.c b/UDI/drivers/net_ne2000/ne2000_tx.c index b943ae88..0e54fad2 100644 --- a/UDI/drivers/net_ne2000/ne2000_tx.c +++ b/UDI/drivers/net_ne2000/ne2000_tx.c @@ -5,6 +5,8 @@ * ne2000_tx.c * - Transmit Code */ +#define UDI_VERSION 0x101 +#define UDI_NIC_VERSION 0x101 #include #include #include "ne2000_common.h" diff --git a/UDI/drivers/uart_16c550/uart16c550.c b/UDI/drivers/uart_16c550/uart16c550.c index cfe77707..211dfd7d 100644 --- a/UDI/drivers/uart_16c550/uart16c550.c +++ b/UDI/drivers/uart_16c550/uart16c550.c @@ -5,6 +5,7 @@ * uart16c550.c * - UDI initialisation */ +#define UDI_VERSION 0x101 #include #include #include "uart16c550_common.h" -- 2.20.1