summaryrefslogtreecommitdiff
path: root/cleopatre/devkit/plcdrv/inc/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'cleopatre/devkit/plcdrv/inc/common.h')
-rw-r--r--cleopatre/devkit/plcdrv/inc/common.h70
1 files changed, 0 insertions, 70 deletions
diff --git a/cleopatre/devkit/plcdrv/inc/common.h b/cleopatre/devkit/plcdrv/inc/common.h
deleted file mode 100644
index 1737a6cc83..0000000000
--- a/cleopatre/devkit/plcdrv/inc/common.h
+++ /dev/null
@@ -1,70 +0,0 @@
-#ifndef common_h
-#define common_h
-/* Cleopatre project {{{
- *
- * Copyright (C) 2008 Spidcom
- *
- * <<<Licence>>>
- *
- * }}} */
-/**
- * \file common.h
- * \brief general definitions
- * \ingroup Cleopatre - PlcDrv
- *
- * This file content all definitions needed by all different layers
- */
-
-#ifndef __UTESTS__
-#include <linux/types.h> //for uint32_t....
-#include <linux/kernel.h> //for printk...
-#include <linux/string.h> //for memcpy, memset...
-#include <linux/if_ether.h>//for ETH_ALEN
-#else
-#include <linux/types.h>
-#include <linux/if_ether.h>
-#endif
-
-/** Define different trace levels */
-#define TRACE_HAL 0
-#define TRACE_MAIL 1
-#define TRACE_PROCESS 2
-#define TRACE_LINUX 3
-#define TRACE_PACKET 4
-extern uint32_t trace;
-
-/** Max size of an Ethernet frame (size for all buffers) must be align on 4 bytes */
-#define PKT_BUF_SZ 1524
-
-/** Define the budget for RX part */
-#define PLCDRV_RX_BUDGET 32
-
-/** Arm to Leon mailbox ring size */
-#define A2L_RING_SIZE 0x1000
-
-/** Leon to Arm mailbox ring size */
-#define L2A_RING_SIZE 0x1000
-
-/** Define queue status */
-#define NOT_FULL 0
-#define FULL 1
-#define NEARLY_FULL 2
-
-/** Type of buffer */
-typedef enum buffer_type {
- DATA = 0,
- MME = 1,
- INTERFACE = 2,
-} buffer_type_t;
-
-/** Initialization structure */
-struct init_info {
- unsigned int ring_base_addr;
- unsigned int phys_ring_base_addr;
- unsigned int mbx_reg_base_addr;
- int (*launch_leon)(void);
- int debug_mode;
- uint8_t mac_addr[ETH_ALEN];
-};
-
-#endif /* common_h */