Date: Fri, 1 May 2015 17:33:18 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r282308 - stable/10/usr.sbin/bhyve Message-ID: <201505011733.t41HXI98069001@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505011733.t41HXI98069001>