Lines Matching defs:gnt
283 t_PXENV_UNDI_GET_NIC_TYPE *gnt = (void *) pxe_command_buf;
392 (void)memset(gnt, 0, sizeof(*gnt));
395 if (gnt->Status != PXENV_STATUS_SUCCESS) {
397 gnt->Status);
401 switch (gnt->NicType) {
406 bi_netif.addr.tag = gnt->info.pci.BusDevFunc;
409 gnt->NicType == PCI_NIC ? "PCI" : "CardBus",
410 (gnt->info.pci.BusDevFunc >> 8) & 0xff,
411 (gnt->info.pci.BusDevFunc >> 3) & 0x1f,
412 gnt->info.pci.BusDevFunc & 0x7);
417 printf("Using PnP device at 0x%x\n", gnt->info.pnp.CardSelNum);