From 243d601f05a2ee3b95f1423962f6be46222a8f4d Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Sat, 26 May 2012 08:43:51 +0000 Subject: [PATCH] Make the VIA workaround application somewhat more consistent with the ATI one. --- sys/dev/usb/controller/ehci_pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/usb/controller/ehci_pci.c b/sys/dev/usb/controller/ehci_pci.c index 39945d8320d..7c27873523d 100644 --- a/sys/dev/usb/controller/ehci_pci.c +++ b/sys/dev/usb/controller/ehci_pci.c @@ -243,7 +243,8 @@ ehci_pci_via_quirk(device_t self) val = pci_read_config(self, 0x4b, 1); if (val & 0x20) return; - pci_write_config(self, 0x4b, val | 0x20, 1); + val |= 0x20; + pci_write_config(self, 0x4b, val, 1); device_printf(self, "VIA-quirk applied\n"); } }