3Com 3C996B-T Network Card User Manual


 
7 Linux Driver Setup
72
Configuration Scripts
Both team-sample and team-gec are configuration scripts that follow the same syntax,
as follows:
TEAM_ID: this number uniquely identifies a team.
TEAM_TYPE: 0 = SLB, 1 = Generic Trunking/GEC/FEC
TEAM_NAME: ascii name of the team
TEAM_PAx_NAME: ASCII name of the physical interface x, where x can be 0 to 7.
TEAM_PAx_ROLE: role of the physical interface x 0 = Primary, 1 = Hot-standby. This
field must be 0 for Generic Trunking/GEC/FEC team.
TEAM_VAx_NAME: ASCII name of the virtual interface x, where x can be 0 to 63
TEAM_VAX_VLAN: 802.1p VLAN ID of the virtual interface x. For untagged virtual
interface, i.e., without VLAN enable, set it to 0. The valid VLAN ID can be 0 to 4094.
NICE Patches
Also included in this distributions are network device drivers patched with NICE support.
These drivers are originally taken from Linux 2.2.16 kernel distribution. To install
patched drivers:
1
Copy the NICE header file, “nicext.h”, to the Linux kernel include directory as follows:
cp /usr/src/basplnx-{version}/nicext.h user/src/linux/include/
linux
where /usr/src is the temp directory you created when you installed the “Advanced
Server Features” on page 67.
2
Rename the original network device driver under the Linux kernel source tree /usr/src/
linux/drivers/net:
mv /usr/src/linux/drivers/net/3c59x.c /usr/src/linux/drivers/
net/3c9x.orig
3
Copy the patched drivers to the Linux kernel network driver source directory /usr/src/
linux/drivers/net:
cp 3c59x.c /usr/src/linux/drivers/net/3c59x.c
4
Follow the kernel rebuild instructions to configure kernel support of these drivers
as follows:
CD /usr/src/linux
make config
5
If the patched drivers are configured into kernel, go to step 7. If the patched drivers
are configured as module, go to step 6.
6
In the case of supporting only a module version of these drivers, it is possible to run
the following steps to compile the patched driver, then install them into the proper
module directory:
make modules
make modules_install
There is no need to compile the complete kernel, go to step (8).
7
Rebuild the kernel to compile these patched drivers, as follows:
make dep
make clean
make bzImage
8
Either reboot the system or unload/load the patched modules. Then run configuration
scripts to test the patch.