Import 2.3.47pre2
[davej-history.git] / Documentation / networking / tulip.txt
blob4a83d1bf2af5c248813997a3994d0ddc76bd7342
1                 Tulip Ethernet Card Driver
3 The Tulip driver is developed by Donald Becker and changed by
4 Takashi Manabe. This driver is designed to work with PCI Ethernet
5 cards which use the DECchip DC21x4x family. This driver hopefully
6 works with all of 1.2.x and 1.3.x kernels, but I tested only
7 with 1.2.13, 1.3.39, 1.3.49, 1.3.52, 1.3.57 and later.
9 Hopefully, the de4x5.c driver will support all cards supported
10 by the tulip.c driver. However, the SMC's 9332dst card and some
11 cards do not work with the de4x5.c driver. So, if your card is
12 not a 9332dst, please try the de4x5.c driver first.
14 Success List
15 ============
17 +-------------------------------------+-----------+-------------+
18 |vendor/card                          |chip       |system       |
19 +-------------------------------------+-----------+-------------+
20 |SMC                                  |           |             |
21 |     EtherPower 10 PCI(8432T/8432BT) |21040/21041|Pentium      |
22 +-------------------------------------+-----------+-------------+
23 |SMC                                  |           |             |
24 |     EtherPower 10/100 PCI(9332DST)  |21140      |Pentium/UDB  |
25 +-------------------------------------+-----------+-------------+
26 |DEC                                  |           |             |
27 |     EtherWorks 100/10 PCI(DE500-XA) |21140      |Pentium      |
28 +-------------------------------------+-----------+-------------+
29 |DEC                                  |           |             |
30 |     EtherWorks 10 PCI(DE450)        |21041      |Pentium      |
31 +-------------------------------------+-----------+-------------+
32 |DEC                                  |           |             |
33 |     QSILVER's                       |21040      |UDB          |
34 +-------------------------------------+-----------+-------------+
35 |ZNYX                                 |           |             |
36 |     312 etherarray                  |21040      |Pentium      |
37 +-------------------------------------+-----------+-------------+
38 |Allied Telesis                       |           |             |
39 |     LA100PCI-T                      |21140      |Pentium/UDB  |
40 +-------------------------------------+-----------+-------------+
41 |Danpex ('Planet Japan' in Japan?)    |           |             |
42 |     EN-9400                         |21040      |Pentium      |
43 +-------------------------------------+-----------+-------------+
44 |Cogent                               |           |             |
45 |     EM110                           |21140      |Pentium      |
46 +-------------------------------------+-----------+-------------+
48 Pentium: PCI machine with Pentium CPU
49 UDB:     Universal Desktop Box(aka Multia) with Alpha 21066 CPU
51 Known bug(s)
52 ============
53 This driver's media detection is very simple and sometimes
54 it causes serious problem. The driver automatically switches
55 media when it causes timeout. If you want to specify or to fix
56 a media;
58 - Modify TULIP_PORT in tulip.c, line 33.
59 - Uncomment the definition of TULIP_FIX_PORT in tulip.c, line 40.
63 - Use patched ifconfig command and specify 'link='. The patch
64   against ifconfig.c in net-tools-1.3.50-BETA6e is included in
65   this file.
67 Thanks
68 ======
70 o becker@CESDIS.gsfc.nasa.gov (author of the tulip.c driver)
71 o davies@wanton.lkg.dec.com (author of the de4x5.c driver)
73 o siekas@mailhost.tcs.tulane.edu
75 o jheiss@calvin.caltech.edu (providing information about smc8432 card)
76 o goto@plathome.co.jp (lending me a DE450 card)
77 o ted@physics.ucsb.edu
78 o pmheuvel@xs4all.nl
79 o hjl@lucon.org (EN-9400)
80 o niles@axp745.gsfc.nasa.gov (ZNYX312)
81 o pkc@scs.carleton.ca (EM110)
82 o and testers...
84 -----------------------------------------------------------------------
85 *** ifconfig.c-dist     Wed Jan 17 07:25:36 1996
86 --- ifconfig.c  Tue Apr  9 15:24:25 1996
87 ***************
88 *** 765,770 ****
89 --- 766,786 ----
90                         continue;
91                 }
92                 ifr.ifr_map.irq = atoi(*spp);
93 +               if (ioctl(skfd, SIOCSIFMAP, &ifr) < 0) {
94 +                       fprintf(stderr, "SIOCSIFMAP: %s\n", strerror(errno));
95 +                       goterr = 1;
96 +               }
97 +               spp++;
98 +               continue;
99 +       }
101 +       if (!strcmp(*spp, "link")) {
102 +               if (*++spp == NULL) usage();
103 +               if (ioctl(skfd, SIOCGIFMAP, &ifr) < 0) {
104 +                       goterr = 1;
105 +                       continue;
106 +               }
107 +               ifr.ifr_map.port = atoi(*spp);
108                 if (ioctl(skfd, SIOCSIFMAP, &ifr) < 0) {
109                         fprintf(stderr, "SIOCSIFMAP: %s\n", strerror(errno));
110                         goterr = 1;