pci(4): Fix a common typo in source code comments

- s/transistions/transitions/

MFC after:	3 days
This commit is contained in:
Gordon Bergling 2022-07-03 13:43:44 +02:00
parent ef86876b84
commit 00c00c3824

@ -1249,7 +1249,7 @@ pci_read_vpd(device_t pcib, pcicfgregs *cfg)
M_DEVBUF, M_WAITOK); M_DEVBUF, M_WAITOK);
remain -= 3; remain -= 3;
i = 0; i = 0;
/* keep in sync w/ state 3's transistions */ /* keep in sync w/ state 3's transitions */
if (dflen == 0 && remain == 0) if (dflen == 0 && remain == 0)
state = 0; state = 0;
else if (dflen == 0) else if (dflen == 0)
@ -1276,7 +1276,7 @@ pci_read_vpd(device_t pcib, pcicfgregs *cfg)
} }
dflen--; dflen--;
remain--; remain--;
/* keep in sync w/ state 2's transistions */ /* keep in sync w/ state 2's transitions */
if (dflen == 0) if (dflen == 0)
cfg->vpd.vpd_ros[off++].value[i++] = '\0'; cfg->vpd.vpd_ros[off++].value[i++] = '\0';
if (dflen == 0 && remain == 0) { if (dflen == 0 && remain == 0) {
@ -1318,7 +1318,7 @@ pci_read_vpd(device_t pcib, pcicfgregs *cfg)
M_DEVBUF, M_WAITOK); M_DEVBUF, M_WAITOK);
remain -= 3; remain -= 3;
i = 0; i = 0;
/* keep in sync w/ state 6's transistions */ /* keep in sync w/ state 6's transitions */
if (dflen == 0 && remain == 0) if (dflen == 0 && remain == 0)
state = 0; state = 0;
else if (dflen == 0) else if (dflen == 0)
@ -1331,7 +1331,7 @@ pci_read_vpd(device_t pcib, pcicfgregs *cfg)
cfg->vpd.vpd_w[off].value[i++] = byte; cfg->vpd.vpd_w[off].value[i++] = byte;
dflen--; dflen--;
remain--; remain--;
/* keep in sync w/ state 5's transistions */ /* keep in sync w/ state 5's transitions */
if (dflen == 0) if (dflen == 0)
cfg->vpd.vpd_w[off++].value[i++] = '\0'; cfg->vpd.vpd_w[off++].value[i++] = '\0';
if (dflen == 0 && remain == 0) { if (dflen == 0 && remain == 0) {