diff options
Diffstat (limited to '')
-rw-r--r-- | bsps/shared/net/README | 12 | ||||
-rw-r--r-- | bsps/shared/net/README.3com | 3 | ||||
-rw-r--r-- | bsps/shared/net/README.cs8900 | 26 | ||||
-rw-r--r-- | bsps/shared/net/README.dec21140 | 116 | ||||
-rw-r--r-- | bsps/shared/net/README.i82586 | 1 | ||||
-rw-r--r-- | bsps/shared/net/README.open_eth | 72 | ||||
-rw-r--r-- | bsps/shared/net/README.sonic | 135 | ||||
-rw-r--r-- | bsps/shared/net/README.tulipclone | 101 |
8 files changed, 0 insertions, 466 deletions
diff --git a/bsps/shared/net/README b/bsps/shared/net/README deleted file mode 100644 index ecb996e65f..0000000000 --- a/bsps/shared/net/README +++ /dev/null @@ -1,12 +0,0 @@ -This is the network interface controller portion of the libchip library. -This directory contains the source code for reusable TCP/IP network driver -support code. Each driver has its own configuration table and its -chip specific attach routine must be called by a board specific -attach routine. The board specific chip routine passes the chip -configuration and network configuration to the resuable device driver. - -The reusable chip drivers do not directly access the controller. -They access the registers on the controller via a set of -functions which are provided by the BSP. These functions set and get -general registers and data buffers. - diff --git a/bsps/shared/net/README.3com b/bsps/shared/net/README.3com deleted file mode 100644 index b67061dec2..0000000000 --- a/bsps/shared/net/README.3com +++ /dev/null @@ -1,3 +0,0 @@ -# -# README.3com -# diff --git a/bsps/shared/net/README.cs8900 b/bsps/shared/net/README.cs8900 deleted file mode 100644 index ecd575230f..0000000000 --- a/bsps/shared/net/README.cs8900 +++ /dev/null @@ -1,26 +0,0 @@ -Target Support -============== - -The target is required to provide the low level support routines as -listed in the Configuration section of this file. - -The file cs8900.[ch].bsp are an example BSP files for DIMMPC target. - -Conditionals -============ -CS8900_DATA_BUS_SWAPPED - XXX - -CS8900_TRACE - XXX - -CS8900_VERBOSE - XXX - -Todo -==== -+ Build two versions -- one with swapped, one without. - -+ Document conditionals. - -Configuration -============= -See the cs8900.h header file for the documentation. - diff --git a/bsps/shared/net/README.dec21140 b/bsps/shared/net/README.dec21140 deleted file mode 100644 index f07bec7a36..0000000000 --- a/bsps/shared/net/README.dec21140 +++ /dev/null @@ -1,116 +0,0 @@ -This TULIP driver can be used on BSPs that support PCI bus. - -It can handle any DEC21140 and DEC21143 based Ethernet controller -although the DEC21143 support has only been tested on Intel. - -It works on big or little endian target. - -The DEC21140 has been tested with powerpc/mcp750 BSP (OnBoard Ethernet -controller) and i386/pc386 BSP (D-Link DFE-500TX Ethernet board). - -The DEC21143 has been tested only on the i386/pc386 using -the Kingston KNE100TX with 21143PD chip. - -***************************************************************** -******** *************** -******** tests with ttcp benchmark for DEC driver *************** -******** optimization *************** -******** *************** -***************************************************************** - - -LINUX -> LINUX-ix86 - -Transmitter : - -ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -> genesis -ttcp-t: 16777216 bytes in 1.87 real seconds = 8775.25 KB/sec +++ -ttcp-t: 2048 I/O calls, msec/call = 0.93, calls/sec = 1096.91 -ttcp-t: 0.0user 0.9sys 0:01real 51% 0i+0d 0maxrss 0+2pf 0+0csw - -Receiver : - -ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -ttcp-r: 16777216 bytes in 1.88 real seconds = 8706.53 KB/sec +++ -ttcp-r: 10802 I/O calls, msec/call = 0.18, calls/sec = 5740.23 -ttcp-r: 0.0user 0.2sys 0:01real 13% 0i+0d 0maxrss 0+2pf 0+0csw - -============================================================== -============================================================== -============================================================== - -LINUX -> RTEMS-ix86 with tulip driver from pc386 bsp - -Transmitter : - -ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -> neil-young-100 -ttcp-t: 16777216 bytes in 1.98 real seconds = 8294.76 KB/sec +++ -ttcp-t: 2048 I/O calls, msec/call = 0.99, calls/sec = 1036.85 -ttcp-t: 0.0user 0.1sys 0:01real 9% 0i+0d 0maxrss 0+2pf 0+0csw - -Receiver : - -ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -ttcp-r: 16777216 bytes in 2.03 real seconds = 8065.14 KB/sec +++ -ttcp-r: 3088 I/O calls, msec/call = 0.67, calls/sec = 1520.09 -ttcp-r: 0.0user 2.0sys 0:02real 100% 0i+0d 0maxrss 0+0pf 0+0csw - -============================================================== -============================================================== -============================================================== - -RTEMS-ix86 with tulip driver from pc386 bsp -> LINUX - -Transmitter : - -ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -> 194.2.81.126 -ttcp-t: 16777216 bytes in 2.76 real seconds = 5938.77 KB/sec +++ -ttcp-t: 2048 I/O calls, msec/call = 1.38, calls/sec = 742.35 -ttcp-t: 0.0user 2.5sys 0:02real 100% 0i+0d 0maxrss 0+0pf 0+0csw - -Receiver : - -ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -ttcp-r: 16777216 bytes in 2.75 real seconds = 5948.53 KB/sec +++ -ttcp-r: 11349 I/O calls, msec/call = 0.25, calls/sec = 4120.48 -ttcp-r: 0.0user 0.1sys 0:02real 6% 0i+0d 0maxrss 0+2pf 0+0csw - -============================================================== -============================================================== -============================================================== - -LINUX -> RTEMS-ix86 with optimized tulip driver - -Transmitter : - -ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -> neil-young-100 -ttcp-t: 16777216 bytes in 1.73 real seconds = 9470.13 KB/sec +++ -ttcp-t: 2048 I/O calls, msec/call = 0.87, calls/sec = 1183.77 -ttcp-t: 0.0user 0.1sys 0:01real 6% 0i+0d 0maxrss 0+2pf 0+0csw - -Receiver : - -ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -ttcp-r: 16777216 bytes in 1.76 real seconds = 9315.33 KB/sec +++ -ttcp-r: 4558 I/O calls, msec/call = 0.40, calls/sec = 2591.51 -ttcp-r: 0.0user 1.7sys 0:01real 100% 0i+0d 0maxrss 0+0pf 0+0csw - -============================================================== -============================================================== -============================================================== - -RTEMS-ix86 with optimized tulip driver -> LINUX - -Transmitter : - -ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -> 194.2.81.126 -ttcp-t: 16777216 bytes in 2.09 real seconds = 7847.80 KB/sec +++ -ttcp-t: 2048 I/O calls, msec/call = 1.04, calls/sec = 980.98 -ttcp-t: 0.0user 2.0sys 0:02real 100% 0i+0d 0maxrss 0+0pf 0+0csw - -Receiver : - -ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -ttcp-r: 16777216 bytes in 2.08 real seconds = 7874.23 KB/sec +++ -ttcp-r: 11404 I/O calls, msec/call = 0.19, calls/sec = 5480.82 -ttcp-r: 0.0user 0.1sys 0:02real 8% 0i+0d 0maxrss 0+2pf 0+0csw diff --git a/bsps/shared/net/README.i82586 b/bsps/shared/net/README.i82586 deleted file mode 100644 index a0990367ef..0000000000 --- a/bsps/shared/net/README.i82586 +++ /dev/null @@ -1 +0,0 @@ -TBD diff --git a/bsps/shared/net/README.open_eth b/bsps/shared/net/README.open_eth deleted file mode 100644 index af9d8882cf..0000000000 --- a/bsps/shared/net/README.open_eth +++ /dev/null @@ -1,72 +0,0 @@ -Driver for opencores ethernet MAC - README ------------------------------------------- - -The device name for the driver is 'open_eth1', the attach -function for the leon bsp is rtems_leon_open_eth_driver_attach(). - -No cache flushing is made when a frame is received. On leon, -this means that cache snooping must be configured in the -vhdl model and enabled by software. - -TX interrupts are not used and masked in the interrupt mask -register. - -For now, only 10 Mbit/s half-duplex is supported. -100 Mbit/s operations does not work reliably, the transmitter -locks up or skips frames. Seems to depend on the TX fifo -implementation in the opencores MAC. Send a mail to -jiri@gaisler.com if you know how to fix this. - -Tested only on leon, using the GR-PCI-XC2V board @ 40 MHz. -Output from ttcp receiving 1 Mbyte file: - ->>> ttcp -r -s -ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -ttcp-r: socket -ttcp-r: accept from 192.168.0.2 -ttcp-r: 1145339 bytes in 1.18 real seconds = 947.88 KB/sec +++ -ttcp-r: 792 I/O calls, msec/call = 1.53, calls/sec = 671.19 -ttcp-r: 0.0user 1.1sys 0:01real 100% 0i+0d 0maxrss 0+0pf 0+0csw -************ MBUF STATISTICS ************ -mbufs:1024 clusters: 128 free: 112 -drops: 0 waits: 0 drains: 0 - free:1007 data:17 header:0 socket:0 - pcb:0 rtable:0 htable:0 atable:0 - soname:0 soopts:0 ftable:0 rights:0 - ifaddr:0 control:0 oobdata:0 - -************ INTERFACE STATISTICS ************ -***** open_eth1 ***** -Address:192.168.0.66 Broadcast Address:192.168.0.255 -Flags: Up Broadcast Running Simplex -Send queue limit:50 length:0 Dropped:0 - Rx Packets:796 Rx Interrupts:796 Length:0 - Bad CRC:0 Overrun:0 Miss:0 - Tx Interrupts:0 Deferred:0 Missed Hearbeat:0 - No Carrier:0 Retransmit Limit:0 Late Collision:0 - Underrun:0 Raw output wait:0 - -************ IP Statistics ************ - total packets received 795 - datagrams delivered to upper level 795 - total ip packets generated here 401 - -************ TCP Statistics ************ - connections accepted 1 - connections established 1 - conn. closed (includes drops) 1 - segs where we tried to get rtt 2 - times we succeeded 2 - delayed acks sent 4 - total packets sent 401 - ack-only packets sent 6 - window update-only packets sent 394 - control (SYN|FIN|RST) packets sent 1 - total packets received 795 - packets received in sequence 792 - bytes received in sequence 1145339 - rcvd ack packets 2 - bytes acked by rcvd acks 2 - times hdr predict ok for data pkts 791 - - diff --git a/bsps/shared/net/README.sonic b/bsps/shared/net/README.sonic deleted file mode 100644 index b2478b5571..0000000000 --- a/bsps/shared/net/README.sonic +++ /dev/null @@ -1,135 +0,0 @@ -This SONIC driver does not make any attempt to support the SONIC chip -in any of the following modes: - - + 16-bit - + little endian - -It does not attempt to handle SONIC's older than Revision C. There is -a bug in chips before that revision that must be handled in the driver. - -The configuration table should be discussed here but if you look in the -include file for the sonic, it is reasonably obvious. :) - -The performance impact of transforming this driver into libchip format -was minimal. - -The powerpc/dmv177 BSP used this driver and the following should -serve as an example configuration table. This BSP was obsoleted after -the 4.6 release series so the code is included here. - -====================================================================== - -/* - * DMV177 SONIC Configuration Information - * - * References: - * - * 1) SVME/DMV-171 Single Board Computer Documentation Package, #805905, - * DY 4 Systems Inc., Kanata, Ontario, September, 1996. - */ - -#include <bsp.h> -#include <rtems/rtems_bsdnet.h> -#include <libchip/sonic.h> - -void dmv177_sonic_write_register( - void *base, - unsigned32 regno, - unsigned32 value -) -{ - volatile unsigned32 *p = base; - -#if (SONIC_DEBUG & SONIC_DEBUG_PRINT_REGISTERS) - printf( "%p Write 0x%04x to %s (0x%02x)\n", - &p[regno], value, SONIC_Reg_name[regno], regno ); - fflush( stdout ); -#endif - p[regno] = value; -} - -unsigned32 dmv177_sonic_read_register( - void *base, - unsigned32 regno -) -{ - volatile unsigned32 *p = base; - unsigned32 value; - - value = p[regno]; -#if (SONIC_DEBUG & SONIC_DEBUG_PRINT_REGISTERS) - printf( "%p Read 0x%04x from %s (0x%02x)\n", - &p[regno], value, SONIC_Reg_name[regno], regno ); - fflush( stdout ); -#endif - return value; -} - -/* - * Default sizes of transmit and receive descriptor areas - */ -#define RDA_COUNT 20 /* 20 */ -#define TDA_COUNT 20 /* 10 */ - -/* - * Default device configuration register values - * Conservative, generic values. - * DCR: - * No extended bus mode - * Unlatched bus retry - * Programmable outputs unused - * Asynchronous bus mode - * User definable pins unused - * No wait states (access time controlled by DTACK*) - * 32-bit DMA - * Empty/Fill DMA mode - * Maximum Transmit/Receive FIFO - * DC2: - * Extended programmable outputs unused - * Normal HOLD request - * Packet compress output unused - * No reject on CAM match - */ -#define SONIC_DCR \ - (DCR_DW32 | DCR_WAIT0 | DCR_PO0 | DCR_PO1 | DCR_RFT24 | DCR_TFT28) -#ifndef SONIC_DCR -# define SONIC_DCR (DCR_DW32 | DCR_TFT28) -#endif -#ifndef SONIC_DC2 -# define SONIC_DC2 (0) -#endif - -/* - * Default location of device registers - */ -#ifndef SONIC_BASE_ADDRESS -# define SONIC_BASE_ADDRESS 0xF3000000 -# warning "Using default SONIC_BASE_ADDRESS." -#endif - -/* - * Default interrupt vector - */ -#ifndef SONIC_VECTOR -# define SONIC_VECTOR 1 -# warning "Using default SONIC_VECTOR." -#endif - -sonic_configuration_t dmv177_sonic_configuration = { - SONIC_BASE_ADDRESS, /* base address */ - SONIC_VECTOR, /* vector number */ - SONIC_DCR, /* DCR register value */ - SONIC_DC2, /* DC2 register value */ - TDA_COUNT, /* number of transmit descriptors */ - RDA_COUNT, /* number of receive descriptors */ - dmv177_sonic_write_register, - dmv177_sonic_read_register -}; - -int rtems_dmv177_sonic_driver_attach(struct rtems_bsdnet_ifconfig *config) -{ - return rtems_sonic_driver_attach( config, &dmv177_sonic_configuration ); - -} - -====================================================================== diff --git a/bsps/shared/net/README.tulipclone b/bsps/shared/net/README.tulipclone deleted file mode 100644 index 90332bfd61..0000000000 --- a/bsps/shared/net/README.tulipclone +++ /dev/null @@ -1,101 +0,0 @@ -***************************************************************** -******** *************** -******** 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 - - - -**************************************************************************** -**************************************************************************** |