1. Apr 22, 2020
  2. Apr 20, 2020
    • Damian Wrobel's avatar
      Fix misleading indentation warnings · 9d6374af
      Damian Wrobel authored
      
      
      Fixes the following warnings:
      
       lbp.c: In function 'lbp_send':
       lbp.c:43:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
          43 |     if (LBP_SENDRECV_DEBUG)
             |     ^~
       lbp.c:45:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
          45 |  return send;
             |  ^~~~~~
       lbp.c: In function 'lbp_recv':
       lbp.c:55:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
          55 |     if (LBP_SENDRECV_DEBUG)
             |     ^~
       lbp.c:57:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
          57 |  return recv;
             |  ^~~~~~
      
      Signed-off-by: default avatarDamian Wrobel <dwrobel@ertelnet.rybnik.pl>
      9d6374af
    • Damian Wrobel's avatar
      Add GPL license text file · fee7da3c
      Damian Wrobel authored
      Add missing license text file which is needed to package mesaflash
      for Fedora linux distribution.
      
      The following command was used to obtain the license text file:
       $ wget -O COPYING https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
      
      
      
      Signed-off-by: default avatarDamian Wrobel <dwrobel@ertelnet.rybnik.pl>
      fee7da3c
  3. Apr 15, 2020
  4. Sep 15, 2019
  5. Feb 28, 2018
  6. Apr 28, 2017
  7. Oct 23, 2016
  8. Oct 16, 2016
  9. Jul 05, 2016
  10. Jul 03, 2016
  11. Jul 02, 2016
  12. Jul 01, 2016
    • Michael's avatar
      Merge pull request #12 from jepler/issue4 · 8bf79c04
      Michael authored
      pci: Cannot use memcpy() for PCI accesses
      8bf79c04
    • Jeff Epler's avatar
      pci: Cannot use memcpy() for PCI accesses · b60c5a2a
      Jeff Epler authored
      On some platforms (such as Debian Jessie amd64), this leads to failures
      like this:
      
          $ sudo mesaflash --device 5i24 --write 5i24_16_svst4_8.bit
          Checking file... OK
            File type: BIT file
          Erasing sector 0 for boot block
          BootBlock installed
          Failed to write valid boot sector
      
          You must power cycle board or use --reload command to load updated firmware.
      
      I twigged to this fact upon seeing '__memcpy_sse2_unaligned' in the
      debugger, which put me in mind of the fix we applied 3 years ago
      in linuxcnc at commit 12ba77d3b.
      
      Closes #4.
      b60c5a2a
  13. Mar 30, 2016
    • Jeff Epler's avatar
      make: fix dependency problem · 175effe0
      Jeff Epler authored
      
      
      When building with a large "-j" value, the build could fail with a message like
          gcc -o mesaflash mesaflash.o libanyio.a -lpci -lm
          gcc: error: libanyio.a: No such file or directory
          Makefile:70: recipe for target 'mesaflash' failed
          make: *** [mesaflash] Error 1
      make mesaflash explicitly depend on libanyio.a to avoid this.
      
      Signed-off-by: default avatarJeff Epler <jepler@unpythonic.net>
      175effe0
  14. Dec 21, 2015
  15. Oct 08, 2015