1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 <2015> 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 <2015> 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: signal enable/disable in drvSIS3820 driver |
From: | Mark Rivers <[email protected]> |
To: | "'[email protected]'" <[email protected]>, "[email protected]" <[email protected]>, "[email protected]" <[email protected]> |
Date: | Thu, 24 Sep 2015 16:36:23 +0000 |
Hi, While using a pull request on github is a good approach in general, in this case it is more work for Hovanes than necessary, because he is using a modified version of the driver, and so he would need to patch
both his version and the original version. The problem does indeed occur 2 places in drvSSIS3820.cpp, and also in 1 place in drvSIS3801.cpp. I have fixed both and pushed the fixes back to github. My fix is very similar but not identical to the fix
that Hovanes suggested. I also fixed a number of compiler warnings. Mark From: [email protected] [mailto:[email protected]]
On Behalf Of [email protected] Hi Hovanes, The “mca” module is now on github which makes it a lot easier to feedback fixes to the developers. I suggest that you make a github fork of the
mca repository from here: https://github.com/epics-modules/mca then apply your change to your fork and issue a Pull Request back to the original repository. Then the maintainer(s) can review, discuss and hopefully
accept the change all in one place. If you are not familiar with git/github then the github help pages are a good starting point – this one will take you through the forking/pull
request workflows: https://help.github.com/articles/fork-a-repo/ Cheers, Ulrik From:
[email protected] [mailto:[email protected]]
On Behalf Of Hovanes Egiyan Hi,
disableMask = ( allEnabled << maxSignals_ );
if( maxSignals_ >= SIS38XX_MAX_SIGNALS ) disableMask = 0;
vmeWrite32((volatile unsigned int*)®isters_->copy_disable_reg, disableMask );
The same issue probably will arise at line# 521 (SCALER mode):
-- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please
notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. |