etherbone-config.h 532 Bytes
Newer Older
1 2 3 4 5
/*
 * This work is part of the White Rabbit project
 *
 * Released according to the GNU GPL, version 2 or any later version.
 */
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifndef ETHERBONE_CONFIG
#define ETHERBONE_CONFIG

/* These values are taken directly from the Etherbone specification */
#define ERROR_STATUS_HIGH  0
#define ERROR_STATUS_LOW   4
#define SDB_ADDRESS_HIGH   8
#define SDB_ADDRSES_LOW   12

/* These are implementation specific */
#define EB_MAC_HIGH16     16
#define EB_MAC_LOW32      20
#define EB_IPV4           24
#define EB_PORT           28

#endif