svn commit: r236476 - stable/8/sys/dev/usb/controller

Marius Strobl marius at FreeBSD.org
Sat Jun 2 19:08:49 UTC 2012


Author: marius
Date: Sat Jun  2 19:08:48 2012
New Revision: 236476
URL: http://svn.freebsd.org/changeset/base/236476

Log:
  MFC: r236069, r236073
  
  Make the VIA workaround actually do its intended job.

Modified:
  stable/8/sys/dev/usb/controller/ehci_pci.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/boot/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/e1000/   (props changed)

Modified: stable/8/sys/dev/usb/controller/ehci_pci.c
==============================================================================
--- stable/8/sys/dev/usb/controller/ehci_pci.c	Sat Jun  2 19:08:47 2012	(r236475)
+++ stable/8/sys/dev/usb/controller/ehci_pci.c	Sat Jun  2 19:08:48 2012	(r236476)
@@ -243,6 +243,7 @@ ehci_pci_via_quirk(device_t self)
 		val = pci_read_config(self, 0x4b, 1);
 		if (val & 0x20)
 			return;
+		val |= 0x20;
 		pci_write_config(self, 0x4b, val, 1);
 		device_printf(self, "VIA-quirk applied\n");
 	}


More information about the svn-src-all mailing list