qemu-patch-raspberry4/hw/ide
Brian Wheeler b93af93d2b Fix ATA SMART and CHECK POWER MODE
This patch fixes two things:

 1) CHECK POWER MODE

The error return value wasn't always zero, so it would show up as
offline.  Error is now explicitly set to zero.

 2) SMART

The smart values that were returned were invalid and tools like skdump
would not recognize that the smart data was actually valid and would
dump weird output.  The data has been fixed up and raw value support
was added.  Tools like skdump and palimpsest work as expected.

Signed-off-by: Brian Wheeler <bdwheele@indiana.edu>
Acked-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-03-15 13:21:14 +01:00
..
ahci.c ahci: make number of ports runtime determined 2011-02-07 11:40:31 +01:00
ahci.h ahci: make number of ports runtime determined 2011-02-07 11:40:31 +01:00
cmd646.c ide: Fix build for cmd646.c 2010-12-17 19:57:21 +01:00
core.c Fix ATA SMART and CHECK POWER MODE 2011-03-15 13:21:14 +01:00
ich.c ahci: make number of ports runtime determined 2011-02-07 11:40:31 +01:00
internal.h ide: factor dma handling helpers 2011-01-24 11:08:50 +01:00
isa.c Store IDE bus id in IDEBus structure for easy access. 2010-12-11 21:27:47 +00:00
macio.c Add endianness as io mem parameter 2010-12-11 15:24:25 +00:00
microdrive.c Merge remote branch 'kwolf/for-anthony' into staging 2010-07-06 10:48:01 -05:00
mmio.c Add endianness as io mem parameter 2010-12-11 15:24:25 +00:00
pci.c ide: Remove unneeded null pointer check 2011-01-24 16:41:49 +01:00
pci.h ide: Split out BMDMA code from ATA core 2010-12-17 16:11:01 +01:00
piix.c isa-bus: Remove bogus IRQ sharing check 2011-02-21 15:46:53 +01:00
qdev.c Add bootindex parameter to net/block/fd device 2010-12-11 21:32:46 +00:00
via.c isa-bus: Remove bogus IRQ sharing check 2011-02-21 15:46:53 +01:00