Installation Notes for SVME178 FDDI Driver ------------------------------------------ Version : 1.4 Release date : 1999-02-15 To build into kernel: ===================== 1. Copy ccFddi.a to your BSP library directory (/tornado/target/config/svme178/lib). 2. Edit the Makefile in the BSP directory (/tornado/target/config/svme178). Find the line MACH_EXTRA = and replace with MACH_EXTRA = ./lib/ccFddi.a 3. Add the following code fragment to config.h (before "#define DEFAULT_BOOT_LINE"): #define INCLUDE_FDDI #ifdef INCLUDE_FDDI #define NETIF_USR_DECL IMPORT int ccfddiattach (); #define NETIF_USR_ENTRIES { "fddi", ccfddiattach, /* Unit = */ 0, \ /* Receive buffers = */ 0 /* = use default */, \ /* Transmit buffers = */ 0 /* = use default */}, #endif /* INCLUDE_FDDI */ 4. Rebuild all vxWorks images. To load separately: =================== From the vxWorks shell type: ld < ccFddi.a Starting the driver: ==================== The driver is started with the ccfddiattach command. The syntax is as follows: ccfddiattach unit, nReceiveBuffers, nTransmitBuffers where: unit must be 0 (only one adapter is supported). nReceiveBuffers specifies the number of receive buffers to allocate. This is constrained to be in the range 10 - 100. If 0 is specified, a default value of 13 will be used. nTransmitBuffers specifies the number of transmit buffers to allocate. This is constrained to be in the range 10 - 100. If 0 is specified, a default value of 20 will be used. WARNING: Changing any of these parameters from the default values may have a profound effect on driver performance. Increasing the number of allocated buffers may worsen driver performance in some situations.