Lines Matching refs:product_info
377 struct edgeport_product_info product_info; /* Product Info */ member
519 switch (edge_serial->product_info.iDownloadFile) { in update_edgeport_E2PROM()
656 struct edgeport_product_info *product_info = &edge_serial->product_info; in get_product_info() local
658 memset (product_info, 0, sizeof(struct edgeport_product_info)); in get_product_info()
660 …product_info->ProductId = (__u16)(edge_serial->serial->dev->descriptor.idProduct & ~ION_DEVICE_ID… in get_product_info()
661 product_info->NumPorts = edge_serial->manuf_descriptor.NumPorts; in get_product_info()
662 product_info->ProdInfoVer = 0; in get_product_info()
664 product_info->RomSize = edge_serial->manuf_descriptor.RomSize; in get_product_info()
665 product_info->RamSize = edge_serial->manuf_descriptor.RamSize; in get_product_info()
666 product_info->CpuRev = edge_serial->manuf_descriptor.CpuRev; in get_product_info()
667 product_info->BoardRev = edge_serial->manuf_descriptor.BoardRev; in get_product_info()
669 product_info->BootMajorVersion = edge_serial->boot_descriptor.MajorVersion; in get_product_info()
670 product_info->BootMinorVersion = edge_serial->boot_descriptor.MinorVersion; in get_product_info()
671 product_info->BootBuildNumber = edge_serial->boot_descriptor.BuildNumber; in get_product_info()
673 …memcpy(product_info->ManufactureDescDate, edge_serial->manuf_descriptor.DescDate, sizeof(edge_seri… in get_product_info()
677 product_info->FirmwareMajorVersion = OperationalCodeImageVersion_GEN2.MajorVersion; in get_product_info()
678 product_info->FirmwareMinorVersion = OperationalCodeImageVersion_GEN2.MinorVersion; in get_product_info()
679 product_info->FirmwareBuildNumber = cpu_to_le16(OperationalCodeImageVersion_GEN2.BuildNumber); in get_product_info()
680 product_info->iDownloadFile = EDGE_DOWNLOAD_FILE_80251; in get_product_info()
682 product_info->FirmwareMajorVersion = OperationalCodeImageVersion_GEN1.MajorVersion; in get_product_info()
683 product_info->FirmwareMinorVersion = OperationalCodeImageVersion_GEN1.MinorVersion; in get_product_info()
684 product_info->FirmwareBuildNumber = cpu_to_le16(OperationalCodeImageVersion_GEN1.BuildNumber); in get_product_info()
685 product_info->iDownloadFile = EDGE_DOWNLOAD_FILE_I930; in get_product_info()
689 switch (DEVICE_ID_FROM_USB_PRODUCT_ID(product_info->ProductId)) { in get_product_info()
701 product_info->IsRS232 = 1; in get_product_info()
705 product_info->IsRS422 = 1; in get_product_info()
706 product_info->IsRS485 = 1; in get_product_info()
711 product_info->IsRS422 = 1; in get_product_info()
717 dbg(" ProductId %x", product_info->ProductId ); in get_product_info()
718 dbg(" NumPorts %d", product_info->NumPorts ); in get_product_info()
719 dbg(" ProdInfoVer %d", product_info->ProdInfoVer ); in get_product_info()
720 dbg(" IsServer %d", product_info->IsServer); in get_product_info()
721 dbg(" IsRS232 %d", product_info->IsRS232 ); in get_product_info()
722 dbg(" IsRS422 %d", product_info->IsRS422 ); in get_product_info()
723 dbg(" IsRS485 %d", product_info->IsRS485 ); in get_product_info()
724 dbg(" RomSize %d", product_info->RomSize ); in get_product_info()
725 dbg(" RamSize %d", product_info->RamSize ); in get_product_info()
726 dbg(" CpuRev %x", product_info->CpuRev ); in get_product_info()
727 dbg(" BoardRev %x", product_info->BoardRev); in get_product_info()
728 dbg(" BootMajorVersion %d.%d.%d", product_info->BootMajorVersion, in get_product_info()
729 product_info->BootMinorVersion, in get_product_info()
730 le16_to_cpu(product_info->BootBuildNumber)); in get_product_info()
731 dbg(" FirmwareMajorVersion %d.%d.%d", product_info->FirmwareMajorVersion, in get_product_info()
732 product_info->FirmwareMinorVersion, in get_product_info()
733 le16_to_cpu(product_info->FirmwareBuildNumber)); in get_product_info()
734 dbg(" ManufactureDescDate %d/%d/%d", product_info->ManufactureDescDate[0], in get_product_info()
735 product_info->ManufactureDescDate[1], in get_product_info()
736 product_info->ManufactureDescDate[2]+1900); in get_product_info()
737 dbg(" iDownloadFile 0x%x", product_info->iDownloadFile); in get_product_info()
2899 switch (edge_serial->product_info.iDownloadFile) { in load_application_firmware()
2995 if (edge_serial->product_info.NumPorts != serial->num_ports) { in edge_startup()
2998 __FUNCTION__, edge_serial->product_info.NumPorts, in edge_startup()