Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2012 08:43:51 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r236073 - head/sys/dev/usb/controller
Message-ID:  <201205260843.q4Q8hppm063307@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sat May 26 08:43:51 2012
New Revision: 236073
URL: http://svn.freebsd.org/changeset/base/236073

Log:
  Make the VIA workaround application somewhat more consistent with the
  ATI one.

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:41:48 2012	(r236072)
+++ head/sys/dev/usb/controller/ehci_pci.c	Sat May 26 08:43:51 2012	(r236073)
@@ -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");
 	}
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205260843.q4Q8hppm063307>