On 14/04/19 20:36, Artyom Tarasenko wrote: >> You can probably remove this change, and replace it by >> uint16_t type = PCI_DEVICE_GET_CLASS(dev)->device_id; > Brilliant! Will do in V2, thainks.
Either that, or you could keep the current structure and make mmio_size the last parameter of lsi_scsi_realize. Paolo