xref: /linux/Documentation/networking/device_drivers/ethernet/dec/dmfe.rst (revision daa2be74b1b2302004945b2a5e32424e177cc7da)
1.. SPDX-License-Identifier: GPL-2.0
2
3==============================================================
4Davicom DM9102(A)/DM9132/DM9801 fast ethernet driver for Linux
5==============================================================
6
7Note: This driver doesn't have a maintainer.
8
9
10This program is free software; you can redistribute it and/or
11modify it under the terms of the GNU General   Public License
12as published by the Free Software Foundation; either version 2
13of the License, or (at your option) any later version.
14
15This program is distributed in the hope that it will be useful,
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18GNU General Public License for more details.
19
20
21This driver provides kernel support for Davicom DM9102(A)/DM9132/DM9801 ethernet cards ( CNET
2210/100 ethernet cards uses Davicom chipset too, so this driver supports CNET cards too ).If you
23didn't compile this driver as a module, it will automatically load itself on boot and print a
24line similar to::
25
26	dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
27
28If you compiled this driver as a module, you have to load it on boot.You can load it with command::
29
30	insmod dmfe
31
32This way it will autodetect the device mode.This is the suggested way to load the module.Or you can pass
33a mode= setting to module while loading, like::
34
35	insmod dmfe mode=0 # Force 10M Half Duplex
36	insmod dmfe mode=1 # Force 100M Half Duplex
37	insmod dmfe mode=4 # Force 10M Full Duplex
38	insmod dmfe mode=5 # Force 100M Full Duplex
39
40Next you should configure your network interface with a command similar to::
41
42	ifconfig eth0 172.22.3.18
43		      ^^^^^^^^^^^
44		     Your IP Address
45
46Then you may have to modify the default routing table with command::
47
48	route add default eth0
49
50
51Now your ethernet card should be up and running.
52
53
54TODO:
55
56- Implement pci_driver::suspend() and pci_driver::resume() power management methods.
57- Check on 64 bit boxes.
58- Check and fix on big endian boxes.
59- Test and make sure PCI latency is now correct for all cases.
60
61
62Authors:
63
64Sten Wang <sten_wang@davicom.com.tw >   : Original Author
65
66Contributors:
67
68- Marcelo Tosatti <marcelo@conectiva.com.br>
69- Alan Cox <alan@lxorguk.ukuu.org.uk>
70- Jeff Garzik <jgarzik@pobox.com>
71- Vojtech Pavlik <vojtech@suse.cz>
72