2005-06-21 06:32:52 +08:00
|
|
|
Davicom DM9102(A)/DM9132/DM9801 fast ethernet driver for Linux.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
of the License, or (at your option) any later version.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
This driver provides kernel support for Davicom DM9102(A)/DM9132/DM9801 ethernet cards ( CNET
|
|
|
|
10/100 ethernet cards uses Davicom chipset too, so this driver supports CNET cards too ).If you
|
|
|
|
didn't compile this driver as a module, it will automatically load itself on boot and print a
|
|
|
|
line similar to :
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
If you compiled this driver as a module, you have to load it on boot.You can load it with command :
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
insmod dmfe
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
This way it will autodetect the device mode.This is the suggested way to load the module.Or you can pass
|
|
|
|
a mode= setting to module while loading, like :
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
insmod dmfe mode=0 # Force 10M Half Duplex
|
|
|
|
insmod dmfe mode=1 # Force 100M Half Duplex
|
|
|
|
insmod dmfe mode=4 # Force 10M Full Duplex
|
|
|
|
insmod dmfe mode=5 # Force 100M Full Duplex
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
Next you should configure your network interface with a command similar to :
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
ifconfig eth0 172.22.3.18
|
|
|
|
^^^^^^^^^^^
|
2006-10-04 04:45:33 +08:00
|
|
|
Your IP Address
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
Then you may have to modify the default routing table with command :
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
route add default eth0
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
Now your ethernet card should be up and running.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
TODO:
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
Implement pci_driver::suspend() and pci_driver::resume() power management methods.
|
|
|
|
Check on 64 bit boxes.
|
|
|
|
Check and fix on big endian boxes.
|
|
|
|
Test and make sure PCI latency is now correct for all cases.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
Authors:
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-06-21 06:32:52 +08:00
|
|
|
Sten Wang <sten_wang@davicom.com.tw > : Original Author
|
|
|
|
Tobias Ringstrom <tori@unhappy.mine.nu> : Current Maintainer
|
|
|
|
|
|
|
|
Contributors:
|
|
|
|
|
|
|
|
Marcelo Tosatti <marcelo@conectiva.com.br>
|
|
|
|
Alan Cox <alan@redhat.com>
|
|
|
|
Jeff Garzik <jgarzik@pobox.com>
|
|
|
|
Vojtech Pavlik <vojtech@suse.cz>
|