Installation of AccelePort xp driver under Red Hat Enterprise WS v3

In order to successfully install the driver, it was necessary to perform the following to install the dgdm-1.09-0 driver. I have not yet had the opportunity to test the driver. I will be at the site where the card is installed the week of Jan 12, 2004. I will test the driver then.

In /usr/src: ‘ln -s linux-2.4 linux’

Install tcl, tk, expect, itcl, tix from RedHat 9 distribution to get tcl.h file.

Edit driver source as given in following diff:

diff -r dgdm-1.09-0.FCS/dgdm_driver.c …/BUILD/dgdm-1.09-0/dgdm_driver.c
3065c3065
< if (remap_page_range(vma->vm_start, addr, vma->vm_end - vma->vm_start,

> if (remap_page_range(vma, vma->vm_start, addr, vma->vm_end - vma->vm_sta
rt,
diff -r dgdm-1.09-0.FCS/dgdm_tty.c …/BUILD/dgdm-1.09-0/dgdm_tty.c
1658c1658
< if((tty->count == 1) && (dc->opencnt != 1)) {

> if((tty->count.counter == 1) && (dc->opencnt != 1)) {
1908c1908
< dc->channum, dc->dxbchan, dc->opencnt, tty->count));

> dc->channum, dc->dxbchan, dc->opencnt, tty->count.counter))
;
diff -r dgdm-1.09-0.FCS/Makefile …/BUILD/dgdm-1.09-0/Makefile
160,161c160,161
< KCFLAGS := $(KCFLAGS) -m486 -malign-loops=2 -malign-jumps=2
< -malign-functions=2 -DCPU=586

> KCFLAGS := $(KCFLAGS) -m486 -falign-loops=2 -falign-jumps=2
> -falign-functions=2 -DCPU=586

Red Hat’s new 2.4.20+ kernels exhibit the “remap” error. There is a pre-release driver which will work on the newer kernels (including 2.6 and Red Hat AS/ES/WS/Fedora).

Contact Digi Technical Support so they can provide you with a copy of the beta driver.

http://www.digi.com/support/eservice/eservicelogin.jsp