From a1052f1653d00458a158a4272fc0b591faa252ce Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 24 Mar 2002 12:24:34 +0000 Subject: [PATCH] Fixed bug in AGP rate reporting. --- ChangeLog | 2 ++ lspci.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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) -- 2.39.5