Commit c981977d authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by David S. Miller

docs: networking: device drivers: convert dec/dmfe.txt to ReST

- add SPDX header;
- adjust titles and chapters, adding proper markups;
- comment out text-only TOC from html/pdf output;
- mark code blocks and literals as such;
- mark tables as such;
- adjust identation, whitespaces and blank lines where needed;
- add to networking/index.rst.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b6671d71
.. SPDX-License-Identifier: GPL-2.0
==============================================================
Davicom DM9102(A)/DM9132/DM9801 fast ethernet driver for Linux
==============================================================
Note: This driver doesn't have a maintainer. Note: This driver doesn't have a maintainer.
Davicom DM9102(A)/DM9132/DM9801 fast ethernet driver for Linux.
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License modify it under the terms of the GNU General Public License
...@@ -16,29 +21,29 @@ GNU General Public License for more details. ...@@ -16,29 +21,29 @@ GNU General Public License for more details.
This driver provides kernel support for Davicom DM9102(A)/DM9132/DM9801 ethernet cards ( CNET 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 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 didn't compile this driver as a module, it will automatically load itself on boot and print a
line similar to : line similar to::
dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17) dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
If you compiled this driver as a module, you have to load it on boot.You can load it with command : If you compiled this driver as a module, you have to load it on boot.You can load it with command::
insmod dmfe insmod dmfe
This way it will autodetect the device mode.This is the suggested way to load the module.Or you can pass 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 : a mode= setting to module while loading, like::
insmod dmfe mode=0 # Force 10M Half Duplex insmod dmfe mode=0 # Force 10M Half Duplex
insmod dmfe mode=1 # Force 100M Half Duplex insmod dmfe mode=1 # Force 100M Half Duplex
insmod dmfe mode=4 # Force 10M Full Duplex insmod dmfe mode=4 # Force 10M Full Duplex
insmod dmfe mode=5 # Force 100M Full Duplex insmod dmfe mode=5 # Force 100M Full Duplex
Next you should configure your network interface with a command similar to : Next you should configure your network interface with a command similar to::
ifconfig eth0 172.22.3.18 ifconfig eth0 172.22.3.18
^^^^^^^^^^^ ^^^^^^^^^^^
Your IP Address Your IP Address
Then you may have to modify the default routing table with command : Then you may have to modify the default routing table with command::
route add default eth0 route add default eth0
...@@ -48,10 +53,10 @@ Now your ethernet card should be up and running. ...@@ -48,10 +53,10 @@ Now your ethernet card should be up and running.
TODO: TODO:
Implement pci_driver::suspend() and pci_driver::resume() power management methods. - Implement pci_driver::suspend() and pci_driver::resume() power management methods.
Check on 64 bit boxes. - Check on 64 bit boxes.
Check and fix on big endian boxes. - Check and fix on big endian boxes.
Test and make sure PCI latency is now correct for all cases. - Test and make sure PCI latency is now correct for all cases.
Authors: Authors:
...@@ -60,7 +65,7 @@ Sten Wang <sten_wang@davicom.com.tw > : Original Author ...@@ -60,7 +65,7 @@ Sten Wang <sten_wang@davicom.com.tw > : Original Author
Contributors: Contributors:
Marcelo Tosatti <marcelo@conectiva.com.br> - Marcelo Tosatti <marcelo@conectiva.com.br>
Alan Cox <alan@lxorguk.ukuu.org.uk> - Alan Cox <alan@lxorguk.ukuu.org.uk>
Jeff Garzik <jgarzik@pobox.com> - Jeff Garzik <jgarzik@pobox.com>
Vojtech Pavlik <vojtech@suse.cz> - Vojtech Pavlik <vojtech@suse.cz>
...@@ -35,6 +35,7 @@ Contents: ...@@ -35,6 +35,7 @@ Contents:
cirrus/cs89x0 cirrus/cs89x0
davicom/dm9000 davicom/dm9000
dec/de4x5 dec/de4x5
dec/dmfe
.. only:: subproject and html .. only:: subproject and html
......
...@@ -4694,7 +4694,7 @@ F: net/ax25/sysctl_net_ax25.c ...@@ -4694,7 +4694,7 @@ F: net/ax25/sysctl_net_ax25.c
DAVICOM FAST ETHERNET (DMFE) NETWORK DRIVER DAVICOM FAST ETHERNET (DMFE) NETWORK DRIVER
L: netdev@vger.kernel.org L: netdev@vger.kernel.org
S: Orphan S: Orphan
F: Documentation/networking/device_drivers/dec/dmfe.txt F: Documentation/networking/device_drivers/dec/dmfe.rst
F: drivers/net/ethernet/dec/tulip/dmfe.c F: drivers/net/ethernet/dec/tulip/dmfe.c
DC390/AM53C974 SCSI driver DC390/AM53C974 SCSI driver
......
...@@ -138,7 +138,7 @@ config DM9102 ...@@ -138,7 +138,7 @@ config DM9102
This driver is for DM9102(A)/DM9132/DM9801 compatible PCI cards from This driver is for DM9102(A)/DM9132/DM9801 compatible PCI cards from
Davicom (<http://www.davicom.com.tw/>). If you have such a network Davicom (<http://www.davicom.com.tw/>). If you have such a network
(Ethernet) card, say Y. Some information is contained in the file (Ethernet) card, say Y. Some information is contained in the file
<file:Documentation/networking/device_drivers/dec/dmfe.txt>. <file:Documentation/networking/device_drivers/dec/dmfe.rst>.
To compile this driver as a module, choose M here. The module will To compile this driver as a module, choose M here. The module will
be called dmfe. be called dmfe.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment