summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bhyve
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-05-01 17:33:17 +0000
committermav <mav@FreeBSD.org>2015-05-01 17:33:17 +0000
commitc80dbe2367c1950d617a6bee37e161c77900e187 (patch)
tree97272c51524c3dc88c297de02515e208a4fda241 /usr.sbin/bhyve
parent4645df8d8062e23000696e712bae394a7e2ba549 (diff)
downloadFreeBSD-src-c80dbe2367c1950d617a6bee37e161c77900e187.zip
FreeBSD-src-c80dbe2367c1950d617a6bee37e161c77900e187.tar.gz
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.
Diffstat (limited to 'usr.sbin/bhyve')
-rw-r--r--usr.sbin/bhyve/pci_ahci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/pci_ahci.c b/usr.sbin/bhyve/pci_ahci.c
index a13f4cc..4e21d45 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);
OpenPOWER on IntegriCloud