|
From: David G. <dga...@gm...> - 2018-08-01 09:58:51
|
Hi Roger, thanks for the bug report. 2018-08-01 3:28 GMT+02:00 Roger Burrows <an...@xp...>: > Hi all, > There's a problem in isp116x-hcd.c (present in both the Ethernat & NetUSBee > controller drivers). If the buffer is not word-aligned, the data is > byte-swapped by the read or write process. Word-aligned buffers are OK. The > error is in read_ptddata_from_fifo()/write_ptddata_to_fifo(). > The data should be byte-swapped, the word-align buffers do it too. Could you please be more specific? Perhaps you mean we shouldn't swap bytes in the latest two bytes in the data chunk when the length is an odd number?, lines 556 and 595 in the NetUSBee driver code. |