product_info
syn_fw->product_info[0], syn_fw->product_info[1]);
u8 product_info[2];
mega_product_info *product_info)
product_info->max_commands = inquiry->adapter_info.max_commands;
product_info->nchannels = inquiry->adapter_info.nchannels;
product_info->fw_version[i] =
product_info->bios_version[i] =
product_info->dram_size = inquiry->adapter_info.dram_size;
adapter->fw_version, adapter->product_info.max_commands,
if(adapter->product_info.product_name[0])
seq_printf(m, "%s\n", adapter->product_info.product_name);
adapter->numldrv, adapter->product_info.nchannels);
adapter->product_info.dram_size);
adapter->product_info.max_commands, adapter->max_cmds);
max_channels = adapter->product_info.nchannels;
(mega_product_info *)&adapter->product_info);
(void *)&adapter->product_info,
adapter->product_info.nchannels + NVIRT_CHAN -1;
adapter->max_cmds = adapter->product_info.max_commands;
if (adapter->product_info.subsysvid == PCI_VENDOR_ID_HP) {
adapter->product_info.fw_version[2],
adapter->product_info.fw_version[1] & 0x0f,
adapter->product_info.fw_version[0] & 0x0f);
adapter->product_info.bios_version[2],
adapter->product_info.bios_version[1] & 0x0f,
adapter->product_info.bios_version[0] & 0x0f);
(char *)adapter->product_info.fw_version, 4);
(char *)adapter->product_info.bios_version, 4);
for( i = 0; i < adapter->product_info.nchannels; i++ ) {
j = adapter->product_info.nchannels;
adapter->product_info.nchannels;
mega_product_info product_info;
struct edgeport_product_info product_info; /* Product Info */
switch (edge_serial->product_info.iDownloadFile) {
edge_serial->product_info.FirmwareMajorVersion = rec->data[0];
edge_serial->product_info.FirmwareMinorVersion = rec->data[1];
edge_serial->product_info.FirmwareBuildNumber = cpu_to_le16(build);
(edge_serial->product_info.NumPorts != serial->num_ports)) {
edge_serial->product_info.NumPorts,
edge_serial->product_info.FirmwareMajorVersion,
edge_serial->product_info.FirmwareMinorVersion,
le16_to_cpu(edge_serial->product_info.FirmwareBuildNumber));
switch (edge_serial->product_info.iDownloadFile) {
struct edgeport_product_info *product_info)
dev_dbg(dev, " ProductId %x\n", product_info->ProductId);
dev_dbg(dev, " NumPorts %d\n", product_info->NumPorts);
dev_dbg(dev, " ProdInfoVer %d\n", product_info->ProdInfoVer);
dev_dbg(dev, " IsServer %d\n", product_info->IsServer);
dev_dbg(dev, " IsRS232 %d\n", product_info->IsRS232);
dev_dbg(dev, " IsRS422 %d\n", product_info->IsRS422);
dev_dbg(dev, " IsRS485 %d\n", product_info->IsRS485);
dev_dbg(dev, " RomSize %d\n", product_info->RomSize);
dev_dbg(dev, " RamSize %d\n", product_info->RamSize);
dev_dbg(dev, " CpuRev %x\n", product_info->CpuRev);
dev_dbg(dev, " BoardRev %x\n", product_info->BoardRev);
product_info->BootMajorVersion,
product_info->BootMinorVersion,
le16_to_cpu(product_info->BootBuildNumber));
product_info->FirmwareMajorVersion,
product_info->FirmwareMinorVersion,
le16_to_cpu(product_info->FirmwareBuildNumber));
product_info->ManufactureDescDate[0],
product_info->ManufactureDescDate[1],
product_info->ManufactureDescDate[2]+1900);
product_info->iDownloadFile);
dev_dbg(dev, " EpicVer %d\n", product_info->EpicVer);
struct edgeport_product_info *product_info = &edge_serial->product_info;
memset(product_info, 0, sizeof(struct edgeport_product_info));
product_info->ProductId = (__u16)(le16_to_cpu(edge_serial->serial->dev->descriptor.idProduct) & ~ION_DEVICE_ID_80251_NETCHIP);
product_info->NumPorts = edge_serial->manuf_descriptor.NumPorts;
product_info->ProdInfoVer = 0;
product_info->RomSize = edge_serial->manuf_descriptor.RomSize;
product_info->RamSize = edge_serial->manuf_descriptor.RamSize;
product_info->CpuRev = edge_serial->manuf_descriptor.CpuRev;
product_info->BoardRev = edge_serial->manuf_descriptor.BoardRev;
product_info->BootMajorVersion =
product_info->BootMinorVersion =
product_info->BootBuildNumber =
memcpy(product_info->ManufactureDescDate,
product_info->iDownloadFile = EDGE_DOWNLOAD_FILE_80251;
product_info->iDownloadFile = EDGE_DOWNLOAD_FILE_I930;
switch (DEVICE_ID_FROM_USB_PRODUCT_ID(product_info->ProductId)) {
product_info->IsRS232 = 1;
product_info->IsRS422 = 1;
product_info->IsRS485 = 1;
product_info->IsRS422 = 1;
dump_product_info(edge_serial, product_info);
struct edgeport_product_info *product_info = &ep->product_info;
memset(product_info, 0, sizeof(struct edgeport_product_info));
product_info->NumPorts = epic->NumPorts;
product_info->ProdInfoVer = 0;
product_info->FirmwareMajorVersion = epic->MajorVersion;
product_info->FirmwareMinorVersion = epic->MinorVersion;
product_info->FirmwareBuildNumber = epic->BuildNumber;
product_info->iDownloadFile = epic->iDownloadFile;
product_info->EpicVer = epic->EpicVer;
product_info->Epic = epic->Supports;
product_info->ProductId = ION_DEVICE_ID_EDGEPORT_COMPATIBLE;
dump_product_info(ep, product_info);
serial->product_info.hardware_type = HARDWARE_TYPE_TIUMP;
serial->product_info.TiMode = TI_MODE_DOWNLOAD;
serial->product_info.TiMode = TI_MODE_CONFIGURING;
struct product_info product_info;
serial->product_info.TiMode = TI_MODE_TRANSITIONING;
serial->product_info.TiMode = TI_MODE_BOOT;
if (serial->product_info.TiMode == TI_MODE_DOWNLOAD) {
if (serial->product_info.TiMode == TI_MODE_BOOT)
if (serial->product_info.TiMode == TI_MODE_DOWNLOAD)