diff options
| author | Marius Strobl <marius@FreeBSD.org> | 2012-05-26 08:43:51 +0000 |
|---|---|---|
| committer | Marius Strobl <marius@FreeBSD.org> | 2012-05-26 08:43:51 +0000 |
| commit | 243d601f05a2ee3b95f1423962f6be46222a8f4d (patch) | |
| tree | c43480c73f72bd3228576ff288950cc39a1c2f97 /sys/dev | |
| parent | af3839c4ab0b4ddd524a38e9cdb0822dccbcdbf0 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/controller/ehci_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/ehci_pci.c b/sys/dev/usb/controller/ehci_pci.c index 39945d8320dda..7c27873523dbf 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"); } } |
