8 pciinfo_t lst
[MAX_PCI_DEVICES
];
11 err
= pci_scan(lst
,&num_pci
);
14 printf("Error occurred during pci scan: %s\n",strerror(err
));
19 printf(" Bus:card:func vend:dev command base0 :base1 :base2 :baserom\n");
20 for(i
=0;i
<num_pci
;i
++)
21 printf("%04X:%04X:%04X %04X:%04X %04X %08X:%08X:%08X:%08X\n"
22 ,lst
[i
].bus
,lst
[i
].card
,lst
[i
].func
23 ,lst
[i
].vendor
,lst
[i
].device
,lst
[i
].command
24 ,lst
[i
].base0
,lst
[i
].base1
,lst
[i
].base2
,lst
[i
].baserom
);