72 lines · plain
1.. SPDX-License-Identifier: GPL-2.02 3==============================================================4Davicom DM9102(A)/DM9132/DM9801 fast ethernet driver for Linux5==============================================================6 7Note: This driver doesn't have a maintainer.8 9 10This program is free software; you can redistribute it and/or11modify it under the terms of the GNU General Public License12as published by the Free Software Foundation; either version 213of 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 of17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the18GNU General Public License for more details.19 20 21This driver provides kernel support for Davicom DM9102(A)/DM9132/DM9801 ethernet cards ( CNET2210/100 ethernet cards uses Davicom chipset too, so this driver supports CNET cards too ).If you23didn't compile this driver as a module, it will automatically load itself on boot and print a24line 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 dmfe31 32This way it will autodetect the device mode.This is the suggested way to load the module.Or you can pass33a mode= setting to module while loading, like::34 35 insmod dmfe mode=0 # Force 10M Half Duplex36 insmod dmfe mode=1 # Force 100M Half Duplex37 insmod dmfe mode=4 # Force 10M Full Duplex38 insmod dmfe mode=5 # Force 100M Full Duplex39 40Next you should configure your network interface with a command similar to::41 42 ifconfig eth0 172.22.3.1843 ^^^^^^^^^^^44 Your IP Address45 46Then you may have to modify the default routing table with command::47 48 route add default eth049 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 Author65 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