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); _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"