summaryrefslogtreecommitdiffstats
path: root/pcidev.c
diff options
context:
space:
mode:
authorMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>2010-02-24 00:04:40 +0000
committerMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>2010-02-24 00:04:40 +0000
commit844863933d12ec9b9b51de440313f014a81dafbf (patch)
tree0f6aa87fa00e980b781677209816fe0b8a9198b6 /pcidev.c
parent01f6d7d15d27ec07b86ebd0e5c34007dba3fb4c7 (diff)
downloadast2050-flashrom-844863933d12ec9b9b51de440313f014a81dafbf.zip
ast2050-flashrom-844863933d12ec9b9b51de440313f014a81dafbf.tar.gz
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 <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'pcidev.c')
-rw-r--r--pcidev.c4
1 files changed, 2 insertions, 2 deletions
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)" : "");
}
}
OpenPOWER on IntegriCloud