Perle Serial Drivers
  

 
Technical Solutions
1x1pixel.gif (43 bytes)


Trueport driver for RedHat Enterprise Linux 3

Issue ID: ?
Date: January 20, 2006
Firmware: trueport-5.0.2-RHEL3-1.src.rpm trueport-5.0.2-RHEL3-1.tgz


The information in this article applies to: trueport-5.0.2-RHEL3-1.src.rpm and trueport-5.0.2-RHEL3-1.tgz
SYMPTOMS

The standard trueport driver for Linux will not compile under RedHat Enterprise Linux 3

CAUSE

The driver makes use of a structure called tty_struct from the file include/linux/tty.h in the kernel directory. In this structure is a member called count. In the "vanilla" Linux 2.4.21 kernel, count is declared as a simple int. In the RedHat Enterprise Linux 2.4.21 kernel, count has been changed to an atomic_t structure.

RESOLUTION

A special version of the driver was created to handle the new count member properly (and prevent compiler errors) in the same way that all other drivers for RedHat Enterprise Linux, that make use of this member, have had to be changed.