Displaying 1 result from an estimated 1 matches for "nic_type_info".
2012 Nov 23
1
[PATCH] nictype.c32: PXELINUX module to display UNDI NIC bus type...
...Unknown",
+ "Unknown",
+ "PCI",
+ "PnP",
+ "CardBus",
+};
+
+static int usage(const char *prog);
+
+static const char prog_name[] = "nictype.c32";
+
+int main(int argc, char **argv)
+{
+ int status;
+ t_PXENV_UNDI_GET_NIC_TYPE nic_type_info;
+ char filename[] = "VVVVDDDD";
+
+ openconsole(&dev_stdcon_r, &dev_stdcon_w);
+
+ status = pxe_get_nic_type(&nic_type_info);
+ if (status == -1 || status != PXENV_STATUS_SUCCESS) {
+ fprintf(stderr, "pxe_get_nic_type failure\n");
+ goto err_nic_type_inf...