2005-06-16 Daron Chabot <daron@nucleus.usask.ca>

* libchip/Makefile.am: Add driver for Tulip clones.
	* libchip/network/README.tulipclone, libchip/network/if_dc.c,
	libchip/network/if_dcreg.h: New files.
This commit is contained in:
Joel Sherrill
2005-06-16 20:09:36 +00:00
parent e36865dbaf
commit af28e68eaf
5 changed files with 5027 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
2005-06-16 Daron Chabot <daron@nucleus.usask.ca>
* libchip/Makefile.am: Add driver for Tulip clones.
* libchip/network/README.tulipclone, libchip/network/if_dc.c,
libchip/network/if_dcreg.h: New files.
2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/check-rdbg.m4: Use compilation check on _OLD_EXCEPTIONS

View File

@@ -31,19 +31,20 @@ if LIBCHIP
if HAS_NETWORKING
include_libchip_HEADERS += network/cs8900.h network/i82586var.h \
network/if_fxpvar.h network/sonic.h network/if_media.h network/mii.h \
network/open_eth.h
network/open_eth.h network/if_dcreg.h
libnetchip_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
noinst_LIBRARIES += libnetchip.a
libnetchip_a_SOURCES = network/cs8900.c network/dec21140.c network/i82586.c \
network/sonic.c network/if_fxp.c network/elnk.c network/open_eth.c
network/sonic.c network/if_fxp.c network/elnk.c network/open_eth.c \
network/if_dc.c
libnetchip_a_CPPFLAGS = $(AM_CPPFLAGS) $(libnetchip_CPPFLAGS)
endif
endif
EXTRA_DIST += network/README network/README.cs8900 network/README.dec21140 \
network/README.i82586 network/README.open_eth network/README.sonic \
network/cs8900.c.bsp
network/cs8900.c.bsp README.tulipclone
# rtc
if LIBCHIP

View File

@@ -0,0 +1,102 @@
******** $Id$
*****************************************************************
******** ***************
******** ttcp benchmark tests of dec2114x driver ***************
******** adapted from FreeBSD's if_dc.c for RTEMS ***************
******** by: Daron Chabot (12/15/03), ***************
******** <daron@nucleus.usask.ca> ***************
*****************************************************************
Test Equipment:
-----------------------
- Intel 450 MHz P3's
- RH Linux v7.3, 2.4.7-10 kernel, D-Link DFE-530TX (via-rhine)
- RTEMS rtems-ss-20030703, pc386 BSP, Linksys LNE100TX ( actually,
a cleverly disguised ADMtek Centaur, aka "Comet").
- the PCs were directly connected ( RJ-45 X-over cable ) on a class C
subnet (private)
NOTE:
-----------------------
- the following lines must be added to the BSP's "bsp.h" file, or
inserted into an application header (e.g. a "network_config.h" file, or
similar):
extern int rtems_dc_driver_attach(struct rtems_bsdnet_ifconfig *, int);
#define BSP_DEC_NETWORK_DRIVER_NAME "tl1" /* "tl" as in "tulip-clone" */
#define BSP_DEC_NETWORK_DRIVER_ATTACH rtems_dc_driver_attach
**************************
Linux Tx ----> RTEMS Rx: *
**************************
TRANSMITTER:
ttcp-t: buflen=8192, nbuf=65536, align=16384/0, port=5001 tcp -> rtems
ttcp-t: 536870912 bytes in 45.72 real seconds = 11468.54 KB/sec +++
ttcp-t: 536870912 bytes in 6.87 CPU seconds = 76315.57 KB/cpu sec
ttcp-t: 65536 I/O calls, msec/call = 0.71, calls/sec = 1433.57
ttcp-t: 0.1user 6.7sys 0:45real 15% 0i+0d 0maxrss 0+2pf 0+0csw
RECEIVER:
ttcp-r: buflen=8192, nbuf=65536, align=16384/0, port=5001 tcp
ttcp-r: 536870912 bytes in 45.72 real seconds = 11467.37 KB/sec +++
ttcp-r: 536870912 bytes in 45.87 CPU seconds = 11467.37 KB/cpu sec
ttcp-r: 370837 I/O calls, msec/call = 0.13, calls/sec = 8111.05
ttcp-r: 0.0user 45.7sys 0:45real 100% 0i+0d 0maxrss 0+0pf 0+0csw
**************************
RTEMS Tx ----> Linux Rx: *
**************************
TRANSMITTER:
ttcp-t: buflen=8192, nbuf=65536, align=16384/0, port=5001 tcp ->192.168.1.1
ttcp-t: 536870912 bytes in 46.22 real seconds = 11343.31 KB/sec +++
ttcp-t: 536870912 bytes in 46.22 CPU seconds = 11343.31 KB/cpu sec
ttcp-t: 65536 I/O calls, msec/call = 0.72, calls/sec = 1417.91
ttcp-t: 0.0user 46.2sys 0:46real 100% 0i+0d 0maxrss 0+0pf 0+0csw
RECEIVER:
ttcp-r: buflen=8192, nbuf=65536, align=16384/0, port=5001 tcp
ttcp-r: 536870912 bytes in 46.22 real seconds = 11343.05 KB/sec +++
ttcp-r: 536870912 bytes in 11.60 CPU seconds = 45197.24 KB/cpu sec
ttcp-r: 356183 I/O calls, msec/call = 0.13, calls/sec = 7706.07
ttcp-r: 0.6user 10.9sys 0:46real 25% 0i+0d 0maxrss 0+2pf 0+0csw
****************************************************************************
****************************************************************************
****************************************************************************
******************* Test with 40kB buffer size *****************************
****************************************************************************
****************************************************************************
****************************************************************************
**************************
RTEMS Tx ----> Linux Rx: *
**************************
TRANSMITTER:
ttcp-t: buflen=40960, nbuf=13107, align=16384/0, port=5001 tcp -> 192.168.1.1
ttcp-t: 536862720 bytes in 46.23 real seconds = 11340.69 KB/sec +++
ttcp-t: 536862720 bytes in 46.23 CPU seconds = 11340.69 KB/cpu sec
ttcp-t: 13107 I/O calls, msec/call = 3.61, calls/sec = 283.52
ttcp-t: 0.0user 46.2sys 0:46real 100% 0i+0d 0maxrss 0+0pf 0+0csw
RECEIVER:
ttcp-r: buflen=40960, nbuf=13107, align=16384/0, port=5001 tcp
ttcp-r: 536862720 bytes in 46.23 real seconds = 11339.54 KB/sec +++
ttcp-r: 536862720 bytes in 10.70 CPU seconds = 48998.13 KB/cpu sec
ttcp-r: 355970 I/O calls, msec/call = 0.13, calls/sec = 7699.20
ttcp-r: 0.5user 10.1sys 0:46real 23% 0i+0d 0maxrss 0+5pf 0+0csw
****************************************************************************
****************************************************************************

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff