+-- On Wed, 20 Jan 2016, Peter Maydell wrote --+ | This isn't the only bit of sd.c that assumes that the controller | model hasn't passed it an oversize command number -- | sd_do_command() calls cmd_valid_while_locked() which uses req.cmd | as an index into sd_cmd_class[].
Ah yes; I looked for 'req.cmd', but missed 'req->cmd'. I've sent a revised patch v2. Thank you. -- - P J P 47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F