socsvn commit: r257335 - soc2013/zcore/head/usr.sbin/bhyve
zcore at FreeBSD.org
zcore at FreeBSD.org
Sat Sep 14 16:01:41 UTC 2013
Author: zcore
Date: Sat Sep 14 16:01:40 2013
New Revision: 257335
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=257335
Log:
support ATAPI_PREVENT_ALLOW
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 Sat Sep 14 16:00:57 2013 (r257334)
+++ soc2013/zcore/head/usr.sbin/bhyve/pci_ahci.c Sat Sep 14 16:01:40 2013 (r257335)
@@ -648,6 +648,11 @@
cfis[4] = (cfis[4] & ~7) | ATA_I_CMD | ATA_I_IN;
atapi_read_capacity(p, slot, cfis);
break;
+ case ATAPI_PREVENT_ALLOW:
+ /* TODO */
+ cfis[4] = (cfis[4] & ~7) | ATA_I_CMD | ATA_I_IN;
+ ahci_write_fis_d2h(p, slot, cfis, ATA_S_READY | ATA_S_DSC);
+ break;
default:
break;
}
More information about the svn-soc-all
mailing list