socsvn commit: r257160 - soc2013/zcore/head/usr.sbin/bhyve

zcore at FreeBSD.org zcore at FreeBSD.org
Mon Sep 9 14:26:35 UTC 2013


Author: zcore
Date: Mon Sep  9 14:26:35 2013
New Revision: 257160
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=257160

Log:
  support ATA_NOP, ATA_STANDBY_IMMEDIATE, ATA_SLEEP etc.

Modified:
  soc2013/zcore/head/usr.sbin/bhyve/pci_ahci.c

Modified: soc2013/zcore/head/usr.sbin/bhyve/pci_ahci.c
==============================================================================
--- soc2013/zcore/head/usr.sbin/bhyve/pci_ahci.c	Mon Sep  9 14:26:03 2013	(r257159)
+++ soc2013/zcore/head/usr.sbin/bhyve/pci_ahci.c	Mon Sep  9 14:26:35 2013	(r257160)
@@ -569,6 +569,14 @@
 	case ATA_FLUSHCACHE48:
 		handle_flush(p, slot, cfis);
 		break;
+	case ATA_STANDBY_CMD:
+		break;
+	case ATA_NOP:
+	case ATA_STANDBY_IMMEDIATE:
+	case ATA_IDLE_IMMEDIATE:
+	case ATA_SLEEP:
+		ahci_write_fis_d2h(p, slot, cfis, ATA_S_READY | ATA_S_DSC);
+		break;
 	default:
 		p->tfd = (ATA_E_ABORT << 8) | ATA_S_READY | ATA_S_ERROR;
 		p->is |= AHCI_P_IX_TFE;


More information about the svn-soc-all mailing list