BARR/PRINT for TCP/IP manual

4. Configure the ETHERNET PCI Adapter Driver

Adapter drivers (software) allow the PC/TCP kernel to interface with an Ethernet adapter (hardware). Drivers are intermediate pieces of software that manage access to the adapter. This chapter provides driver configuration examples specific to the ETHERNET PCI adapter.


4.1 Choose a Stack

Choose one of these stacks commonly used with the ETHERNET PCI adapter:

As of this publication date, no packet drivers were available for the ETHERNET PCI adapter.

Barr Systems recommends the following configurations:

Your BARR/PRINT for TCP/IP package includes most of the files required for the NDIS and ODI configurations as shown in Table 4-1.

Table 4-1. Driver File Locations

Driver

Included with Barr Software

Included with Intel Software

Included with FTP Software

Other Files

NDIS

NETBIND.EXE
PROTMAN.SYS
PROTOCOL.INI1

E100B.DOS

DIS_PKT.GUP
ETHDRV.EXE

 

ODI

 

E100BODI.COM
LSL.COM

ODIPKT.COM
ETHDRV.EXE

NET.CFG2

1Rename the Barr PROTOCOL.PCI file to PROTOCOL.INI.
2
You must build your own NET.CFG file.

The Testing Driver Configuration section of your PC/TCP Kernel User’s Guide might be helpful during this process. For information about configurations other than those listed, consult your PC/TCP Kernel User’s Guide or contact Barr Technical Support.

4.2 Configure the NDIS Driver

Microsoft and 3Com codeveloped NDIS. You must use the following files for this configuration.

Table 4-2. NDIS Configuration Files

File

Description

NETBIND.EXE

Resolves references set up by PROTMAN.SYS

PROTMAN.SYS

Protocol manager for NDIS

PROTOCOL.INI

Configuration file used by NDIS

E100B.DOS

Media Access Control (MAC) driver

DIS_PKT.GUP

PC/TCP conversion module to communicate with the NDIS driver

ETHDRV.EXE

PC/TCP kernel

If you do not find these files in your PC/TCP directory (the default directory is C:\PCTCP), copy them from the sources listed in Table 4-1.

Make the configuration changes to the files described in this section.

PROTOCOL.INI Example

If you already have a PROTOCOL.INI file, modify it with a program editor to include the following statements for the PC/TCP kernel and the ETHERNET PCI adapter.

NDIS uses the internal label E100B for the ETHERNET PCI adapter.

The INTVEC parameter specifies the software interrupt for communications between the packet driver and the kernel. The default interrupt used by the PC/TCP kernel is 0x60. See your PC/TCP Kernel User’s Guide for valid values.

If you do not have a PROTOCOL.INI file, create one based on the sample file (PROTOCOL.PCI) provided in C:\BARR.

CONFIG.SYS Example

Make a backup copy of your CONFIG.SYS file and name it CONFIG.BAR. Then you can modify the CONFIG.SYS file with a program editor.

Add these statements to the end of the CONFIG.SYS file.

The Device statement for DIS_PKT.GUP loads the PC/TCP packet conversion module. This statement enables the PC/TCP kernel to work with NDIS.

AUTOEXEC.BAT Example

Make a backup copy of your AUTOEXEC.BAT file and name it AUTOEXEC.BAR. Then you can modify the AUTOEXEC.BAT file with a program editor.

Add the NETBIND.EXE statement to the beginning of the AUTOEXEC.BAT file.

Add the ETHDRV.EXE statement, which loads the PC/TCP kernel, to the end of the AUTOEXEC.BAT file.

After you modify the CONFIG.SYS and AUTOEXEC.BAT files and install the Barr software, restart your PC.

4.3 Configure the ODI Driver

Apple Computers, Inc. and Novell codeveloped ODI. You must use the following files for this configuration.

Table 4-3. ODI Configuration Files

File

Description

E100BODI.COM

Multiple-link interface driver (MLID)

LSL.COM

Link support layer (LSL)

ODIPKT.COM

PC/TCP conversion module used to communicate with the ODI driver

ETHDRV.EXE

PC/TCP kernel

NET.CFG

Configuration file used by ODI.COM

If you do not find these files in your PC/TCP directory (the default directory is C:\PCTCP), copy them from the sources listed in Table 4-1.

Make the necessary configuration changes to the NET.CFG and AUTOEXEC.BAT files.

NET.CFG Example

Make a backup copy of your NET.CFG file and name it NET.BAR. Then you can modify the NET.CFG file with a program editor.

Add a Frame entry for the PC/TCP frame type of ETHERNET_II. The ETHERNET PCI adapter uses this frame type.

AUTOEXEC.BAT Example

Make a backup copy of your AUTOEXEC.BAT file and name it AUTOEXEC.BAR. Then you can modify the AUTOEXEC.BAT file with a program editor.

The ODI driver is E100BODI.COM for the ETHERNET PCI adapter. You must load the packet converter ODIPKT.COM after the ODI driver. Then add the ETHDRV.EXE statement, which loads the PC/TCP kernel, to the end of the AUTOEXEC.BAT file.

After you modify the NET.CFG and AUTOEXEC.BAT files and install the Barr software, restart your PC.