dev: Add ATA command used in recent Linux kernels
authorJason Lowe-Power <jason@lowepower.com>
Mon, 24 Apr 2017 13:55:24 +0000 (08:55 -0500)
committerJason Lowe-Power <jason@lowepower.com>
Mon, 1 May 2017 14:14:15 +0000 (14:14 +0000)
commita517b4a6fba2674cb2a5b5b50a187473aedd4362
tree190bb969ed7b200e7b3bccab3ce0708ae2031cf0
parent334b1e5a4815e4747a93c6bd509d729032c29821
dev: Add ATA command used in recent Linux kernels

Add a case for the ATA command ATAPI_IDENTIFY_DEVICE.
This avoids the panic: Unsupported ATA command when booting a recent Linux
kernel. This was tested on 4.8.13.

Change-Id: Ib297a2c02da0730d8698c59801254dd0f5ee9f7f
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/2863
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
src/dev/storage/ide_disk.cc