From 28d6acc0501be663f266d3d324ff07375ee88702 Mon Sep 17 00:00:00 2001 From: mav Date: Mon, 20 Apr 2015 19:11:27 +0000 Subject: Don't set bits that should be zero for SATA devices. Old value made Linux think that it is PATA device with SATA bridge. MFC after: 2 weeks --- usr.sbin/bhyve/pci_ahci.c | 1 - 1 file changed, 1 deletion(-) (limited to 'usr.sbin/bhyve') diff --git a/usr.sbin/bhyve/pci_ahci.c b/usr.sbin/bhyve/pci_ahci.c index 95cfdd9..12540a1 100644 --- a/usr.sbin/bhyve/pci_ahci.c +++ b/usr.sbin/bhyve/pci_ahci.c @@ -930,7 +930,6 @@ handle_identify(struct ahci_port *p, int slot, uint8_t *cfis) 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); -- cgit v1.1