From: Martin Mares Date: Sun, 30 Jul 2006 11:44:02 +0000 (+0200) Subject: Fixed bug in printing of 64-bit prefetchable memory windows. X-Git-Tag: v3.0.0~43 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=f29dcc875ee3ad1bfd3bd994b9a7830743afe29d;p=pciutils.git Fixed bug in printing of 64-bit prefetchable memory windows. --- 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); } }