summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/pci.c')
-rw-r--r--sys/dev/pci/pci.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 31db466..9e3cf15 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -629,9 +629,10 @@ pci_read_vpd(device_t pcib, pcicfgregs *cfg)
M_WAITOK);
state = 5;
break;
- default: /* XXX - unimplemented */
- state = 4;
- break;
+ default: /* Invalid data, abort */
+ end = 1;
+ cksumvalid = 0;
+ continue;
}
break;
OpenPOWER on IntegriCloud