diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-11-20 18:26:29 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-11-20 18:26:29 +0100 |
commit | bba9c619c79175b58359116b52a889e30a632d07 (patch) | |
tree | 6da3898d50880e96f2afa5d5139bd16263fccf42 /pcilib/datacpy.c | |
parent | fe5bca8604e8c381d3fe2cce3073dd6602d016d1 (diff) | |
download | pcitool-bba9c619c79175b58359116b52a889e30a632d07.tar.gz pcitool-bba9c619c79175b58359116b52a889e30a632d07.tar.bz2 pcitool-bba9c619c79175b58359116b52a889e30a632d07.tar.xz pcitool-bba9c619c79175b58359116b52a889e30a632d07.zip |
64-bit access to BAR memory
Diffstat (limited to 'pcilib/datacpy.c')
-rw-r--r-- | pcilib/datacpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcilib/datacpy.c b/pcilib/datacpy.c index 15dfbe9..27bff11 100644 --- a/pcilib/datacpy.c +++ b/pcilib/datacpy.c @@ -81,7 +81,7 @@ void *pcilib_datacpy(void * dst, void const * src, uint8_t size, size_t n, pcili size_t pos = 0; pcilib_datacpy_routine_t routine; - assert((size)&&(size < 64)); + assert((size)&&(size <= 8)); while (size >>= 1) ++pos; routine = pcilib_datacpy_routines[pos]; |