summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2012-05-26 08:31:12 +0000
committermarius <marius@FreeBSD.org>2012-05-26 08:31:12 +0000
commitbedff6538ff7cd67bd258f19d29ad94122602baa (patch)
tree4fde96ba8c0bcb671e6436f51e792042be27e6df
parentb1a96a2c7ab762f0ea78ca5de9d921b92816a362 (diff)
downloadFreeBSD-src-bedff6538ff7cd67bd258f19d29ad94122602baa.zip
FreeBSD-src-bedff6538ff7cd67bd258f19d29ad94122602baa.tar.gz
Make the VIA workaround actually do its intended job.
MFC after: 3 days
-rw-r--r--sys/dev/usb/controller/ehci_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/ehci_pci.c b/sys/dev/usb/controller/ehci_pci.c
index e293ec8..39945d8 100644
--- a/sys/dev/usb/controller/ehci_pci.c
+++ b/sys/dev/usb/controller/ehci_pci.c
@@ -243,7 +243,7 @@ ehci_pci_via_quirk(device_t self)
val = pci_read_config(self, 0x4b, 1);
if (val & 0x20)
return;
- pci_write_config(self, 0x4b, val, 1);
+ pci_write_config(self, 0x4b, val | 0x20, 1);
device_printf(self, "VIA-quirk applied\n");
}
}
OpenPOWER on IntegriCloud