PCI_MAX_FUNCTIONS
#define PCI_MAX_CHILDREN PCI_MAX_DEVICES * PCI_MAX_FUNCTIONS
max_function = PCI_MAX_FUNCTIONS;
int max_function = PCI_MAX_FUNCTIONS;
int max_function = PCI_MAX_FUNCTIONS;
for (func = 0; func < PCI_MAX_FUNCTIONS; func++) {