Asanté
currently supports Linux on the following products:
- FriendlyNET
10/100 PC Fast Ethernet Adapter (99-00586)

- AsantéFast
10/100 PCI Fast Ethernet Adapter (99-00590)

Additional
10/100 Fast Ethernet adapters may be supported, but they have not
been tested by Asanté's Software QA department.

The Asanté
FriendlyNET adapters are compatible with the industry-standard Linux
"Tulip" driver which is shipping on the most recent versions
of the Linux kernel.
The Tulip
driver has been integrated into the Linux kernel source tree since
version 1.1.90, but it was commented out until 1.2.13. At the end
of December 1999, the latest stable version of the Linux kernel
was 2.2.13 and the latest beta version was 2.3.34.
Source
code for this Tulip driver is available. It was written to support
the Beowulf
cluster project at CESDIS.

Additional
information about this driver can be found at:
Support
is handled via mailing list:

Making
and Loading the Modules Version
- Verify
that the source code for your current kernel version is installed.
- If you
don't have a /usr/include/linux/version.h file, then
cd /usr/src/linux; make include/linux/version.h
- Copy
the driver
source code to a source directory, e.g. /usr/src/modules/tulip.c
- Compile
the file using the compile-command at the bottom of the tulip.c
source file.
- As 'root',
load the module using "insmod tulip.o". You should first
test this by hand in single-user mode. If it works as expected
you should add the insmod command to /etc/rc.d/rc.inet1 or /etc/rc.d/rc.local.
Possible
Problems and Solutions
If you
get an "linux/version.h no such file or directory" you
either have not installed the kernel source code, or you haven't
run
cd /usr/src/linux;
make include/linux/version.h
Some distributions
allow you to install just the essential header files of the kernel
source code, including a pre-built "version.h", so this
isn't always necessary.
Options
When loaded
as a module the following variables may be set:
| Name |
Type |
Description |
| debug |
int |
The
debug message level, 0 (no messages) to 6 (wordy) |
| options |
int
[ ] |
The
media type override and card operation settings.
(See table below.) Add 16 or 0x10 for full duplex. |
Valid media
types are:
| Index
| Media |
| 0
| Auto-select
(default to the 10baseT link) |
| 1
| 10base2 |
| 2
| AUI |
| 3
| 100baseTx |
| 4
| 10baseT-FD |
| 5
| 100baseTx-FD |
| 6
| 100baseT4 |
| 7
| 100baseFx |
| 8
| 100baseFx-FD |
| 9
| MII
10baseT |
| 10
| MII
10baseT-FD |
| 11
| MII
(autoselect) |
| 12
| 10baseT
(no autoselect), v0.69 and later only |
| 13
| MII
100baseTx |
| 14
| MII
100baseTx-FD |
| 15
| MII
100baseT4 |
Not all
cards can have their media type set with 'options'. Many cards support
multiple media types with a single MII transceiver, and must always
be set to an MII type (preferably 11, but other values 9-15 advertise
only a single capability).
Note: Only
the highlighted values are supported on the Asanté 10/100
adapters.
An example
of loading the Tulip module is insmod tulip.o debug=1 options=0,16
This sets the debug message level to minimal messages, sets the
first card to the auto-sense the media type, and the second to forced-full-duplex.
(Note: card ordering is set by the motherboard's PCI BIOS.)
Diagnostic
Program
A diagnostic
program is available to help debug media selection and board-setup
problems.
Errata
Due to
inaccurate documentation, auto-negotiation cannot be enabled on
the PNIC chip
Tulip
Multicast Support
Most Ethernet
chips can match a single unicast address -- their own station address
-- and support a statistical (aka hash) filter for initial filtering
of unwanted multicast packets. This is typically done by taking
the CRC intermediate result just after destination address arrives,
and using a few bits as the index into a table of which multicast
packets are acceptable. The typical chip has 64 bins and uses six
bits of CRC.
The Tulip
does much better than this. The typical operating mode is matching
the incoming destination address against a list of 16 addresses.
After reserving two entries for the broadcast and station address,
that means up to 14 multicast addresses may be perfectly filtered.
With more than 14 multicast addresses the chip matches against a
single unicast address and uses a statistical multicast filter with
512 bins, resulting in much better filtering than the 64 bin chips.
Original
Author: Donald
Becker, becker@cesdis.gsfc.nasa.gov
|