FreddyXin / ax88179_178a

ASIX AX88179_178A Linux Driver Source Code
12 stars 12 forks source link

ax88179_178a

ASIX AX88179_178A Linux Driver Source Code

============================================================================ ASIX AX88179 USB 3.0 Gigabit Ethernet Network Adapter Driver Compilation & Configuration on the Linux

================== Revision History :

Version 1.4.0 Feb. 26, 2013

Version 1.3.0 Dec. 13, 2012

Version 1.2.0 Aug. 28, 2012

Version 1.1.0 May. 08, 2012

Version 1.0.0 Beta Jan. 4, 2012

================ Prerequisites

Prepare to build the driver, you need the Linux kernel sources installed on the build machine, and make sure that the version of the running kernel must match the installed kernel sources. If you don't have the kernel sources, you can get it from www.kernel.org or contact to your Linux distributor. If you don't know how to do, please refer to KERNEL-HOWTO.

Note: Please make sure the kernel is built with one of the "Support for Host-side, EHCI, OHCI, or UHCI" option support.

================ File Description

README This file ax88179.c AX88179 Linux driver main file ax88179.h AX88179 Linux driver header file Makefile AX88179 driver make file COPYING GNU GERNERAL LICENSE

=========================== Conditional Compilation Flag

================ Getting Start

  1. Extract the compressed driver source file to your template directory by the following command:

    [root@localhost template]# tar -xf DRIVER_SOURCE_PACKAGE.tar.bz2

  2. Now, the driver source files should be extracted under the current directory. Executing the following command to compile the driver:

    [root@localhost template]# make

  3. If the compilation is well, the asix.ko will be created under the current directory.

  4. If you want to use modprobe command to mount the driver, executing the following command to install the driver into your Linux:

    [root@localhost template]# make install

================ Usage

  1. If you want to load the driver manually, go to the driver directory and execute the following commands:

    [root@localhost template]# insmod ax88179.ko

  2. If you had installed the driver during driver compilation, then you can use the following command to load the driver automatically.

    [root@localhost anywhere]# modprobe ax88179

If you want to unload the driver, just executing the following command:

[root@localhost anywhere]# rmmod ax88179

=============== DRIVER PARAMETERS

The following parameters can be set when using insmod.

msg_enable=0xNNNNNNN specifies the msg_enable of usbnet.

example: insmod ax88179.ko msg_enable=0x00000000