Indent ecaps the same way we indent caps.
MFC after: 3 days
This commit is contained in:
parent
527a7c56f7
commit
db85bb0492
@ -660,7 +660,7 @@ list_ecaps(int fd, struct pci_conf *p)
|
|||||||
if (ecap == 0xffffffff || ecap == 0)
|
if (ecap == 0xffffffff || ecap == 0)
|
||||||
return;
|
return;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
printf("ecap %04x[%03x] = ", PCI_EXTCAP_ID(ecap), ptr);
|
printf(" ecap %04x[%03x] = ", PCI_EXTCAP_ID(ecap), ptr);
|
||||||
switch (PCI_EXTCAP_ID(ecap)) {
|
switch (PCI_EXTCAP_ID(ecap)) {
|
||||||
case PCIZ_AER:
|
case PCIZ_AER:
|
||||||
ecap_aer(fd, p, ptr, PCI_EXTCAP_VER(ecap));
|
ecap_aer(fd, p, ptr, PCI_EXTCAP_VER(ecap));
|
||||||
|
Loading…
Reference in New Issue
Block a user