svn commit: r189073 - head/sys/dev/pci

John Baldwin jhb at FreeBSD.org
Thu Feb 26 06:32:15 PST 2009


Author: jhb
Date: Thu Feb 26 14:32:14 2009
New Revision: 189073
URL: http://svn.freebsd.org/changeset/base/189073

Log:
  Don't throw away upper 32-bits of the HT MSI address window.  In practice
  this is harmless since the address window for MSI on x86 is in the lower
  4 GB.
  
  Submitted by:	mav
  MFC after:	1 week

Modified:
  head/sys/dev/pci/pci.c

Modified: head/sys/dev/pci/pci.c
==============================================================================
--- head/sys/dev/pci/pci.c	Thu Feb 26 13:01:45 2009	(r189072)
+++ head/sys/dev/pci/pci.c	Thu Feb 26 14:32:14 2009	(r189073)
@@ -554,7 +554,7 @@ pci_read_extcap(device_t pcib, pcicfgreg
 					addr = REG(ptr + PCIR_HTMSI_ADDRESS_HI,
 					    4);
 					addr <<= 32;
-					addr = REG(ptr + PCIR_HTMSI_ADDRESS_LO,
+					addr |= REG(ptr + PCIR_HTMSI_ADDRESS_LO,
 					    4);
 					if (addr != MSI_INTEL_ADDR_BASE)
 						device_printf(pcib,


More information about the svn-src-all mailing list