0001 .. SPDX-License-Identifier: GPL-2.0
0002
0003 ==============================================================
0004 Davicom DM9102(A)/DM9132/DM9801 fast ethernet driver for Linux
0005 ==============================================================
0006
0007 Note: This driver doesn't have a maintainer.
0008
0009
0010 This program is free software; you can redistribute it and/or
0011 modify it under the terms of the GNU General Public License
0012 as published by the Free Software Foundation; either version 2
0013 of the License, or (at your option) any later version.
0014
0015 This program is distributed in the hope that it will be useful,
0016 but WITHOUT ANY WARRANTY; without even the implied warranty of
0017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0018 GNU General Public License for more details.
0019
0020
0021 This driver provides kernel support for Davicom DM9102(A)/DM9132/DM9801 ethernet cards ( CNET
0022 10/100 ethernet cards uses Davicom chipset too, so this driver supports CNET cards too ).If you
0023 didn't compile this driver as a module, it will automatically load itself on boot and print a
0024 line similar to::
0025
0026 dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
0027
0028 If you compiled this driver as a module, you have to load it on boot.You can load it with command::
0029
0030 insmod dmfe
0031
0032 This way it will autodetect the device mode.This is the suggested way to load the module.Or you can pass
0033 a mode= setting to module while loading, like::
0034
0035 insmod dmfe mode=0 # Force 10M Half Duplex
0036 insmod dmfe mode=1 # Force 100M Half Duplex
0037 insmod dmfe mode=4 # Force 10M Full Duplex
0038 insmod dmfe mode=5 # Force 100M Full Duplex
0039
0040 Next you should configure your network interface with a command similar to::
0041
0042 ifconfig eth0 172.22.3.18
0043 ^^^^^^^^^^^
0044 Your IP Address
0045
0046 Then you may have to modify the default routing table with command::
0047
0048 route add default eth0
0049
0050
0051 Now your ethernet card should be up and running.
0052
0053
0054 TODO:
0055
0056 - Implement pci_driver::suspend() and pci_driver::resume() power management methods.
0057 - Check on 64 bit boxes.
0058 - Check and fix on big endian boxes.
0059 - Test and make sure PCI latency is now correct for all cases.
0060
0061
0062 Authors:
0063
0064 Sten Wang <sten_wang@davicom.com.tw > : Original Author
0065
0066 Contributors:
0067
0068 - Marcelo Tosatti <marcelo@conectiva.com.br>
0069 - Alan Cox <alan@lxorguk.ukuu.org.uk>
0070 - Jeff Garzik <jgarzik@pobox.com>
0071 - Vojtech Pavlik <vojtech@suse.cz>