Lines Matching refs:gnt

426     t_PXENV_UNDI_GET_NIC_TYPE gnt;  in detect_pxe()  local
432 memset(&gnt, 0, sizeof(t_PXENV_UNDI_GET_NIC_TYPE)); in detect_pxe()
455 if (!pxe_get_nic_type(&gnt)) { in detect_pxe()
456 switch (gnt.NicType) { in detect_pxe()
459 hardware->pxe.vendor_id = gnt.info.pci.Vendor_ID; in detect_pxe()
460 hardware->pxe.product_id = gnt.info.pci.Dev_ID; in detect_pxe()
461 hardware->pxe.subvendor_id = gnt.info.pci.SubVendor_ID; in detect_pxe()
463 gnt.info.pci.SubDevice_ID, in detect_pxe()
464 hardware->pxe.rev = gnt.info.pci.Rev; in detect_pxe()
465 hardware->pxe.pci_bus = (gnt.info.pci.BusDevFunc >> 8) & 0xff; in detect_pxe()
466 hardware->pxe.pci_dev = (gnt.info.pci.BusDevFunc >> 3) & 0x7; in detect_pxe()
467 hardware->pxe.pci_func = gnt.info.pci.BusDevFunc & 0x03; in detect_pxe()
468 hardware->pxe.base_class = gnt.info.pci.Base_Class; in detect_pxe()
469 hardware->pxe.sub_class = gnt.info.pci.Sub_Class; in detect_pxe()
470 hardware->pxe.prog_intf = gnt.info.pci.Prog_Intf; in detect_pxe()
471 hardware->pxe.nictype = gnt.NicType; in detect_pxe()
475 hardware->pxe.vendor_id = gnt.info.cardbus.Vendor_ID; in detect_pxe()
476 hardware->pxe.product_id = gnt.info.cardbus.Dev_ID; in detect_pxe()
477 hardware->pxe.subvendor_id = gnt.info.cardbus.SubVendor_ID; in detect_pxe()
479 gnt.info.cardbus.SubDevice_ID, in detect_pxe()
480 hardware->pxe.rev = gnt.info.cardbus.Rev; in detect_pxe()
482 (gnt.info.cardbus.BusDevFunc >> 8) & 0xff; in detect_pxe()
484 (gnt.info.cardbus.BusDevFunc >> 3) & 0x7; in detect_pxe()
485 hardware->pxe.pci_func = gnt.info.cardbus.BusDevFunc & 0x03; in detect_pxe()
486 hardware->pxe.base_class = gnt.info.cardbus.Base_Class; in detect_pxe()
487 hardware->pxe.sub_class = gnt.info.cardbus.Sub_Class; in detect_pxe()
488 hardware->pxe.prog_intf = gnt.info.cardbus.Prog_Intf; in detect_pxe()
489 hardware->pxe.nictype = gnt.NicType; in detect_pxe()