From f29dcc875ee3ad1bfd3bd994b9a7830743afe29d Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 30 Jul 2006 13:44:02 +0200 Subject: [PATCH] Fixed bug in printing of 64-bit prefetchable memory windows. --- ChangeLog | 3 +++ lspci.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0deda1f..d1ecaf4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-07-30 Martin Mares + * lspci.c (show_htype1): Fixed bug in printing of 64-bit prefetchable + memory windows. Fix by Petr Vandrovec. + * maint/release.pm: Exclude .git directory from releases. * lib/i386-ports.c, lib/i386-io-*: Report failures during port access diff --git a/lspci.c b/lspci.c index 0d7c3a8..e231303 100644 --- a/lspci.c +++ b/lspci.c @@ -1487,7 +1487,7 @@ show_htype1(struct device *d) get_conf_long(d, PCI_PREF_BASE_UPPER32), pref_base, get_conf_long(d, PCI_PREF_LIMIT_UPPER32), - pref_limit); + pref_limit + 0xfffff); } } -- 2.39.2