AMD LANCE Am7990
The Am7990 is an Ethernet media access controller (MAC) controller introduced in 1985.[1][2] LANCE, short for "local area network controller for Ethernet", is also the brand name for follow-up versions of the chip. Its architecture is the basis for AMD's PCnet family of highly integrated single-chip Ethernet controllers, which succeeded the LANCE family. The one exception is the Am79C940 MAC. The Am7990 chip was fabricated in NMOS technology and has no integrated Manchester encoder/decoder (ENDEC) nor does it have an integrated 10BASE-T transceiver.
Compatibility
A later re-fabricated chip called the C-LANCE Am79C90 is made with 0.8 micrometre CMOS technology. The original NMOS version Am7990 and the CMOS Am79C90 version differ in some details which may affect device driver compatibility.[citation needed]
The datasheet for the CMOS version states that the CMOS and NMOS versions are the same. But the "Table B-1. Comparison Summary of the C-LANCE and LANCE Devices" in the datasheet shows they differ. These differences are not likely to require modifications of any device driver.
The PCnet family of Ethernet controllers (PCnet-ISA II, PCnet-32, PCnet-PCI II and PCnet-FAST) is LANCE software compatible. This means you should be able use the original 16-bit software on these members of the PCnet family of single-chip Ethernet controllers.
Features
The Am7990 can handle 10 megabit/s Ethernet with back-to-back packet reception with as little as 0,5 μs interframe spacing. DMA/Bus mastering 24-bit (16M) address capable. Up to 128 ring buffers can be used. 48 byte receive/transmit FIFO. Operates with 5 volt DC 5% supply and logic. Features a Time-domain reflectometer (TDR) with a granularity of 30 meter. 16,8 MHz maximum frequency. [2]
Physically a DIP-48 or PLCC-68 package is used. CSR0 slave read data can cause timing violations on DAL lines.
Related chips
The Am7990 handles a decoded and clock-recovered Ethernet bitstream complete with a collision-detection flag. Specifically, the Am7990 contains neither the Manchester encoder/decoder and associated PLL nor the necessary PECL line drivers/receivers to drive the AUI interface. These functions are typically handled by the companion Am7992 "Serial Interface Adapter" chip manufactured in a bipolar process.
The AUI interface can then be connected to any AUI-compatible transceiver, which AMD (among other manufacturers) produced as well, e.g. the Am7996 transceivers for 10BASE5 and 10BASE2 networks. With the advent of twisted-pair Ethernet, 10BASE-T transceivers like the Am79C98 and Am79C100 were introduced.
Later "PCnet"-branded devices like the Am79C960 for the ISA bus and the AM79C970 for the PCI bus integrated both the MAC and as well as SIA (for AUI) and 10BASE-T PHY on a single chip, while retaining software compatibility to the Am7990.
Chip bugs
The old LANCE (Rev. C) chips have a bug which causes garbage to be inserted in front of the received packet. The workaround is to ignore packets with an invalid destination address (garbage will usually not match). Of course, this precludes multicast support.[3] The Amiga SANA-II network interface API has poor multicast support, and this chip bug might be the reason.
- No capability for transmit buffer byte count of zero.
- Receive lockup may occur if bus latency is large.
- External loopback on a live network may cause reception of invalid loopback failure indications.
- Receive descriptor zero byte count buffer interpreted as 4096 available bytes.
- Will poll computer memory every 1.6 ms for new packets to transmit.
Uses
- Amiga 2065, the first Ethernet controller for Commodore's Amiga computer family. It uses the Zorro-II bus interface and is equipped with the NMOS Am7990 chip.[4][5]
- MicroVAX Q-Bus Ethernet controllers (like the DELQA).
- DECstation 2100/3100 MIPS architecture motherboard Ethernet.
- DEC 3000 AXP 64-bit Alpha AXP architecture motherboard.
- AT&T UNIX PC computers could have an expansion card that provided Ethernet via this chipset. AUI only.
- SGI Personal Iris MIPS R3000 IP6 motherboard.
- Sun Microsystems Sun Hydra 3/80,[6] SPARCstation 1, SPARCstation 2,[7] SPARCstation 10 and SPARCstation IPX[8] computer motherboard.
- Whitechapel Computer Works MG-1 NS32016-based motherboard Ethernet.
- Various x86-Personal computer ISA network interface cards (some called NE1500 and NE2100[9]). Under Unix operating systems like FreeBSD/NetBSD/OpenBSD/Linux the device driver is usually called le(4).[10]
An software implementation of an Am7990 is available in emulated environments:
- QEMU emulating Sun-4 architecture (sun4m) virtual network interface.
- GXemul with le(4) emulating ARM, MIPS, M88K, PowerPC, and SuperH CPU. One example architecture is DECstation 5000 (3max).
See also
- 3Com 3c509 - 1994, 3Com 3c509 network card
- NE2000 - 1987, Novell's NE2000 network card
- RTL8139 - 1999, Realtek 8139 PCI network chip
References
- ^ "Net186 Demonstration Board User's Manual" (PDF). Retrieved 22 January 2021. AMD.com – TechDocs
- ^ a b "Am79C90 : CMOS Local Area Network Controller for Ethernet (C-LANCE)" (PDF). AMD – TechDocs. Archived from the original (PDF) on 20 September 2021. Retrieved 22 January 2021.
- ^ "fxr.watson.org: sys/dev/le/am7990.c". 090426 fxr.watson.org
- ^ "Commodore: A2065". Archived from the original on 2013-01-20. 090426 amiga-hardware.com
- ^ "Amiga Linux/68k A2065 Ethernet Driver a2065.h". 090427 cvs.osdn.jp
- ^ "Suns-at-Home Digest V10 #2". Archived from the original on 2011-07-14. 090427 net-kitchen.com
- ^ "comp.unix.admin, How to know Sun CPU type, 1993". 090427 groups.google.com
- ^ "1993: SUMMARY min info script". Archived from the original on 2011-07-26. 090427 sunmanagers.org
- ^ "Linux Ethernet-Howto: Vendor/Manufacturer/Model Specific Information". 090428 mm.iit.uni-miskolc.hu
- ^ "FreeBSD 7.1R manpage le(4)". 090426 freebsd.org