The TS-ETH2 provides two integrated 10/100 ethernet ports through ASIX AX88796B embedded MAC/PHY chips. It interfaces with the PC/104 connector via 16-bit data bus and the register map is NE2000 compatible.
2 Getting Started
As a simple example on a TS-7800, connect only the ARM jumper. Leave the rest disconnected. Boot into Debian and run:
. /initrd/ts7800.subr pc104on modprobe -o eth2-1 ax88796b mem=0x100 irq=5 modprobe -o eth2-2 ax88796b mem=0x140 irq=6
|Note:||modprobe -o is not supported in busybox. These must be run from Debian.|
3 IO Address Selection
The address selected below must not collide with other PC104 boards. If you are using others, see their page and make sure their configuration doesn't collide with this board.
|JP1||JP2||PLD Address||PORT1 Address||PORT2 Address|
ETH1 and ETH2 require 64 I/O locations each. Refer to the ASIXAX88796B datasheet for further information.
4 IRQ Selection
|IRQ7||IRQ6||IRQ5||PORT1 IRQ||PORT2 IRQ|
|IRQ6||IRQ5||PORT1 IRQ||PORT2 IRQ|
5 Register Map
|0x0||7-0||Read Only||Board ID (0x2x)|
|0x1||7-0||Read Only||PLD Revision|
|0x2||0||Read Only||JP1 Status|
|1||Read Only||JP2 Status|
|2||Read Only||ARM Jumper status|
|3||Read Only||IRQ5 Status|
|4||Read Only||IRQ6 Status|
|5||Read Only||IRQ7 Status|
|6||Read Write||PORT1 LED Mode (1 = asix, 0 = ts)|
|7||Read Write||PORT2 LED Mode (1 = asix, 0 = ts)|
Our LED mode uses green when there is link, and orange when there is activity.
6 Linux Driver
The register map of ASIX AX88796B ethernet chip is NE2000 compatible, so driver support is straight-forward. Technologic Systems provides a Linux driver for the ASIX Ethernet interface suitable for both Kernel versions 2.4 and 2.6. The “mem” and “irq” parameters are available to set up I/O base address and IRQ line, respectively. In order to load the TS-ETH2 Linux 2.4 driver on the TS-7200 series, assuming only the ARM jumper ON, enter the following commands:
cp ax88796b.o ts-dual-eth1.o cp ax88796b.o ts-dual-eth2.o modprobe crc32.o insmod ts-dual-eth1.o mem=0x100 irq=22 insmod ts-dual-eth2.o mem=0x140 irq=33
Should you want to use additional TS-DUALETH boards on a single system, make a copy of the driver or insert it using a different name. Notice that in some systems the kernel module “crc32.o” must be loaded before the TS-ETH2 driver. A Linux tool to program the MAC address on the EEPROM chip is also provided.
7 Product Notes
7.1 FCC Advisory
This equipment generates, uses, and can radiate radio frequency energy and if not installed and used properly (that is, in strict accordance with the manufacturer's instructions), may cause interference to radio and television reception. It has been type tested and found to comply with the limits for a Class A digital device in accordance with the specifications in Part 15 of FCC Rules, which are designed to provide reasonable protection against such interference when operated in a commercial environment. Operation of this equipment in a residential area is likely to cause interference, in which case the owner will be required to correct the interference at his own expense.
If this equipment does cause interference, which can be determined by turning the unit on and off, the user is encouraged to try the following measures to correct the interference:
Reorient the receiving antenna. Relocate the unit with respect to the receiver. Plug the unit into a different outlet so that the unit and receiver are on different branch circuits. Ensure that mounting screws and connector attachment screws are tightly secured. Ensure that good quality, shielded, and grounded cables are used for all data communications. If necessary, the user should consult the dealer or an experienced radio/television technician for additional suggestions. The following booklets prepared by the Federal Communications Commission (FCC) may also prove helpful:
How to Identify and Resolve Radio-TV Interference Problems (Stock No. 004-000-000345-4) Interface Handbook (Stock No. 004-000-004505-7) These booklets may be purchased from the Superintendent of Documents, U.S. Government Printing Office, Washington, DC 20402.
7.2 Limited Warranty
See our Terms and Conditions for more details.