+Wed Nov 18 15:47:05 1998 Martin Mares <mj@albireo.ucw.cz>
+
+ * lspci.c (show_htype1): Fixed displaying of prefetchable memory behind
+ bridge. Thanks to Petr Vandrovec <vandrove@vc.cvut.cz> for bug report.
+
Fri Oct 23 18:59:19 1998 Martin Mares <mj@albireo.ucw.cz>
* setpci.c: Don't include <syscall-list.h> with glibc >= 2.1.
/*
- * $Id: lspci.c,v 1.16 1998/10/19 13:36:19 mj Exp $
+ * $Id: lspci.c,v 1.17 1998/11/18 14:06:07 mj Exp $
*
* Linux PCI Utilities -- List All PCI Devices
*
pref_base = (pref_base & PCI_PREF_RANGE_MASK) << 16;
pref_limit = (pref_limit & PCI_PREF_RANGE_MASK) << 16;
if (pref_type == PCI_PREF_RANGE_TYPE_32)
- printf("\tPrefetchable memory behind bridge: %08x-%08x\n", pref_base, pref_limit);
+ printf("\tPrefetchable memory behind bridge: %08x-%08x\n", pref_base, pref_limit + 0xfffff);
else
printf("\tPrefetchable memory behind bridge: %08x%08x-%08x%08x\n",
get_conf_long(d, PCI_PREF_BASE_UPPER32),