Author: marius
Date: Sat May 26 08:31:12 2012
New Revision: 236069
URL: http://svn.freebsd.org/changeset/base/236069

Log:
  Make the VIA workaround actually do its intended job.
  
  MFC after:    3 days

Modified:
  head/sys/dev/usb/controller/ehci_pci.c

Modified: head/sys/dev/usb/controller/ehci_pci.c
==============================================================================
--- head/sys/dev/usb/controller/ehci_pci.c      Sat May 26 08:25:41 2012        
(r236068)
+++ head/sys/dev/usb/controller/ehci_pci.c      Sat May 26 08:31:12 2012        
(r236069)
@@ -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");
        }
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to