📄 sk98lin.txt
字号:
(C)Copyright 1999-2004 Marvell(R).All rights reserved===========================================================================sk98lin.txt created 13-Feb-2004Readme File for sk98lin v6.23Marvell Yukon/SysKonnect SK-98xx Gigabit Ethernet Adapter family driver for LINUXThis file contains 1 Overview 2 Required Files 3 Installation 3.1 Driver Installation 3.2 Inclusion of adapter at system start 4 Driver Parameters 4.1 Per-Port Parameters 4.2 Adapter Parameters 5 Large Frame Support 6 VLAN and Link Aggregation Support (IEEE 802.1, 802.1q, 802.3ad) 7 Troubleshooting===========================================================================1 Overview===========The sk98lin driver supports the Marvell Yukon and SysKonnect SK-98xx/SK-95xx compliant Gigabit Ethernet Adapter on Linux. It has been tested with Linux on Intel/x86 machines.***2 Required Files=================The linux kernel source.No additional files required.***3 Installation===============It is recommended to download the latest version of the driver from the SysKonnect web site www.syskonnect.com. If you have downloaded the latestdriver, the Linux kernel has to be patched before the driver can be installed. For details on how to patch a Linux kernel, refer to the patch.txt file.3.1 Driver Installation------------------------The following steps describe the actions that are required to installthe driver and to start it manually. These steps should be carriedout for the initial driver setup. Once confirmed to be ok, they canbe included in the system start.NOTE 1: To perform the following tasks you need 'root' access.NOTE 2: In case of problems, please read the section "Troubleshooting" below.The driver can either be integrated into the kernel or it can be compiled as a module. Select the appropriate option during the kernel configuration.Compile/use the driver as a module----------------------------------To compile the driver, go to the directory /usr/src/linux andexecute the command "make menuconfig" or "make xconfig" and proceed as follows:To integrate the driver permanently into the kernel, proceed as follows:1. Select the menu "Network device support" and then "Ethernet(1000Mbit)"2. Mark "Marvell Yukon Chipset / SysKonnect SK-98xx family support" with (*) 3. Build a new kernel when the configuration of the above options is finished.4. Install the new kernel.5. Reboot your system.To use the driver as a module, proceed as follows:1. Enable 'loadable module support' in the kernel.2. For automatic driver start, enable the 'Kernel module loader'.3. Select the menu "Network device support" and then "Ethernet(1000Mbit)"4. Mark "Marvell Yukon Chipset / SysKonnect SK-98xx family support" with (M)5. Execute the command "make modules".6. Execute the command "make modules_install". The appropriate modules will be installed.7. Reboot your system.Load the module manually------------------------To load the module manually, proceed as follows:1. Enter "modprobe sk98lin".2. If a Marvell Yukon or SysKonnect SK-98xx adapter is installed in your computer and you have a /proc file system, execute the command: "ls /proc/net/sk98lin/" This should produce an output containing a line with the following format: eth0 eth1 ... which indicates that your adapter has been found and initialized. NOTE 1: If you have more than one Marvell Yukon or SysKonnect SK-98xx adapter installed, the adapters will be listed as 'eth0', 'eth1', 'eth2', etc. For each adapter, repeat steps 3 and 4 below. NOTE 2: If you have other Ethernet adapters installed, your Marvell Yukon or SysKonnect SK-98xx adapter will be mapped to the next available number, e.g. 'eth1'. The mapping is executed automatically. The module installation message (displayed either in a system log file or on the console) prints a line for each adapter found containing the corresponding 'ethX'.3. Select an IP address and assign it to the respective adapter by entering: ifconfig eth0 <ip-address> With this command, the adapter is connected to the Ethernet. SK-98xx Gigabit Ethernet Server Adapters: The yellow LED on the adapter is now active, the link status LED of the primary port is active and the link status LED of the secondary port (on dual port adapters) is blinking (if the ports are connected to a switch or hub). SK-98xx V2.0 Gigabit Ethernet Adapters: The link status LED is active. In addition, you will receive a status message on the console stating "ethX: network connection up using port Y" and showing the selected connection parameters (x stands for the ethernet device number (0,1,2, etc), y stands for the port name (A or B)). NOTE: If you are in doubt about IP addresses, ask your network administrator for assistance. 4. Your adapter should now be fully operational. Use 'ping <otherstation>' to verify the connection to other computers on your network.5. To check the adapter configuration view /proc/net/sk98lin/[devicename]. For example by executing: "cat /proc/net/sk98lin/eth0" Unload the module-----------------To stop and unload the driver modules, proceed as follows:1. Execute the command "ifconfig eth0 down".2. Execute the command "rmmod sk98lin".3.2 Inclusion of adapter at system start-----------------------------------------Since a large number of different Linux distributions are available, we are unable to describe a general installation procedurefor the driver module.Because the driver is now integrated in the kernel, installation shouldbe easy, using the standard mechanism of your distribution.Refer to the distribution's manual for installation of ethernet adapters.***4 Driver Parameters====================Parameters can be set at the command line after the module has been loaded with the command 'modprobe'.In some distributions, the configuration tools are able to pass parametersto the driver module.If you use the kernel module loader, you can set driver parametersin the file /etc/modprobe.conf (or /etc/modules.conf in 2.4 or earlier).To set the driver parameters in this file, proceed as follows:1. Insert a line of the form : options sk98lin ... For "...", the same syntax is required as described for the command line parameters of modprobe below.2. To activate the new parameters, either reboot your computer or unload and reload the driver. The syntax of the driver parameters is: modprobe sk98lin parameter=value1[,value2[,value3...]] where value1 refers to the first adapter, value2 to the second etc.NOTE: All parameters are case sensitive. Write them exactly as shown below.Example:Suppose you have two adapters. You want to set auto-negotiationon the first adapter to ON and on the second adapter to OFF.You also want to set DuplexCapabilities on the first adapterto FULL, and on the second adapter to HALF.Then, you must enter: modprobe sk98lin AutoNeg_A=On,Off DupCap_A=Full,HalfNOTE: The number of adapters that can be configured this way is limited in the driver (file skge.c, constant SK_MAX_CARD_PARAM). The current limit is 16. If you happen to install more adapters, adjust this and recompile.4.1 Per-Port Parameters------------------------These settings are available for each port on the adapter.In the following description, '?' stands for the port forwhich you set the parameter (A or B).Speed-----Parameter: Speed_?Values: 10, 100, 1000, AutoDefault: AutoThis parameter is used to set the speed capabilities. It is only valid for the SK-98xx V2.0 copper adapters.Usually, the speed is negotiated between the two ports during link establishment. If this fails, a port can be forced to a specific settingwith this parameter.Auto-Negotiation----------------Parameter: AutoNeg_?Values: On, Off, SenseDefault: On The "Sense"-mode automatically detects whether the link partner supportsauto-negotiation or not.Duplex Capabilities-------------------Parameter: DupCap_?Values: Half, Full, BothDefault: BothThis parameters is only relevant if auto-negotiation for this port is not set to "Sense". If auto-negotiation is set to "On", all three valuesare possible. If it is set to "Off", only "Full" and "Half" are allowed.This parameter is useful if your link partner does not support allpossible combinations.Flow Control------------Parameter: FlowCtrl_?Values: Sym, SymOrRem, LocSend, NoneDefault: SymOrRemThis parameter can be used to set the flow control capabilities the port reports during auto-negotiation. It can be set for each port individually.Possible modes: -- Sym = Symmetric: both link partners are allowed to send PAUSE frames -- SymOrRem = SymmetricOrRemote: both or only remote partner are allowed to send PAUSE frames -- LocSend = LocalSend: only local link partner is allowed to send PAUSE frames -- None = no link partner is allowed to send PAUSE frames NOTE: This parameter is ignored if auto-negotiation is set to "Off".Role in Master-Slave-Negotiation (1000Base-T only)--------------------------------------------------Parameter: Role_?Values: Auto, Master, SlaveDefault: AutoThis parameter is only valid for the SK-9821 and SK-9822 adapters.For two 1000Base-T ports to communicate, one must take the role of themaster (providing timing information), while the other must be the slave. Usually, this is negotiated between the two ports during link establishment. If this fails, a port can be forced to a specific settingwith this parameter.4.2 Adapter Parameters
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -