From 84b1048196fa52fe0696ad203473be9923555879 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 17 Jun 1999 17:51:45 +0000 Subject: [PATCH] AGP command register display bug fix from Petr Vandrovec. --- lspci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lspci.c b/lspci.c index 07862ae..dda6fec 100644 --- a/lspci.c +++ b/lspci.c @@ -1,5 +1,5 @@ /* - * $Id: lspci.c,v 1.25 1999/04/26 19:45:57 mj Exp $ + * $Id: lspci.c,v 1.26 1999/06/17 17:51:45 mj Exp $ * * Linux PCI Utilities -- List All PCI Devices * @@ -370,6 +370,7 @@ show_agp(struct device *d, int where, int cap) (t & PCI_AGP_STATUS_RATE4) ? "4" : "", (t & PCI_AGP_STATUS_RATE2) ? "2" : "", (t & PCI_AGP_STATUS_RATE1) ? "1" : ""); + t = get_conf_long(d, where + PCI_AGP_COMMAND); printf("\t\tCommand: RQ=%d SBA%c AGP%c 64bit%c FW%c Rate=%s%s%s\n", (t & PCI_AGP_COMMAND_RQ_MASK) >> 24U, FLAG(t, PCI_AGP_COMMAND_SBA), -- 2.39.2