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

zcore at FreeBSD.org zcore at FreeBSD.org
Sun Jul 28 09:11:29 UTC 2013


Author: zcore
Date: Sun Jul 28 09:11:28 2013
New Revision: 255261
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=255261

Log:
  set AHCI_P_SIG to 0x00000101 a.k.a SIG_ATA
  
  This is just hard coding now. we will set the SIG depending on
  the device kind, ATA or ATAPI.
  

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	Sun Jul 28 09:10:23 2013	(r255260)
+++ soc2013/zcore/head/usr.sbin/bhyve/pci_ahci.c	Sun Jul 28 09:11:28 2013	(r255261)
@@ -204,7 +204,8 @@
 ahci_port_reset(struct ahci_port *pr)
 {
 	memset(&pr->clb, 0, 17 * sizeof(uint32_t));
-	pr->sig = 0xFFFFFFFF;
+	/* TODO set signature by the device kind */
+	pr->sig = 0x00000101;
 	pr->tfd = 0;
 	if (pr->bctx)
 		pr->ssts = ATA_SS_DET_PHY_ONLINE | ATA_SS_SPD_GEN2 |


More information about the svn-soc-all mailing list