Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2013 09:11:28 GMT
From:      zcore@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r255261 - soc2013/zcore/head/usr.sbin/bhyve
Message-ID:  <201307280911.r6S9BSLJ083050@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307280911.r6S9BSLJ083050>