diskio: make maxtransfer per-device, cap to 127, imported from head syslinux-4.00-pre43
authorH. Peter Anvin <hpa@zytor.com>
Thu, 13 May 2010 04:23:13 +0000 (21:23 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 13 May 2010 04:23:13 +0000 (21:23 -0700)
commitae197a98b905a7da7872eef29dcbb0f822fa81de
tree8749bdaf86105d27506361cb673212e1ae2bc946
parentc6bebc44627afe5a652d4e305527ca12e90ff768
diskio: make maxtransfer per-device, cap to 127, imported from head

Make the maxtransfer per device, as it should be; properly imported
from the head loader (in case it is patched with -s).  Also enforce
capping to 127 for EBIOS and 63 for CBIOS.  This is structured so that
once EDD4 is approved we can remove the capping for that particular
subcase.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/diskstart.inc
core/fs/diskio.c
core/fs/fs.c
core/include/disk.h
core/isolinux.asm
core/pxelinux.asm