enc624j6net

- improved duplex/offline check handling
 - better TX handling (one less full frame copy per TX request),
   i.e. direct write from driver to HW buffer
 - some other minor changes
 - revised TX is optional (see smakefile), requires a VHDL fix
   that is not checked in to svn as of yet
This commit is contained in:
HenrykRichter
2018-04-25 20:36:34 +02:00
parent d676378aba
commit dd0537a36d
14 changed files with 990 additions and 57 deletions
+9 -3
View File
@@ -10,14 +10,18 @@
#
DEVICE_DATE = 16.04.2018
DEVICE_VERSION = 0
DEVICE_REVISION = 2
DEVICE_REVISION = 3
# see below for EXTRAOBJ, disable for plipbox, enable for sdnet/enc624j6net
HWSRCDIR = enc624j6net
DEVICE_NAME = enc624j6net
DEFS = DEFINE PROTO_ENC624NET=1
DEFS = DEFINE PROTO_ENC624NET=1
# quick hack/test to write directly - didn't work out for me
# direct SANA-II to HW Write without intermediate buffer
# don`t enable on current (Feb2018) CPLD, byte swap issue
# JIC after 25-Apr-2018 will fix the byte swap on byte write
#DEFINE ENC624_OPT=1
# quick hack/test to write directly - didn't work out well for me
#DEFINE DIRECT_WRITE=1
#####################################################################
@@ -133,6 +137,8 @@ BUILDDEPS=libsize.auto.i $(DEVINFO_INC) $(DEVINFO_HINC)
#
.c.opt$(SUFFIX): $(BUILDDEPS)
$(CC) $(OPTCFLAGS) OBJECTNAME $@ $*.c
# DISASM $@.disas.s
#
# assemble a file
#