[asterisk-bugs] [Asterisk 0004914]: tor2 doesn't work on x86_64

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 11:00:16 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=4914 
====================================================================== 
Reported By:                steveu
Assigned To:                markster
====================================================================== 
Project:                    Asterisk
Issue ID:                   4914
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           I did not set the version :( 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             08-07-2005 06:13 CDT
Last Modified:              06-07-2008 11:00 CDT
====================================================================== 
Summary:                    tor2 doesn't work on x86_64
Description: 
The 32 bit memory buffer in the tor2 drivers in 1.0.9 and CVS head are
declared as long, which maked them 64 bit on an x86_64 machine. This
scrambles things up rather nastily. The following patch fixes this. I
haven't tested very thoroughly, so there might still be more subtle issues.
I can, however, now make MFC/R2 calls with one of these cards.

100c100
<       volatile unsigned long *mem32;  /* Virtual representation of 32
bit Xilinx memory area */
---
>       volatile unsigned int *mem32;   /* Virtual representation of 32
bit Xilinx memory area */
1175c1175
<       unsigned long rxword,txword;
---
>       unsigned int rxword,txword;

====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-07-08 11:00  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 724

U   branches/v1-0/tor2.c

------------------------------------------------------------------------
r724 | russell | 2008-06-07 11:00:14 -0500 (Sat, 07 Jun 2008) | 2 lines

fix for 64 bit arch (bug http://bugs.digium.com/view.php?id=4914)

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=724 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 11:00  svnbot         Checkin                                      
06-07-08 11:00  svnbot         Note Added: 0088057                          
======================================================================




More information about the asterisk-bugs mailing list