diff options
author | jhb <jhb@FreeBSD.org> | 2009-02-26 14:32:14 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-02-26 14:32:14 +0000 |
commit | fb70a002f2760a40274da9dacaa3edd815884665 (patch) | |
tree | 9fec7873a185e6c1f8288b3210cdc037a893bc3d /sys/dev/pci | |
parent | f854be19d0fd46c7d395cec89aee00c79d280ac1 (diff) | |
download | FreeBSD-src-fb70a002f2760a40274da9dacaa3edd815884665.zip FreeBSD-src-fb70a002f2760a40274da9dacaa3edd815884665.tar.gz |
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
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 633c4d5..8f1e51f 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -554,7 +554,7 @@ pci_read_extcap(device_t pcib, pcicfgregs *cfg) 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, |