Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2009 14:32:14 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189073 - head/sys/dev/pci
Message-ID:  <200902261432.n1QEWEsS030076@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"



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