fix hanging on invalid data... (This doesn't fix hanging due to broken
hardware)... Tested by: Ian Dowse, Adam K Kirchhoff and Vladimir Kushnir
This commit is contained in:
parent
08598d7067
commit
ee03a332df
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user