search for: err_config_nic_type

Displaying 1 result from an estimated 1 matches for "err_config_nic_type".

2012 Nov 23
1
[PATCH] nictype.c32: PXELINUX module to display UNDI NIC bus type...
...--config", + sizeof "--config"))) { + status = usage(argv[0]); + goto err_usage; + } + + if (argc == 1) { + status = EXIT_SUCCESS; + goto out; + } + + if (nic_type_info.NicType != PCI_NIC) { + fprintf(stderr, "NIC type not supported for --config\n"); + goto err_config_nic_type; + } + + status = sprintf(filename, "%04X%04X", nic_type_info.info.pci.Vendor_ID, + nic_type_info.info.pci.Dev_ID); + if (status != Countof(filename) - 1) { + fprintf(stderr, "Error constructing --config filename\n"); + status = EXIT_FAILURE; + goto err_filename;...