📄 readme
字号:
==================================================================================
Driver Overview
==================================================================================
AX88796B 3-in-1 Local Bus 8/16-bit Fast Ethernet Linux Kernel 2.4.x and 2.6.x Driver
The AX88796B Ethernet controller is a high performance and highly integrated
local CPU bus Ethernet controllers with embedded 10/100Mbps PHY/Transceiver
16K bytes SRAM and supports both 8-bit and 16-bit local CPU interfaces for any
embedded systems.
If you look for more details, please visit ASIX's web site (http://www.asix.com.tw).
Current Driver Version: 1.0.2.000
Release Date: Aug 12, 2008
==================================================================================
Revision History
==================================================================================
Version 1.0.0 06/02/2006
* Initial release
Version 1.0.0 27/03/2006
* Fixups Transmit Queue functions.
Version 1.1.0 20/09/2006
* Ported to support kernel 2.6.x.
Version 1.2.0 09/09/2008
* 1. Added 8-bit support.
* 2. Added EEPROM support.
* 3. Added PHY power process function.
==================================================================================
File Description
==================================================================================
README This file
ax88796b.c AX88796B Linux driver main file
ax88796b.h AX88796B Linux driver header file
Makefile AX88796B driver make file
COPYING GNU GENERAL PUBLIC LICENSE
==================================================================================
COMPILING DRIVER
==================================================================================
Prepare:
AX88796B Linux Driver Source.
Linux Kernel source code.
Cross-Compiler.
Getting Start:
1.Extracting the AX88796B source file by executing the following command.
[root@localhost]# tar jxvf ax88796b-arm-linux2.6.tar.bz2
2.Edit the makefile to specifie the path of target platform Linux Kernel source.
example for kernel 2.6.x:
KDIR = /work/linux-2.6.x
example for kernel 2.4.x:
KDIR = /work/linux-2.4.x/include
3.For kernel 2.4.x , you need to specify the path of Cross-Compiler
example
CROSS_COMPILE = /usr/local/arm/<versions>/bin/arm-linux-
4.Executing 'make' command to compiler AX88796B Driver.
5.If the compilation well, the ax88796b.ko(ax88796b.o) will be created under
the current directory.
==================================================================================
DRIVER PARAMETERS
==================================================================================
The following parameters can be set when using insmod.
EX: [root@localhost ax88796b]# insmod ax88796.ko mem=0x08000000
mem=0xNNNNNNNN
specifies the physical base address that AX88796B can be accessed.
Default value '0x08000000'.
irq=N
specifies the irq number. Default value '0x27'.
media=N
Set media mode (0=auto, 1=100full, 2=100half, 3=10full, 4=10half).
Default is 0
example: insmod ax88796b.ko(ax88796b.o) media=1 mem=0x08000000 irq=0x27
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -