| 1 |
.. SPDX-License-Identifier: GPL-2.0 |
| 2 |
|
| 3 |
============================================================== |
| 4 |
Davicom DM9102(A)/DM9132/DM9801 fast ethernet driver for Linux |
| 5 |
============================================================== |
| 6 |
|
| 7 |
Note: This driver doesn't have a maintainer. |
| 8 |
|
| 9 |
|
| 10 |
This program is free software; you can redistribute it and/or |
| 11 |
modify it under the terms of the GNU General Public License |
| 12 |
as published by the Free Software Foundation; either version 2 |
| 13 |
of the License, or (at your option) any later version. |
| 14 |
|
| 15 |
This program is distributed in the hope that it will be useful, |
| 16 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 |
GNU General Public License for more details. |
| 19 |
|
| 20 |
|
| 21 |
This driver provides kernel support for Davicom DM9102(A)/DM9132/DM9801 ethernet cards ( CNET |
| 22 |
10/100 ethernet cards uses Davicom chipset too, so this driver supports CNET cards too ).If you |
| 23 |
didn't compile this driver as a module, it will automatically load itself on boot and print a |
| 24 |
line similar to:: |
| 25 |
|
| 26 |
dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17) |
| 27 |
|
| 28 |
If 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 |
|
| 32 |
This way it will autodetect the device mode.This is the suggested way to load the module.Or you can pass |
| 33 |
a 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 |
|
| 40 |
Next 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 |
|
| 46 |
Then you may have to modify the default routing table with command:: |
| 47 |
|
| 48 |
route add default eth0 |
| 49 |
|
| 50 |
|
| 51 |
Now your ethernet card should be up and running. |
| 52 |
|
| 53 |
|
| 54 |
TODO: |
| 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 |
|
| 62 |
Authors: |
| 63 |
|
| 64 |
Sten Wang <[email protected] > : Original Author |
| 65 |
|
| 66 |
Contributors: |
| 67 |
|
| 68 |
- Marcelo Tosatti <[email protected]> |
| 69 |
- Alan Cox <[email protected]> |
| 70 |
- Jeff Garzik <[email protected]> |
| 71 |
- Vojtech Pavlik <[email protected]> |