From 5bd58bc309e959537e3e820abfa39ee629b140a5 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 7 Oct 2014 09:39:25 +0200 Subject: Reorganized firmware/ subdirectory (x300->usrp3, zpu->usrp2) --- firmware/x300/include/xge_mac.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 firmware/x300/include/xge_mac.h (limited to 'firmware/x300/include/xge_mac.h') diff --git a/firmware/x300/include/xge_mac.h b/firmware/x300/include/xge_mac.h deleted file mode 100644 index d288bdd8d..000000000 --- a/firmware/x300/include/xge_mac.h +++ /dev/null @@ -1,37 +0,0 @@ - -#ifndef INCLUDED_XGE_MAC_H -#define INCLUDED_XGE_MAC_H - -#define HAVE_OPENCORES_XGEMAC 1 - -#ifdef HAVE_OPENCORES_XGEMAC -#define XGE_TX_ENABLE (1 << 0) // Set to enable transmission. -// Interupt register bits. -#define XGE_RX_FRAG_ERR (1 << 8) -#define XGE_RX_CRC_ERR (1 << 7) -#define XGE_RX_PAUSE (1 << 6) -#define XGE_REMOTE_FAULT (1 << 5) -#define XGE_LOCAL_FAULT (1 << 4) -#define XGE_RX_UNDERFLOW (1 << 3) -#define XGE_RX_OVERFLOW (1 << 2) -#define XGE_TX_UNDERFLOW (1 << 1) -#define XGE_TX_OVERFLOW (1 << 0) -#endif - -// MDIO OP -#define XGE_MDIO_CLAUSE(n) ((n & 0x1) << 12) -#define CLAUSE45 1 -#define CLAUSE22 0 -#define XGE_MDIO_OP(n) ((n & 0x3) << 10) -#define MDIO_ADDRESS 0 -#define MDIO_WRITE 1 -#define MDIO_READ 3 -#define MDIO_C22_WRITE 2 -#define MDIO_C22_READ 1 -#define MDIO_READ_POST 2 -#define XGE_MDIO_ADDR(n) ((n & 0x1f) << 5) -#define XGE_MDIO_MMD(n) ((n & 0x1f) << 0) - -#endif - - -- cgit v1.2.3