Summary: | ASTERISK-04789: tor2 doesn't work on x86_64 | ||
Reporter: | steveu (steveu) | Labels: | |
Date Opened: | 2005-08-07 06:13:21 | Date Closed: | 2008-06-07 11:00:15 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
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; | ||
Comments: | By: Mark Spencer (markster) 2005-08-08 02:39:34 Fixed in CVS head. By: Russell Bryant (russell) 2005-08-08 14:19:34 fixed in 1.0 By: Digium Subversion (svnbot) 2008-06-07 10:59:47 Repository: dahdi Revision: 718 U trunk/tor2.c ------------------------------------------------------------------------ r718 | markster | 2008-06-07 10:59:45 -0500 (Sat, 07 Jun 2008) | 2 lines Fix tor2 for 64 bit machines (bug ASTERISK-4789) ------------------------------------------------------------------------ http://svn.digium.com/view/dahdi?view=rev&revision=718 By: Digium Subversion (svnbot) 2008-06-07 11:00:15 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 ASTERISK-4789) ------------------------------------------------------------------------ http://svn.digium.com/view/dahdi?view=rev&revision=724 |