From 88880fd4cf210442ab49709a4c21ec453f189848 Mon Sep 17 00:00:00 2001 From: Scott Long Date: Tue, 23 Jul 2019 18:40:07 +0000 Subject: [PATCH] Fix the register layout for the Buffer Descript List Entry. It got jumbled around during some other cleanups and was causing audio failures on some guests. PR: 239341 Reported by: shamaz.mazum@gmail.com --- usr.sbin/bhyve/pci_hda.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bhyve/pci_hda.c b/usr.sbin/bhyve/pci_hda.c index ace88274ac9..e0324f46a95 100644 --- a/usr.sbin/bhyve/pci_hda.c +++ b/usr.sbin/bhyve/pci_hda.c @@ -80,10 +80,10 @@ typedef void (*hda_set_reg_handler)(struct hda_softc *sc, uint32_t offset, uint32_t old); struct hda_bdle { - uint32_t addrh; uint32_t addrl; - uint32_t ioc; + uint32_t addrh; uint32_t len; + uint32_t ioc; } __packed; struct hda_bdle_desc {