/* hinfo_to_cinfo - Convert new format hba info into old format @hinfo : New format, more comprehensive adapter info @cinfo : Old format adapter info to support mimd_t apps  */
static void hinfo_to_cinfo(mraid_hba_info_t *, mcontroller_t *)
/* hinfo_to_cinfo - Convert new format hba info into old format @hinfo : New format, more comprehensive adapter info @cinfo : Old format adapter info to support mimd_t apps  */
static void hinfo_to_cinfo(mraid_hba_info_t *, mcontroller_t *)
{
	if (!hinfo || !cinfo)
		return;
	cinfo->base		= hinfo->baseport;
	cinfo->irq		= hinfo->irq;
	cinfo->numldrv		= hinfo->num_ldrv;
	cinfo->pcibus		= hinfo->pci_bus;
	cinfo->pcidev		= hinfo->pci_slot;
	cinfo->pcifun		= PCI_FUNC(hinfo->pci_dev_fn);
	cinfo->pciid		= hinfo->pci_device_id;
	cinfo->pcivendor	= hinfo->pci_vendor_id;
	cinfo->pcislot		= hinfo->pci_slot;
	cinfo->uid		= hinfo->unique_id;
}