plan9fox/sys
cinap_lenrek be3ba38c45 libfis: fix wrong shift for lba40 (thanks geoff and charles)
---------- Forwarded message ----------
From: Charles Forsyth <charles.forsyth@gmail.com>
Date: 13 September 2015 at 12:38
Subject: fis bug
To: erik quanstrom <quanstro@quanstro.net>


geoff spotted something similar in sdiahci.c, but it's in libfis as well:

c[Flba24] = lba >> 24;
c[Flba32] = lba >> 32;
c[Flba40] = lba >> 48;

>> 48??  should be >> 40, especially with drive sizes getting up there.
2015-09-13 13:51:00 +02:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: Please be respectful in this forum. 2015-09-03 17:01:49 -04:00
include libthread: get rid of tprivalloc()/tprivfree()/tprivdata() and _workerdata() (thanks qrstuv) 2015-09-06 23:25:14 +02:00
lib dist/mkfile: add target for the aijuboard *.zynq.img 2015-09-05 03:29:17 +02:00
man libc: remove privfree(), simplify privalloc() 2015-09-06 20:43:05 +02:00
src libfis: fix wrong shift for lba40 (thanks geoff and charles) 2015-09-13 13:51:00 +02:00