Displaying 1 result from an estimated 1 matches for "nic_type_names".
2012 Nov 23
1
[PATCH] nictype.c32: PXELINUX module to display UNDI NIC bus type...
...dor and DEVice IDs
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <console.h>
+#include <syslinux/pxe.h>
+#include <syslinux/boot.h>
+
+#undef Countof
+#define Countof(array) (sizeof (array) / sizeof *(array))
+
+static const char *nic_type_names[] = {
+ "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_...