svn commit: r282308 - stable/10/usr.sbin/bhyve

Alexander Motin mav at FreeBSD.org
Fri May 1 17:33:18 UTC 2015


Author: mav
Date: Fri May  1 17:33:17 2015
New Revision: 282308
URL: https://svnweb.freebsd.org/changeset/base/282308

Log:
  MFC r281782: Don't set bits that should be zero for SATA devices.
  
  Old value made Linux think that it is PATA device with SATA bridge.

Modified:
  stable/10/usr.sbin/bhyve/pci_ahci.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/bhyve/pci_ahci.c
==============================================================================
--- stable/10/usr.sbin/bhyve/pci_ahci.c	Fri May  1 17:30:59 2015	(r282307)
+++ stable/10/usr.sbin/bhyve/pci_ahci.c	Fri May  1 17:33:17 2015	(r282308)
@@ -930,7 +930,6 @@ handle_identify(struct ahci_port *p, int
 		buf[88] = 0x7f;
 		if (p->xfermode & ATA_UDMA0)
 			buf[88] |= (1 << ((p->xfermode & 7) + 8));
-		buf[93] = (1 | 1 <<14);
 		buf[100] = sectors;
 		buf[101] = (sectors >> 16);
 		buf[102] = (sectors >> 32);


More information about the svn-src-all mailing list