readme.txt

来自「NATIONAL公司DP83816芯片Linux下驱动」· 文本 代码 · 共 48 行

TXT
48
字号
DP8381X - 10/100Mbps PCI Ethernet Controllers
Linux Driver Version - 1.6
Tested on Linux 2.6.X (Fedora 2/3/4)
Tested on Linux 2.4.X
MPL Version: 1.5
Mar-9, 2006

-----------------------------------------------------------------------------
 Quick Installation Notes
  [Refer to release-notes.txt under DP8381X for detailed instructions]
-----------------------------------------------------------------------------

BUILD
======
1. Untar the driver files - "tar -xvzf DP8381X-Linux-Ver-X.Y.tgz" 
2. Change directory to the DP8381X folder
3. Select the right make file (Makefile.2.x) depending on the kernel you
   are running (selects between 2.4.X and 2.6.X kernels) and rename it 
   as Makefile
4. Run the "make" command
   [This produces a loadable kernel module called macphy.ko for 2.6.x
       and macphy.o for 2.4.x]

/* Note: oai.h has numerous setting like disabling EEPROM, Big-endian mode operation etc. Please refer to the release-notes.txt and oai.h to alter behavior of the driver to suit your specific environment */ 

INSTALL
=======
The driver can be dynamically loaded (insmod) and unloaded (rmmod) from 
a running kernel using insmod/rmmod (for various load options refer to release-notes.txt).

# insmod macphy.ko [for 2.6.x kernel]
# insmod macphy.o [for 2.4.x kernel]
# rmmod macphy

CONFIGURATION
=============
1. Driver/device configuration can be made by passing load options while
   loading the driver. Refer to the file release-notes.txt in DP8381X folder
   to get the complete list of options (link, descriptor count etc.)

2. IP Configuration is done using the ifconfig command. Refer to man pages of
    ipconfig for detailed information.

3. Mac address can be set by calling the "ip" function directly too.
    ip link set ethX address AA:BB:CC:DD:EE:FF
    /* Note: change ethX to match your device and Mac address to match your desired setting */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?