mirror of
https://github.com/david-schmidt/gsport.git
synced 2024-06-01 12:41:29 +00:00
Uthernet support for RPi
This commit is contained in:
parent
6f584ae2df
commit
eb50826de5
|
@ -23,6 +23,10 @@
|
|||
#ifndef _PROTOS_TFE_H
|
||||
#define _PROTOS_TFE_H
|
||||
|
||||
#ifndef FALSE
|
||||
#define FALSE 0
|
||||
#define TRUE !FALSE
|
||||
#endif
|
||||
extern int tfe_enabled;
|
||||
|
||||
void tfe_init(void);
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#include <pcap.h>
|
||||
#endif
|
||||
|
||||
#include "..\defc.h"
|
||||
#include "../defc.h"
|
||||
#include "tfesupp.h"
|
||||
#include "protos_tfe.h"
|
||||
#include "types.h"
|
||||
|
@ -48,7 +48,7 @@
|
|||
/* #define TFE_DEBUG_WARN_REG 1 */ /* warn about invalid register accesses */
|
||||
/* #define TFE_DEBUG_WARN_RXTX 1 */ /* warn about invalid rx or tx conditions */
|
||||
|
||||
/** #define TFE_DEBUG_INIT 1 **/
|
||||
/** #define TFE_DEBUG_INIT 1 **/
|
||||
/** #define TFE_DEBUG_LOAD 1 **/ /* enable to see tfe port reads */
|
||||
/** #define TFE_DEBUG_STORE 1 **/ /* enable to see tfe port writes */
|
||||
/** #define TFE_DEBUG_REGISTERS 1 **/ /* enable to see CS8900a register I/O */
|
||||
|
|
|
@ -39,11 +39,12 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#include <windowsx.h>
|
||||
#include <commctrl.h>
|
||||
#include <commdlg.h>
|
||||
|
||||
#endif
|
||||
#include "tfesupp.h"
|
||||
|
||||
|
||||
|
|
|
@ -50,4 +50,5 @@ extern int util_string_set(char **str, const char *new_value);
|
|||
|
||||
extern unsigned long crc32_buf(const char *buffer, unsigned int len);
|
||||
|
||||
#define log_message(level,...) fprintf(stderr,__VA_ARGS__)
|
||||
#endif
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
|
||||
TARGET = gsportfb
|
||||
OBJECTS = $(OBJECTS1) fbdriver.o
|
||||
TFEOBJ = tfe/tfe.o arch/unix/tfearch.o tfe/tfesupp.o
|
||||
OBJECTS = $(OBJECTS1) $(TFEOBJ) fbdriver.o
|
||||
CC = g++
|
||||
CCOPTS = -O2 -Wall -fomit-frame-pointer -march=armv6
|
||||
OPTS = -DGSPORT_LITTLE_ENDIAN
|
||||
OPTS = -DGSPORT_LITTLE_ENDIAN -DHAVE_TFE
|
||||
SUFFIX =
|
||||
NAME = gsportfb
|
||||
LDFLAGS =
|
||||
LDOPTS =
|
||||
LD = $(CC)
|
||||
EXTRA_LIBS =
|
||||
EXTRA_LIBS = -lpcap
|
||||
EXTRA_SPECIALS =
|
||||
|
||||
AS = cc
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
|
||||
TARGET = gsportx
|
||||
OBJECTS = $(OBJECTS1) xdriver.o
|
||||
TFEOBJ = tfe/tfe.o arch/unix/tfearch.o tfe/tfesupp.o
|
||||
OBJECTS = $(OBJECTS1) $(TFEOBJ) xdriver.o
|
||||
CC = g++
|
||||
CCOPTS = -O2 -Wall -fomit-frame-pointer -march=armv6
|
||||
OPTS = -DGSPORT_LITTLE_ENDIAN
|
||||
OPTS = -DGSPORT_LITTLE_ENDIAN -DHAVE_TFE
|
||||
SUFFIX =
|
||||
NAME = gsportx
|
||||
LDFLAGS =
|
||||
LDOPTS =
|
||||
LD = $(CC)
|
||||
EXTRA_LIBS = -lXext
|
||||
EXTRA_LIBS = -lXext -lpcap
|
||||
EXTRA_SPECIALS =
|
||||
|
||||
AS = cc
|
||||
|
|
Loading…
Reference in New Issue
Block a user