---
name: "tulip-diag"
section: "8"
platform: "linux"
package: "nictools-pci"
version: "1.3.8-2+b1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/tulip-diag"
---

# tulip-diag(8)

EEPROM setup and diagnostic program for ethernet cards based on the Digital DC21x4\* chip.

## NAME

tulip-diag - EEPROM setup and diagnostic program for ethernet cards based  on the Digital DC21x4\* chip.

## SYNOPSIS

**tulip-diag** \[*options*\]

## DESCRIPTION

**tulip-diag** is a program that you can use to diagnose problems with  ethernet cards based on Digital DC21x4\* chips. This includes the following  chips: Digital and Intel 21040/041/140/142/143/145 and others from Lite-On, LinkSys, Macronix, ASIX, Compex, STmicro, ADMtek, Davicom and Xircom.

## OPTIONS

These programs follow the usual GNU command line syntax, with long options starting with two dashes (\`-'). A summary of options is included below.

- **-h, --help**

  Show summary of options.

- **-V, --version**

  Show version of program.

- **-v, --verbose**

  Verbose mode.

- **-q, --quiet**

  Be very unverbose.

- **-# \<cardnum\>**

  Use card number \<cardnum\>.

- **-a, --show\_all\_registers**

  Print all registers.

- **-e, --show-eeprom**

  Dump EEPROM contents to stdout.

- **-E, --emergency-rewrite**

  Re-write a corrupted EEPROM.

- **-p, --base-address \<port\>**

  Specify port to use.

- **-A, --Advertise \<mediaype\>**

  Advertise media type. Valid Options are: 10baseT, 100baseT4, 100baseTx, 100baseTx-FD, 100baseTx-HD, 10baseT-FD and 10baseHD.

- **-F, --new-interface \<interface\>**

  Interface number. Options that make sense are: 10baseT, 10base2, AUI,  100baseTx, 10baseT-FDX, 100baseTx-FDX, 100baseT4, 100baseFx, 100baseFx-FDX,  MII, HomePNA and Autosense.

- **-H, --new-hwaddress \<address\>**

  Set card to a new hardware address.

- **-m, --show-mii**

  Dump MII management registers.

- **-R, --reset**

  Reset the transceiver.

- **-T, --test**

  Do register and SRAM test.

- **-w, --write-EEPROM \<values\>**

  Write to the EEPROMS with the specified values. Do not use this, if you do not know what you do!

- **-f, --force-detection**

  Try to identify the card, even if it is active.

- **-t, --chip-type \<card\>**

  Explicitly set the chip. To get all valid numbers, run tulip-diag with the options '-t -1'.

## SEE ALSO

[**mii-diag**(8)](/mii-diag/8.md)

## AUTHOR

tulip-diag was written and is still maintained by Donald Becker  \<becker@scyld.com\>. This manual page was written by Alain Schroeder \<alain@debian.org\>, for the Debian GNU/Linux system (but may be used by others).
