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