From 844863933d12ec9b9b51de440313f014a81dafbf Mon Sep 17 00:00:00 2001 From: Michael Karcher Date: Wed, 24 Feb 2010 00:04:40 +0000 Subject: Replace PCI_OK/PCI_NT by OK/NT We don't need to duplicate OK and NT as PCI_OK and PCI_NT if the symbols are already there (defined for the chipset enable table). Corresponding to flashrom svn r911. Signed-off-by: Michael Karcher Acked-by: Uwe Hermann --- pcidev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcidev.c') diff --git a/pcidev.c b/pcidev.c index 6c92c0a..fcb04e6 100644 --- a/pcidev.c +++ b/pcidev.c @@ -49,7 +49,7 @@ uint32_t pcidev_validate(struct pci_dev *dev, uint32_t bar, dev->vendor_id, dev->device_id, dev->bus, dev->dev, dev->func); - if (devs[i].status == PCI_NT) { + if (devs[i].status == NT) { printf("===\nThis PCI device is UNTESTED. Please " "report the 'flashrom -p xxxx' output \n" "to flashrom@flashrom.org if it works " @@ -117,6 +117,6 @@ void print_supported_pcidevs(struct pcidev_status *devs) printf("%s %s [%02x:%02x]%s\n", devs[i].vendor_name, devs[i].device_name, devs[i].vendor_id, devs[i].device_id, - (devs[i].status == PCI_NT) ? " (untested)" : ""); + (devs[i].status == NT) ? " (untested)" : ""); } } -- cgit v1.1