From: Martin Mares Date: Sun, 24 Mar 2002 12:24:34 +0000 (+0000) Subject: Fixed bug in AGP rate reporting. X-Git-Tag: v3.0.0~202 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=a1052f1653d00458a158a4272fc0b591faa252ce;p=pciutils.git Fixed bug in AGP rate reporting. --- diff --git a/ChangeLog b/ChangeLog index 72706ab..d74e08a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2002-03-24 Martin Mares + * lspci.c (format_agp_rate): Fixed AGP rate reporting. + * lib/filter.c (pci_filter_parse_slot): Allow bus 0xff, slot 0x1f and function 7. diff --git a/lspci.c b/lspci.c index 13de9d1..6b9b982 100644 --- a/lspci.c +++ b/lspci.c @@ -1,5 +1,5 @@ /* - * $Id: lspci.c,v 1.38 2000/05/20 14:36:02 mj Exp $ + * $Id: lspci.c,v 1.39 2002/03/24 12:24:34 mj Exp $ * * Linux PCI Utilities -- List All PCI Devices * @@ -413,7 +413,7 @@ format_agp_rate(int rate, char *buf) char *c = buf; int i; - for(i=0; i<2; i++) + for(i=0; i<=2; i++) if (rate & (1 << i)) { if (c != buf)